-
Notifications
You must be signed in to change notification settings - Fork 3
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
iRODS disconnect() exceptions in production #1542
Comments
Docker log:
|
It seems to me that upon Looking at Also, if we don't call Could try asking the irods developers as this may well be some bug in iRODS or the client. |
As expected, these were fixed by #909. A part of the problem was switching to the default sync gunicorn worker, which resulted in the old way of cleaning up connections was not working. Closing. |
Occasionally, I've observed exceptions from closing down iRODS connections during
__del__()
. Perhaps we are trying to close the iRODS connection twice.Last I checked, we have to manually close the iRODS connection in python-irodsclient because otherwise these end up hanging open on the iRODS server and eventually cause the server to refuse new conns. Perhaps something has changed in the current client version which I didn't spot.
Oddly enough, I have not observed this when developing, only in production.
This is not a huge issue as the connection is closed as intended, but it does pollute logs.
Dump of exception below, sadly it doesn't provice much of a traceback.
The text was updated successfully, but these errors were encountered: