Answer the question
In order to leave comments, you need to log in
Daemons fall on PHP (Apache + Nginx), what is the reason?
The other day I moved to a VPS server and seemed to have set everything up, but the PHP processes that I run as daemons began to fall by themselves. They fall at the same time at intervals of 1-2 minutes, the last time the process worked from 00:44 to 11:27 and the time is constantly different. Installed IspManager 5, cron checked everything, I suspect that Apache is rebooting.
Here is an excerpt or error.log:
[Thu Mar 24 11:15:42 2016] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Thu Mar 24 11:30:58 2016] [notice] caught SIGTERM, shutting down
[Thu Mar 24 11:31:03 2016] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Thu Mar 24 11:31:50 2016] [notice] caught SIGTERM, shutting down
[Thu Mar 24 11: 31:51 2016] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Thu Mar 24 11:31:52 2016] [notice] caught SIGTERM, shutting down
[Thu Mar 24 11:31:58 2016] [notice] Apache/2.2.22 (Debian) DAV/2 PHP/5.4.45-0+deb7u2 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Mar 24 11:31:59 2016] [notice] SIGHUP received. Attempting to restart
[Thu Mar 24 11:31:59 2016] [notice] Apache/2.2.22 (Debian) DAV/2 PHP/5.4.45-0+deb7u2 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Mar 24 11:32:18 2016] [notice] caught SIGTERM, shutting down
[Thu Mar 24 11:32:19 2016] [notice] Apache/2.2.22 (Debian) DAV/2 PHP/5.4.45- 0+deb7u2 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Thu Mar 24 11:32:38 2016] [notice] Graceful restart requested, doing restart
[Thu Mar 24 11:32:38 2016] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Mar 24 11:32:38 2016] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Mar 24 11:32 :38 2016] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Mar 24 11:32:38 2016] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
Answer the question
In order to leave comments, you need to log in
Here, apparently, logrotate tells Apache it's time to restart and it executes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question