Sander de Ruiter Posted March 6, 2022 Share Posted March 6, 2022 Hi, Tearing my hear out here, I really cannot figure this out. I have a docker image (hosted on Docker Hub), that I have deployed to two separate docker containers in Unraid. NginxProxyManager is the entry point, I have PROD running on port 9999 and dev on 10000. DEV gets a few hits from me and then sits idle. PROD gets 10-20 hits in 5 min or so, and then, without any error, the site will report a 504 Gateway Timeout. There's nothing in the docker log for the PROD container, if I try to go to the console, I can't login (as it's not running/responding). I have a separate service that pings PROD every 5 min (visible in logs), I tried this to make sure the site stays alive, but apparently, it's not this. What would be an appropriate next step to take to try to debug this? is there any log file I can look up that I missed? Quote Link to comment
Squid Posted March 6, 2022 Share Posted March 6, 2022 If there's nothing in the logs for the container (and assuming there's no issues with the server itself), then you'd have to start really looking at the differences between the 2 instances and research on the project itself (probably on GitHub issues) Quote Link to comment
Sander de Ruiter Posted March 6, 2022 Author Share Posted March 6, 2022 It's my own project... Quote Link to comment
Squid Posted March 6, 2022 Share Posted March 6, 2022 Is the server itself still responding? If it is, then its something in the container if there's no problems with the docker image (full, read-only etc) Quote Link to comment
Sander de Ruiter Posted March 6, 2022 Author Share Posted March 6, 2022 If by server you mean unraid server, then yes, no issue there. Could memory be an issue ? Do docker containers have a memory limit assigned? Quote Link to comment
Squid Posted March 6, 2022 Share Posted March 6, 2022 Just now, Sander de Ruiter said: Do docker containers have a memory limit assigned? Not unless you gave them one via the template or docker run command Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.