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:
alright then unfortunately theres not much we can do for you here as this is an issue with your code and not railway
Jump to solution
14 Replies
Percy
Percy15mo ago
Project ID: fd0bd18d-392d-4b0d-af5c-395356468583
MIGHTY_MIDHUN
MIGHTY_MIDHUN15mo ago
fd0bd18d-392d-4b0d-af5c-395356468583 This issue with slowness comes everytime I update my django project.
Brody
Brody15mo ago
this would be a code issue, share your repo and hopefully we would be able to point out some issues
MIGHTY_MIDHUN
MIGHTY_MIDHUN15mo ago
Its a private repo Brody
Solution
Brody
Brody15mo ago
alright then unfortunately theres not much we can do for you here as this is an issue with your code and not railway
MIGHTY_MIDHUN
MIGHTY_MIDHUN15mo ago
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
Brody
Brody15mo ago
my wild guess would be some slow middlware, gunicorns default worker timeout is 30 seconds
MIGHTY_MIDHUN
MIGHTY_MIDHUN15mo ago
does this have something to do with railway.json
Brody
Brody15mo ago
first off, let me ask you, should a request to your app ever take more than 30 seconds?
MIGHTY_MIDHUN
MIGHTY_MIDHUN15mo ago
not it doesnt. Now the app is perfectly running fine but if i deploy some changes it will be slow for sometime
Brody
Brody15mo ago
does your app do some kind of startup stuff?
MIGHTY_MIDHUN
MIGHTY_MIDHUN15mo ago
no bro its a hospital management system app.
Brody
Brody15mo ago
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
MIGHTY_MIDHUN
MIGHTY_MIDHUN15mo ago
ok
Want results from more Discord servers?
Add your server