R
Railway•11mo ago
TheJoker

[CRITICAL] WORKER TIMEOUT (pid:13) error

My app builds OK and deploys but I notice static files in Console/Network are pending, then once they load in my Railway Deploy logs I get
[12] [CRITICAL] WORKER TIMEOUT (pid:13)

[13] [INFO] Worker exiting (pid: 13)

[12] [ERROR] Worker (pid:13) exited with code 1

[12] [ERROR] Worker (pid:13) exited with code 1.

[14] [INFO] Booting worker with pid: 14
[12] [CRITICAL] WORKER TIMEOUT (pid:13)

[13] [INFO] Worker exiting (pid: 13)

[12] [ERROR] Worker (pid:13) exited with code 1

[12] [ERROR] Worker (pid:13) exited with code 1.

[14] [INFO] Booting worker with pid: 14
Is it timing out whilst trying to load my static files? The site is also incredible slow to load betwenn requests. Site is being buit via this railway.json, i've tried adding timeout command to gunicorn as I read that may solve the problem but not 100% of syntax within a json file
{
"$schema": "https://schema.up.railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"nixpacksPlan": {
"providers": ["python"]
}
},
"deploy": {
"startCommand": "python manage.py migrate && python manage.py collectstatic --no-input && gunicorn mysite.wsgi"
}
}
{
"$schema": "https://schema.up.railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"nixpacksPlan": {
"providers": ["python"]
}
},
"deploy": {
"startCommand": "python manage.py migrate && python manage.py collectstatic --no-input && gunicorn mysite.wsgi"
}
}
7 Replies
Percy
Percy•11mo ago
Project ID: 175edb31-fcdb-4550-a1d8-3f56f4ed6301
TheJoker
TheJoker•11mo ago
Project id - 175edb31-fcdb-4550-a1d8-3f56f4ed6301
Brody
Brody•11mo ago
could be related #🚨|incidents
TheJoker
TheJoker•11mo ago
I'll try again in morning Still the issue, is there a way to add flags (increase timeout, add —debug) to gunicorn command in the railway.json to help debug this?
Brody
Brody•11mo ago
yeah just add it --timeout 600
TheJoker
TheJoker•11mo ago
adding --threads 3 seems to have solved this.
Brody
Brody•11mo ago
awesome
Want results from more Discord servers?
Add your server