Open snekiam opened 4 years ago
Interesting addressing of the problem here: https://github.com/benoitc/gunicorn/issues/1885
Very interesting - I wonder if GCP is doing a 'health ping' which is breaking things. I'll check that this Sunday.
@snekiam I am unsure if GCP does health checks by default. I believe it would need to be set up by an administrator && I don't believe we have done that yet.
Describe the bug This is quite the curious bug - its not clear to me why this occurs, but once it does the worker doesn't respond anymore. Perhaps the OsError is related to the transaction being trashed. I'm mostly pointing this issue at the
sqlalchemy.exc.InvalidRequestError:
, but I'm guessing some of the other log content is relevant.To Reproduce Unfortunately...I can only tell you to run this on GCP (or in docker somewhere else, most likely), leave it running for an extended period of time, and ask it questions periodically.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Here's the (possibly) relevant log content: