Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long time for nginx to load after docker compose up #427

Open
jamiereid opened this issue Dec 12, 2024 · 0 comments
Open

Long time for nginx to load after docker compose up #427

jamiereid opened this issue Dec 12, 2024 · 0 comments

Comments

@jamiereid
Copy link

Using the latest commit (at time of writing) (b7c352f)

It seems to take a long time for nginx to start in the web container after docker compose up.

Jumping into the container and exploring logs and ps aux output shows nginx isn't loaded.
 

root@oncall:/home/oncall/var/run# cat /var/log/nginx/error.log
2024/12/12 00:31:36 [emerg] 365#365: open() "/home/oncall/daemons/nginx.conf,pidfile=/home/oncall/var/run/nginx.pid" failed (2: No such file or directory)
2024/12/12 00:33:02 [emerg] 374#374: open() "/home/oncall/daemons/nginx.conf,pidfile=/home/oncall/var/run/nginx.pid" failed (2: No such file or directory)
2024/12/12 00:33:48 [emerg] 382#382: open() "/home/oncall/daemons/nginx.conf,pidfile=/home/oncall/var/run/nginx.pid" failed (2: No such file or directory)

After some time (10s of minutes) nginx is able to start.

Not sure what other information might be helpful - please let me know if I can get any additional info to help track down the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant