harlanlw
Hello,

I'm having an issue where my PLC server is in a constant loop of creating a thread and then closing it.  I've found a topic similar to this, but it was from 2017 and I don't know what version that was.  Here's the message:

 127.0.0.1 - - [04/Feb/2020 21:11:31] "GET /runtime_logs HTTP/1.1" 200 -
Interactive Server: client ID: 9 has closed the connection
Terminating interactive server connections
Interactive Server: Client accepted! Creating thread for the new client ID: 9...
Interactive Server: waiting for new client...
Interactive Server: Thread created for client ID: 9
Interactive Server: client ID: 9 has closed the connection
Terminating interactive server connections
Interactive Server: Client accepted! Creating thread for the new client ID: 9...
Interactive Server: waiting for new client...
Interactive Server: Thread created for client ID: 9
Issued runtime_logs() command

Can you help me trouble shoot this, please?  This happens no matter what program I run in PLC, including the blank program.
Quote 0 0
thiagoralves
This is not a memory leak. This is expected and normal behavior. Those threads are open every time the webserver pulls information (like logs, current state, etc) from the runtime. If you sit on the Dashboard page, these messages will constantly appear. If you move to a more static page like Programs, or Settings for example, the messages will stop.
Quote 1 0