You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the CherryPy server, if you repeatedly refresh a page with websockets, then iterate the gc module's list of objects for SSLSockets, you might find an extra object for every connection.
These are collected at the next "full" sweep, but if that does not happen, eventually an OSError will occur from too many open files(On Linux).
As a workaround, I patched my copy of cheroot to do GC when accept() raises OSError.
I have heard that in the past inspecting stack frames can do odd things on very old version of python. I wonder some remnant of that bug could be related to this?
The text was updated successfully, but these errors were encountered:
With the CherryPy server, if you repeatedly refresh a page with websockets, then iterate the gc module's list of objects for SSLSockets, you might find an extra object for every connection.
These are collected at the next "full" sweep, but if that does not happen, eventually an OSError will occur from too many open files(On Linux).
As a workaround, I patched my copy of cheroot to do GC when accept() raises OSError.
I have heard that in the past inspecting stack frames can do odd things on very old version of python. I wonder some remnant of that bug could be related to this?
The text was updated successfully, but these errors were encountered: