nginx worker process exited on signal 7

smaig nginx-forum at forum.nginx.org
Mon Oct 3 15:04:39 UTC 2016


Hello team,

i've followed this
tutorial(https://www.c-rieger.de/nextcloud-installation-guide/) to configure
nginx for nextcloud on a raspberry pi 3 but using Raspbian OS instead of
Ubuntu.

I guess the only specific thing in this installation is that we used
"ngx_cache_purge-2.3" args to compile nginx 1.11.4:

...
COMMON_CONFIGURE_ARGS := \
...
 --with-ld-opt="$(LDFLAGS)" \
 --add-module="$(CURDIR)/debian/modules/ngx_cache_purge-2.3" 

In one case, everything is working using those configuration files :

nginx.conf : http://pastebin.com/KnpAFm3h 
nextcloud.conf.https : http://pastebin.com/ZzDy9puJ

nginx/error.log (debug level):

2016/10/01 11:12:15 [notice] 14944#14944: built by gcc 4.9.2 (Raspbian
4.9.2-10) 
2016/10/01 11:12:15 [notice] 14944#14944: OS: Linux 4.4.21-v7+
2016/10/01 11:12:15 [notice] 14944#14944: getrlimit(RLIMIT_NOFILE):
1024:4096
2016/10/01 11:12:15 [notice] 14945#14945: start worker processes
2016/10/01 11:12:15 [notice] 14945#14945: start worker process 14946
2016/10/01 11:12:15 [notice] 14945#14945: start worker process 14947
2016/10/01 11:12:15 [notice] 14945#14945: start worker process 14948
2016/10/01 11:12:15 [notice] 14945#14945: start worker process 14949
2016/10/01 11:12:15 [notice] 14945#14945: start cache manager process 14950
2016/10/01 11:12:15 [notice] 14945#14945: start cache loader process 14951
2016/10/01 11:12:28 [notice] 14949#14949: *1 "^" matches "/", client:
1.2.3.4, server: mycloud.dyndns.org, request: "GET / HTTP/1.1", host:
"mycloud.dyndns.org"
2016/10/01 11:12:28 [notice] 14949#14949: *1 rewritten data: "/index.php/",
args: "", client: 1.2.3.4, server: mycloud.dyndns.org, request: "GET /
HTTP/1.1", host: "mycloud.dyndns.org"
2016/10/01 11:12:28 [notice] 14949#14949: *1 "^" matches "/apps/files/",
client: 1.2.3.4, server: mycloud.dyndns.org, request: "GET /apps/files/
HTTP/1.1", host: "mycloud.dyndns.org"
2016/10/01 11:12:28 [notice] 14949#14949: *1 rewritten data:
"/index.php/apps/files/", args: "", client: 1.2.3.4, server:
mycloud.dyndns.org, request: "GET /apps/files/ HTTP/1.1", host:
"mycloud.dyndns.org"
2016/10/01 11:12:31 [notice] 14947#14947: *12 "^" matches
"/apps/encryption/ajax/getStatus", client: 1.2.3.4, server:
mycloud.dyndns.org, request: "GET /apps/encryption/ajax/getStatus HTTP/1.1",
host: "mycloud.dyndns.org"
2016/10/01 11:12:31 [notice] 14947#14947: *12 rewritten data:
"/index.php/apps/encryption/ajax/getStatus", args: "", client: 1.2.3.4,
server: mycloud.dyndns.org, request: "GET /apps/encryption/ajax/getStatus
HTTP/1.1", host: "mycloud.dyndns.org"


In another one, it's not working with those configuration files :

nginx.conf : http://pastebin.com/Yyuk7ki2
gateway.conf : http://pastebin.com/P4Kzdt41
nextcloud.conf : http://pastebin.com/6ySjAHGB

nginx/error.log:

