-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json_bourne: resource leak and other issues #5280
Comments
red is handle count |
note: json bourne is currently using the caffi rather than ca backend to cachannel - this was because ca didn;t seem to be available in python 3.8 when it was installed |
https://github.com/ISISComputingGroup/genie_python/pull/221 uses python 3.8 with the full |
@Tom-Willemsen should i copy the files from the genie python PR pipeline build? |
Handle leak still present after moving to 3.8 with native caChannel, lots of connection errors in logs so maybe something is not getting cleaned up on error |
Now deployed and no longer looks to be leaking handles. |
json bourne stopped working #5279 and was consuming a large amount of memory. There were multiple log messages about connection failures, so it looks like connection failures cause at least a memory leak. I forgot to check the handle count, but looking at the new process i believe it is also leaking socket handles as the handle count is increasing. Have attached a process monitor to verify this. Error logs are on the server.
acceptance criteria
perfmon
shows no memory or handle leak in presence of connection failuresThe text was updated successfully, but these errors were encountered: