2 years ago
I am facing problems with my system, every day I need to redeploy because the data is not being updated. I have a screen with the current day's date to generate a report, and whenever I enter this screen the page has the previous day's date, I need to redeploy and then the system updates and returns to normal operation. I'm using Django and Postgree on my system.
4 Replies
2 years ago
I don't think you should bandaid fix this with automated redeploys, I think you should find and fix the underlying root code issue.
2 years ago
But I dont know why it happened. Only errors is it:[2024-06-13 17:14:11 +0000] [7] [CRITICAL] WORKER TIMEOUT (pid:12)
[2024-06-13 17:14:11 +0000] [12] [INFO] Worker exiting (pid: 12)
[2024-06-13 17:14:11 +0000] [7] [ERROR] Worker (pid:12) exited with code 1
[2024-06-13 17:14:11 +0000] [7] [ERROR] Worker (pid:12) exited with code 1.
[2024-06-13 17:14:11 +0000] [13] [INFO] Booting worker with pid: 13
2 years ago
Gunicorn's default timeout is 30 seconds, do you have any incoming requests that would ever take anywhere near 30 seconds?
2 years ago
I guess not, how can i see it?
Status changed to Closed brody • over 1 year ago