2016/10/01 11:13:38 [notice] 14975#14975: built by gcc 4.9.2 (Raspbian
4.9.2-10) 
2016/10/01 11:13:38 [notice] 14975#14975: OS: Linux 4.4.21-v7+
2016/10/01 11:13:38 [notice] 14975#14975: getrlimit(RLIMIT_NOFILE):
1024:4096
2016/10/01 11:13:38 [notice] 14976#14976: start worker processes
2016/10/01 11:13:38 [notice] 14976#14976: start worker process 14977
2016/10/01 11:13:38 [notice] 14976#14976: start worker process 14978
2016/10/01 11:13:38 [notice] 14976#14976: start worker process 14979
2016/10/01 11:13:38 [notice] 14976#14976: start worker process 14980
2016/10/01 11:13:38 [notice] 14976#14976: start cache manager process 14981
2016/10/01 11:13:38 [notice] 14976#14976: start cache loader process 14982
2016/10/01 11:13:48 [notice] 14977#14977: *1 "^" matches "/", client:
1.2.3.4, server: mycloud.dyndns.org, request: "GET / HTTP/1.1", host:
"mycloud.dyndns.org"
2016/10/01 11:13:48 [notice] 14977#14977: *1 rewritten data: "/nextcloud",
args: "", client: 1.2.3.4, server: mycloud.dyndns.org, request: "GET /
HTTP/1.1", host: "mycloud.dyndns.org"
2016/10/01 11:13:48 [notice] 14978#14978: *5 "^" matches "/nextcloud",
client: 127.0.0.1, server: 127.0.0.1, request: "GET /nextcloud HTTP/1.1",
host: "mycloud.dyndns.org"
2016/10/01 11:13:48 [notice] 14978#14978: *5 rewritten data:
"/nextcloud/index.php/nextcloud", args: "", client: 127.0.0.1, server:
127.0.0.1, request: "GET /nextcloud HTTP/1.1", host: "mycloud.dyndns.org"
2016/10/01 11:13:48 [info] 14978#14978: *5 client 127.0.0.1 closed keepalive
connection
2016/10/01 11:13:48 [notice] 14976#14976: signal 17 (SIGCHLD) received
2016/10/01 11:13:48 [alert] 14976#14976: worker process 14977 exited on
signal 7
2016/10/01 11:13:48 [notice] 14976#14976: start worker process 14984
2016/10/01 11:13:48 [notice] 14976#14976: signal 29 (SIGIO) received
2016/10/01 11:13:48 [notice] 14980#14980: *7 "^" matches "/", client:
1.2.3.4, server: mycloud.dyndns.org, request: "GET / HTTP/1.1", host:
"mycloud.dyndns.org"
2016/10/01 11:13:48 [notice] 14980#14980: *7 rewritten data: "/nextcloud",
args: "", client: 1.2.3.4, server: mycloud.dyndns.org, request: "GET /
HTTP/1.1", host: "mycloud.dyndns.org"
2016/10/01 11:13:48 [notice] 14978#14978: *11 "^" matches "/nextcloud",
client: 127.0.0.1, server: 127.0.0.1, request: "GET /nextcloud HTTP/1.1",
host: "mycloud.dyndns.org"
2016/10/01 11:13:48 [notice] 14978#14978: *11 rewritten data:
"/nextcloud/index.php/nextcloud", args: "", client: 127.0.0.1, server:
127.0.0.1, request: "GET /nextcloud HTTP/1.1", host: "mycloud.dyndns.org"
2016/10/01 11:13:48 [info] 14978#14978: *11 client 127.0.0.1 closed
keepalive connection
2016/10/01 11:13:48 [notice] 14976#14976: signal 17 (SIGCHLD) received
2016/10/01 11:13:48 [alert] 14976#14976: worker process 14980 exited on
signal 7
2016/10/01 11:13:48 [notice] 14976#14976: start worker process 14985
2016/10/01 11:13:48 [notice] 14976#14976: signal 29 (SIGIO) received
2016/10/01 11:13:54 [notice] 14978#14978: *13 "^" matches "/", client:
1.2.3.4, server: mycloud.dyndns.org, request: "GET / HTTP/1.1", host:
"mycloud.dyndns.org"
2016/10/01 11:13:54 [notice] 14978#14978: *13 rewritten data: "/nextcloud",
args: "", client: 1.2.3.4, server: mycloud.dyndns.org, request: "GET /
HTTP/1.1", host: "mycloud.dyndns.org"
2016/10/01 11:13:54 [notice] 14984#14984: *17 "^" matches "/nextcloud",
client: 127.0.0.1, server: 127.0.0.1, request: "GET /nextcloud HTTP/1.1",
host: "mycloud.dyndns.org"
2016/10/01 11:13:54 [notice] 14984#14984: *17 rewritten data:
"/nextcloud/index.php/nextcloud", args: "", client: 127.0.0.1, server:
127.0.0.1, request: "GET /nextcloud HTTP/1.1", host: "mycloud.dyndns.org"
2016/10/01 11:13:54 [info] 14984#14984: *17 client 127.0.0.1 closed
keepalive connection
2016/10/01 11:13:54 [notice] 14976#14976: signal 17 (SIGCHLD) received
2016/10/01 11:13:54 [alert] 14976#14976: worker process 14978 exited on
signal 7
2016/10/01 11:13:54 [notice] 14976#14976: start worker process 14986
2016/10/01 11:13:54 [notice] 14976#14976: signal 29 (SIGIO) received

The author of the installation guide i've followed tried to help me on
nextcloud forum and used my configuration file on his own ubuntu server
without any issue... So, question is, why it's not working on my raspbian os
with exactly the same config file ? (except domain)

Regards,

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270043,270043#msg-270043



More information about the nginx mailing list