CRITICAL WORKER TIMEOUT ISSUE
Anonymous
TRIALOP

3 years ago

I'm getting critical Worker Timeout in Railway project

31 Replies

3 years ago

screenshot please


Anonymous
TRIALOP

3 years ago

One second please


Anonymous
TRIALOP

3 years ago

here's the screenshot

1088696153748557800


3 years ago

is this django?


Anonymous
TRIALOP

3 years ago

this happens when i try upload a couple of files AWS S3
and i'm facing this issue only with railway


Anonymous
TRIALOP

3 years ago

yes.


3 years ago

send me your start command


Anonymous
TRIALOP

3 years ago

python manage.py runserver


3 years ago

no the railway start command


3 years ago

do you have a procfile?


Anonymous
TRIALOP

3 years ago

python manage.py migrate && python manage.py collectstatic --noinput && gunicorn guide_project.wsgi


Anonymous
TRIALOP

3 years ago

Procfile


Anonymous
TRIALOP

3 years ago

guide_project is the main project which has settings.py


3 years ago

web: python manage.py migrate && python manage.py collectstatic --noinput && gunicorn guide_project.wsgi --timeout 0


3 years ago

try that as your procfile


3 years ago

the --timeout 0 should disable timeouts


3 years ago

at least thats what the gunicorn docs say


Anonymous
TRIALOP

3 years ago

yes one second doing


Anonymous
TRIALOP

3 years ago

deploy in progress


Anonymous
TRIALOP

3 years ago

how can I increase the workers working on a req?


3 years ago

did it not work?


Anonymous
TRIALOP

3 years ago

atleast the timeout issue is resolved but, still taking alot of time to send request and is still in loading process


3 years ago

that would be a code issue then


Anonymous
TRIALOP

3 years ago

let me try and come back
Cuz, it's working fine on localhost and the request was pretty fast as well


3 years ago

well its not like railway has slower internet than you lol


Anonymous
TRIALOP

3 years ago

Yea fair enough 😂


3 years ago

good luck!


Anonymous
TRIALOP

3 years ago

Hi, I figured it out.!


Anonymous
TRIALOP

3 years ago

I want to know what is the maximum RAM allocated in developer plan of railway?


midhun98
HOBBY

2 years ago

Hi Hari how did u fix this issue. Im also facing a simlar issue with my Django Project


2 years ago

8GB is the maximum RAM allocated for Hobby plan users


Loading...