Every ~4 hours something killing nginx?

x-man

Well-Known Member
Jan 25, 2004
118
1
166
Hi,
on my new server with cpanel (WHM 11.52.1 (build 3)) I have nginx with apache (on some IP`s nginx and on some apache) but every ~4 hours something killing nginx and I can`t find where is problem, I try few nginx versions but all is same, here is nginx debug log when it go down:

Code:
2015/12/04 08:09:45 [debug] 100691#0: *780601 post rewrite phase: 3
2015/12/04 08:09:45 [debug] 100691#0: *780601 generic phase: 4
2015/12/04 08:09:45 [debug] 100691#0: *780601 generic phase: 5
2015/12/04 08:09:45 [debug] 100691#0: *780601 access phase: 6
2015/12/04 08:09:45 [debug] 100691#0: *780601 access phase: 7
2015/12/04 08:09:45 [debug] 100691#0: *780601 post access phase: 8
2015/12/04 08:09:45 [debug] 100691#0: *780601 content phase: 9
2015/12/04 08:09:45 [debug] 100691#0: *780601 content phase: 10
2015/12/04 08:09:45 [debug] 100691#0: *780601 http filename: "/home/mmmm/public_html/logo.gif"
2015/12/04 08:09:45 [debug] 100691#0: *780601 add cleanup: 0000000000A433F8
2015/12/04 08:09:45 [debug] 100691#0: *780601 cached open file: /home/mmmm/public_html/logo.gif, fd:49, c:1, e:0, u:50
2015/12/04 08:09:45 [debug] 100691#0: *780601 http static fd: 49
2015/12/04 08:09:45 [debug] 100691#0: *780601 http set discard body
2015/12/04 08:09:45 [debug] 100691#0: *780601 HTTP/1.1 200 OK
2015/12/04 08:09:45 [debug] 100691#0: *780601 write new buf t:1 f:0 0000000000A435D8, pos 0000000000A435D8, size: 234 file: 0, size: 0
2015/12/04 08:09:45 [debug] 100691#0: *780601 http write filter: l:0 f:0 s:234
2015/12/04 08:09:45 [debug] 100691#0: *780601 http output filter "/logo.gif?"
2015/12/04 08:09:45 [debug] 100691#0: *780601 http copy filter: "/logo.gif?"
2015/12/04 08:09:45 [debug] 100691#0: *780601 malloc: 0000000000A390D0:5126
2015/12/04 08:09:45 [debug] 100691#0: *780601 read: 49, 0000000000A390D0, 5126, 0
2015/12/04 08:09:45 [debug] 100691#0: *780601 write old buf t:1 f:0 0000000000A435D8, pos 0000000000A435D8, size: 234 file: 0, size: 0
2015/12/04 08:09:45 [debug] 100691#0: *780601 write new buf t:1 f:0 0000000000A390D0, pos 0000000000A390D0, size: 5126 file: 0, size: 0
2015/12/04 08:09:45 [debug] 100691#0: *780601 http write filter: l:1 f:0 s:5360
2015/12/04 08:09:45 [debug] 100691#0: *780601 http write filter limit 0
2015/12/04 08:09:45 [debug] 100691#0: *780601 writev: 5360 of 5360
2015/12/04 08:09:45 [debug] 100691#0: *780601 http write filter 0000000000000000
2015/12/04 08:09:45 [debug] 100691#0: *780601 http copy filter: 0 "/logo.gif?"
2015/12/04 08:09:45 [debug] 100691#0: *780601 http finalize request: 0, "/logo.gif?" a:1, c:1
2015/12/04 08:09:45 [debug] 100691#0: *780601 set http keepalive handler
2015/12/04 08:09:45 [debug] 100691#0: *780601 http close request
2015/12/04 08:09:45 [debug] 100691#0: *780601 http log handler
2015/12/04 08:09:45 [debug] 100691#0: *780601 run cleanup: 0000000000A433F8
2015/12/04 08:09:45 [debug] 100691#0: *780601 close cached open file: /home/mmmm/public_html/logo.gif, fd:49, c:0, u:50, 0
2015/12/04 08:09:45 [debug] 100691#0: *780601 free: 0000000000A390D0
2015/12/04 08:09:45 [debug] 100691#0: *780601 free: 0000000000A42180, unused: 5
2015/12/04 08:09:45 [debug] 100691#0: *780601 free: 0000000000A43190, unused: 2480
2015/12/04 08:09:45 [debug] 100691#0: *780601 free: 000000000097C060
2015/12/04 08:09:45 [debug] 100691#0: *780601 hc free: 0000000000000000 0
2015/12/04 08:09:45 [debug] 100691#0: *780601 hc busy: 0000000000000000 0
2015/12/04 08:09:45 [debug] 100691#0: *780601 tcp_nodelay
2015/12/04 08:09:45 [debug] 100691#0: *780601 reusable connection: 1
2015/12/04 08:09:45 [debug] 100691#0: *780601 event timer add: 86: 4000:1449212989792
2015/12/04 08:09:45 [debug] 100691#0: *780601 post event 00007F6CAB710EC8
2015/12/04 08:09:45 [debug] 100691#0: posted event 00007F6CAB710EC8
2015/12/04 08:09:45 [debug] 100691#0: *780601 delete posted event 00007F6CAB710EC8
2015/12/04 08:09:45 [debug] 100691#0: *780601 http keepalive handler
2015/12/04 08:09:45 [debug] 100691#0: *780601 malloc: 000000000097C060:1024
2015/12/04 08:09:45 [debug] 100691#0: *780601 recv: fd:86 -1 of 1024
2015/12/04 08:09:45 [debug] 100691#0: *780601 recv() not ready (11: Resource temporarily unavailable)
2015/12/04 08:09:45 [debug] 100691#0: *780601 free: 000000000097C060
2015/12/04 08:09:45 [debug] 100691#0: worker cycle
2015/12/04 08:09:45 [debug] 100691#0: accept mutex locked
2015/12/04 08:09:45 [debug] 100691#0: epoll timer: 164
2015/12/04 08:09:45 [notice] 100692#0: signal 15 (SIGTERM) received, exiting
2015/12/04 08:09:45 [info] 100692#0: epoll_wait() failed (4: Interrupted system call)
2015/12/04 08:09:45 [debug] 100692#0: timer delta: 65
2015/12/04 08:09:45 [notice] 100692#0: exiting
2015/12/04 08:09:45 [debug] 100692#0: flush files
2015/12/04 08:09:45 [debug] 100692#0: run cleanup: 00000000009F8A80
2015/12/04 08:09:45 [debug] 100692#0: cleanup resolver
2015/12/04 08:09:45 [debug] 100692#0: run cleanup: 000000000098A138
2015/12/04 08:09:45 [debug] 100692#0: open file cache cleanup
2015/12/04 08:09:45 [notice] 100691#0: signal 15 (SIGTERM) received, exiting
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/mmmm/public_html/wp-content/themes/u-design/scripts/admin/uploadify/uploadify.css
2015/12/04 08:09:45 [notice] 100690#0: signal 15 (SIGTERM) received, exiting
2015/12/04 08:09:45 [info] 100691#0: epoll_wait() failed (4: Interrupted system call)
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/mmmm/public_html/piwik.php
2015/12/04 08:09:45 [debug] 100691#0: timer delta: 18
2015/12/04 08:09:45 [debug] 100692#0: close cached open file: /home/mmmm/public_html/piwik.php, fd:-1, c:0, u:1, 1
2015/12/04 08:09:45 [notice] 100691#0: exiting
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/sharedt/public_html/some.php
2015/12/04 08:09:45 [debug] 100691#0: flush files
2015/12/04 08:09:45 [debug] 100690#0: wake up, sigio 0
2015/12/04 08:09:45 [debug] 100692#0: close cached open file: /home/sharedt/public_html/some.php, fd:161, c:0, u:11, 1
2015/12/04 08:09:45 [debug] 100691#0: run cleanup: 00000000009F8A80
2015/12/04 08:09:45 [debug] 100690#0: child: 0 100691 e:0 t:0 d:0 r:1 j:0
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/turboi/public_html/some.php
2015/12/04 08:09:45 [debug] 100691#0: cleanup resolver
2015/12/04 08:09:45 [debug] 100692#0: close cached open file: /home/turboi/public_html/some.php, fd:127, c:0, u:4, 1
2015/12/04 08:09:45 [debug] 100690#0: child: 1 100692 e:0 t:0 d:0 r:1 j:0
2015/12/04 08:09:45 [debug] 100691#0: run cleanup: 000000000098A138
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/turboi/public_html/i/some.php
2015/12/04 08:09:45 [debug] 100690#0: termination cycle: 50
2015/12/04 08:09:45 [debug] 100691#0: open file cache cleanup
2015/12/04 08:09:45 [debug] 100692#0: close cached open file: /home/turboi/public_html/i/some.php, fd:-1, c:0, u:1, 1
2015/12/04 08:09:45 [debug] 100691#0: delete cached open file: /home/mmmm/public_html/some.php
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/turboi/public_html/some.php
2015/12/04 08:09:45 [debug] 100691#0: close cached open file: /home/mmmm/public_html/some.php, fd:140, c:0, u:4, 1
2015/12/04 08:09:45 [debug] 100690#0: sigsuspend
2015/12/04 08:09:45 [debug] 100692#0: close cached open file: /home/turboi/public_html/some.php, fd:135, c:0, u:214, 1
2015/12/04 08:09:45 [debug] 100691#0: delete cached open file: /home/mmmm/public_html/images/vid.png
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/turboi/public_html/some.php
2015/12/04 08:09:45 [debug] 100691#0: close cached open file: /home/mmmm/public_html/images/vid.png, fd:119, c:0, u:2, 1
2015/12/04 08:09:45 [debug] 100692#0: close cached open file: /home/turboi/public_html/some.php, fd:79, c:0, u:223, 1
2015/12/04 08:09:45 [debug] 100691#0: delete cached open file: /home/mmmm/public_html/images/default.png
2015/12/04 08:09:45 [debug] 100691#0: close cached open file: /home/mmmm/public_html/images/default.png, fd:-1, c:0, u:1, 1
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/mmmm/public_html/some.php
2015/12/04 08:09:45 [debug] 100691#0: delete cached open file: /home/mmmm/public_html/piwik.php
2015/12/04 08:09:45 [debug] 100692#0: close cached open file: /home/mmmm/public_html/some.php, fd:55, c:0, u:111, 1
2015/12/04 08:09:45 [debug] 100691#0: close cached open file: /home/mmmm/public_html/piwik.php, fd:-1, c:0, u:1, 1
2015/12/04 08:09:45 [debug] 100692#0: delete cached open file: /home/mmmm/public_html/search.php
2015/12/04 08:09:45 [debug] 100691#0: delete cached open file: /home/mmmm/public_html/wp-admin/admin-ajax.php
Somebody know where can be problem?

Thanks.
 
Last edited by a moderator:

x-man

Well-Known Member
Jan 25, 2004
118
1
166
I still can`t find what killing nginx but this is very big problem for me, this is not my first nginx+cpanel server but this is first with this problem...also, after cpanel update (ucpc) cpanel kill nginx...
 

x-man

Well-Known Member
Jan 25, 2004
118
1
166
I`m 100% sure that problem is not related to nginx because I try few versions and result is same and also I using nginx on other servers and no problems, no problems with crashing on very busy servers...

Last night I try to disable cpanellogd and after that I don`t have problems with nginx but why? On second server I have all same (hardw, OS, cPanel) but no problems, cpanellogd working and nginx working fine...
For me look like cpanellogd sending some command to apache and also to nginx, same thing I have after I run upcp when also cpanel kill nginx...
Only what is not same that is WHM build, on server with problems I have WHM 11.52.1 (build 3) and on good server I have WHM 11.52.1 (build 2), do you have some big changes in build 3?