Railway too slow
I have an issue with my railwat app. The app is too slow once update my github project. Making it almost unusable. I keep getting logs like this
[2023-08-23 09:38:55 +0000] [13] [ERROR] Worker (pid:29) exited with code 1
[2023-08-23 09:38:55 +0000] [13] [ERROR] Worker (pid:29) exited with code 1.
[2023-08-23 09:38:55 +0000] [30] [INFO] Booting worker with pid: 30
Solution:Jump to solution
alright then unfortunately theres not much we can do for you here as this is an issue with your code and not railway
14 Replies
Project ID:
fd0bd18d-392d-4b0d-af5c-395356468583
fd0bd18d-392d-4b0d-af5c-395356468583
This issue with slowness comes everytime I update my django project.
this would be a code issue, share your repo and hopefully we would be able to point out some issues
Its a private repo Brody
Solution
alright then unfortunately theres not much we can do for you here as this is an issue with your code and not railway
Worker (pid:29) exited with code 1
do you know what this error is ?
I dont know why. but this slowness comes only after I update the my django project. Now the application running good since i updated the code yesterday.
But if I update my project now it will become slow for sometime and wont let me do something such as even login
my wild guess would be some slow middlware, gunicorns default worker timeout is 30 seconds
does this have something to do with railway.json
first off, let me ask you, should a request to your app ever take more than 30 seconds?
not it doesnt. Now the app is perfectly running fine
but if i deploy some changes it will be slow for sometime
does your app do some kind of startup stuff?
no bro its a hospital management system app.
im sorry but this wouldnt be an issue with the railway platform, it would be an issue with your code
and without seeing the code, any guess or assumption i could make would be a complete shot in the dark
ok