getrlimit(RLIMIT_NOFILE), signal 1 (SIGHUP) received from 54,
See original GitHub issueThanks for you great repository. Using it on many servers, works perfectly. But have one issue today on AWS and can’t find solution to solve it. So I really hope to find help here.
docker-compose (used for many servers, only last one with issue):
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- ./config/params.conf:/etc/nginx/conf.d/params.conf:ro
- ./storage/conf:/etc/nginx/conf.d
- ./storage/vhost:/etc/nginx/vhost.d
- ./storage/html:/usr/share/nginx/html
- ./storage/dhparam:/etc/nginx/dhparam
- ./storage/certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
restart: always
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: nginx-proxy-le
volumes_from:
- nginx-proxy
volumes:
- ./storage/certs:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: always
volumes:
conf:
vhost:
html:
dhparam:
certs:
networks:
default:
external:
name: nginx-proxy
docker-compose logs:
docker-compose logs
Attaching to nginx-proxy-le, nginx-proxy_nginx-proxy_1
nginx-proxy-le | Info: running acme-companion version v2.1.0-25-g7f1b754
nginx-proxy-le | Warning: '/etc/acme.sh' does not appear to be a mounted volume.
nginx-proxy-le | Info: Custom Diffie-Hellman group found, generation skipped.
nginx-proxy-le | Reloading nginx proxy (3f60950e83e979aa324d8c674199a963c5e0ecf773a91ae436598c192d766fd7)...
nginx-proxy-le | 2021/09/15 10:55:51 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification ''
nginx-proxy-le | 2021/09/15 10:55:51 [notice] 54#54: signal process started
nginx-proxy-le | 2021/09/15 10:55:51 Generated '/app/letsencrypt_service_data' from 5 containers
nginx-proxy-le | 2021/09/15 10:55:51 Running '/app/signal_le_service'
nginx-proxy-le | 2021/09/15 10:55:51 Watching docker events
nginx-proxy-le | 2021/09/15 10:55:51 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
nginx-proxy-le | [Wed Sep 15 10:55:52 UTC 2021] Create account key ok.
nginx-proxy-le | [Wed Sep 15 10:55:52 UTC 2021] Registering account: https://acme-v02.api.letsencrypt.org/directory
nginx-proxy-le | [Wed Sep 15 10:55:53 UTC 2021] Registered
nginx-proxy-le | [Wed Sep 15 10:55:53 UTC 2021] ACCOUNT_THUMBPRINT='UW5wVKaGcgtEBNQ41OuMtm5eQseuZGNDpY35n76DY0o'
nginx-proxy-le | Reloading nginx proxy (3f60950e83e979aa324d8c674199a963c5e0ecf773a91ae436598c192d766fd7)...
nginx-proxy-le | 2021/09/15 10:55:53 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification ''
nginx-proxy-le | 2021/09/15 10:55:53 [notice] 76#76: signal process started
nginx-proxy-le | Creating/renewal subdomain.mydomain.com certificates... (subdomain.mydomain.com)
nginx-proxy-le | [Wed Sep 15 10:55:54 UTC 2021] Using CA: https://acme-v02.api.letsencrypt.org/directory
nginx-proxy-le | [Wed Sep 15 10:55:54 UTC 2021] Creating domain key
nginx-proxy-le | [Wed Sep 15 10:55:55 UTC 2021] The domain key is here: /etc/acme.sh/me@mymail.com/subdomain.mydomain.com/subdomain.mydomain.com.key
nginx-proxy-le | [Wed Sep 15 10:55:55 UTC 2021] Single domain='subdomain.mydomain.com'
nginx-proxy-le | [Wed Sep 15 10:55:55 UTC 2021] Getting domain auth token for each domain
nginx-proxy-le | [Wed Sep 15 10:55:56 UTC 2021] Getting webroot for domain='subdomain.mydomain.com'
nginx-proxy-le | [Wed Sep 15 10:55:56 UTC 2021] Verifying: subdomain.mydomain.com
nginx-proxy_1 | Custom dhparam.pem file found, generation skipped
nginx-proxy_1 | forego | starting dockergen.1 on port 5000
nginx-proxy_1 | forego | starting nginx.1 on port 5100
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:49 [notice] 26#26: using the "epoll" event method
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:49 [notice] 26#26: nginx/1.21.1
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:49 [notice] 26#26: built by gcc 8.3.0 (Debian 8.3.0-6)
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:49 [notice] 26#26: OS: Linux 5.11.0-1017-aws
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:49 [notice] 26#26: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:49 [notice] 26#26: start worker processes
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:49 [notice] 26#26: start worker process 30
nginx-proxy_1 | dockergen.1 | 2021/09/15 10:55:49 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
nginx-proxy_1 | dockergen.1 | 2021/09/15 10:55:49 Watching docker events
nginx-proxy_1 | dockergen.1 | 2021/09/15 10:55:50 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
nginx-proxy_1 | dockergen.1 | 2021/09/15 10:55:50 Received event start for container 7dcd1c40b0ce
nginx-proxy_1 | dockergen.1 | 2021/09/15 10:55:50 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 26#26: signal 1 (SIGHUP) received from 54, reconfiguring
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 26#26: reconfiguring
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 26#26: using the "epoll" event method
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 26#26: start worker processes
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 26#26: start worker process 55
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 30#30: gracefully shutting down
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 30#30: exiting
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 30#30: exit
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 26#26: signal 17 (SIGCHLD) received from 30
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 26#26: worker process 30 exited with code 0
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:51 [notice] 26#26: signal 29 (SIGIO) received
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 26#26: signal 1 (SIGHUP) received from 76, reconfiguring
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 26#26: reconfiguring
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 26#26: using the "epoll" event method
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 26#26: start worker processes
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 26#26: start worker process 77
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 55#55: gracefully shutting down
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 55#55: exiting
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 55#55: exit
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 26#26: signal 17 (SIGCHLD) received from 55
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 26#26: worker process 55 exited with code 0
nginx-proxy_1 | nginx.1 | 2021/09/15 10:55:53 [notice] 26#26: signal 29 (SIGIO) received
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Cert successfully issued (?) via Docker and Nginx but still ...
Yes, you should probably get a certificate for both names. It looks like this can be done by specifying both the base domain...
Read more >Why running laravel app under jwilder/nginx-proxy I got 503 ...
Running laravel project based on jwilder/nginx-proxy I got error in browser 503 Service Temporarily Unavailable nginx/1.21.1. with url:
Read more >Nginx dies with previously working docker-conmpose config
Hello, I was trying to upgrade my postgres database i shut down docker-compose and switching the db image from 13-alpine to 14-alpine.
Read more >Re: nginx reverse proxy 502 bad gateway error - Nginx Forum
2013/04/13 02:49:21 [notice] 12832#0: getrlimit(RLIMIT_NOFILE): 65535:65535 ... 2013/04/13 02:54:47 [notice] 12833#0: signal 1 (SIGHUP) received, ...
Read more >Nginx Docker Container stops working irregularly - Server Fault
2021/10/25 05:51:42 [notice] 1#1: signal 3 (SIGQUIT) received, ... 05:51:44 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same(?) issue (macOS 12.1, Docker 4.3.1, Compose 1.29.2). Even with the example configuration, the process shuts itself down immediately (seemingly without any error):
Switching to
nginxproxy/nginx-proxy:0.9.1-alpine
(as suggested for the last working version above) does not result in this behaviour. I haven’t tried any versions in-between 0.9.1 and 0.10.0, but could do that if it would be helpful.Same issue here. I’ll try to going back to
0.8.0
.UPDATE:
0.9.1
is working,0.9.2
and0.9.3
not.