Closed evanj closed 8 years ago
Thanks for reporting this. Gunicorn will restart any workers that exit, so this is a non-critical issue. I'm not sure why this is happening, but it seems it's not unique to this runtime.
Oops totally true; Sorry, I forgot that gthread is actually part of gunicorn itself, so this is probably a bug for the upstream project? I can report it there if you would prefer.
Agreed: this isn't critical, but I'm betting it kills any in-flight requests, since it causes the worker to restart, so not ideal.
I'm not 100% on the worker behavior here but I think that in this case it happens when the remote socket is already gone, so the request that gets killed is already cancelled by the client.
Definitely report it upstream and reference this issue.
Occasionally I've noticed that the workers exit with the following error message. This might be fixed on this version, since I'm running this using the production
python-compat
environment. Feel free to close this if this is already known to be fixed or if this is inappropriate way to report issues. Thanks!