I have a LAMP setup. I just was debugging an application it and setup server status module.
I get server uptime of up to 29 seconds and then it restarts, at which point my application starts acting weird, not processing ajax post requests properly.
I also notice the following in my apache error log about every 30 seconds:
[Tue Sep 16 01:39:21.948791 2014] [mpm_prefork:notice] [pid 21487] AH00169: caught SIGTERM, shutting down
[Tue Sep 16 01:39:22.239043 2014] [mpm_prefork:notice] [pid 21549] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured -- resuming normal operations
[Tue Sep 16 01:39:22.239171 2014] [core:notice] [pid 21549] AH00094: Command line: '/usr/sbin/apache2'
Anyone has any ideas what could cause this? Or if there is any other info necessary.
EDIT:
Syslog has these repeating:
Sep 16 01:42:26 nocmonitor monit[1149]: 'apache' trying to restart
Sep 16 01:42:26 nocmonitor monit[1149]: 'apache' stop: /etc/init.d/apache2
Sep 16 01:42:26 nocmonitor monit[1149]: 'apache' start: /etc/init.d/apache2
Sep 16 01:42:56 nocmonitor monit[1149]: 'apache' failed protocol test [HTTP] at INET[server_url:80/index.html] via TCP -- HTTP error: Server returned status 404#012