ispCP - Board - Support
Apache Constantly Restarting - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: Apache Constantly Restarting (/thread-12198.html)



Apache Constantly Restarting - NsOmNiAc - 11-22-2010 09:25 PM

I'm unable to keep Apache from giving me errors. When I force-reload Apache it works again and then it starts giving me the following errors.
[Mon Nov 22 05:13:21 2010] [notice] mod_fcgid: process 32687 going graceful shutdown, sending SIGTERM
[Mon Nov 22 05:13:27 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(32687) exit(communication error), terminated by calling exit(), return code: 0
[Mon Nov 22 05:13:39 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Nov 22 05:14:20 2010] [warn] mod_fcgid: read data timeout in 40 seconds
[Mon Nov 22 05:14:20 2010] [error] [client 64.182.161.138] Premature end of script headers: index.php
[Mon Nov 22 05:14:21 2010] [notice] mod_fcgid: process 32693 going graceful shutdown, sending SIGTERM
[Mon Nov 22 05:14:27 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(32693) exit(communication error), terminated by calling exit(), return code: 0
[Mon Nov 22 05:14:39 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Nov 22 05:17:40 2010] [error] an unknown filter was not added: includes

Can anyone give me an idea on what's going on ?
Thanks in advance !!
N


RE: Apache Constantly Restarting - kilburn - 11-22-2010 09:35 PM

It looks like your index.php is "doing stuff" for more than 40s, that is your fcgid timeout. Hence, the fcgid decides that php hung and restarts it.


RE: Apache Constantly Restarting - NsOmNiAc - 11-22-2010 09:58 PM

Would you by any chance know what the
[Mon Nov 22 05:17:40 2010] [error] an unknown filter was not added: includes
is being caused by. When I get that it's what seems to restart Apache over and over again.
I found this thread I'm not getting the other error now just the one listed above.
http://isp-control.net/forum/thread-3683.html?highlight=php+timeout

Thanks again,
N
To update here is the log before restart of Apache.
[Mon Nov 22 05:33:52 2010] [error] an unknown filter was not added: includes
[Mon Nov 22 05:36:39 2010] [error] an unknown filter was not added: includes
[Mon Nov 22 05:37:05 2010] [error] an unknown filter was not added: includes
[Mon Nov 22 05:39:30 2010] [error] an unknown filter was not added: includes
[Mon Nov 22 05:40:35 2010] [error] an unknown filter was not added: includes
[Mon Nov 22 05:44:08 2010] [error] an unknown filter was not added: includes
[Mon Nov 22 05:48:36 2010] [error] an unknown filter was not added: includes
[Mon Nov 22 05:51:10 2010] [notice] SIGUSR1 received. Doing graceful restart
[Mon Nov 22 05:51:19 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(518) exit(shutting down), get stop signal 9
[Mon Nov 22 05:51:28 2010] [notice] Apache/2.2.9 (Debian) configured -- resuming normal operations
[Mon Nov 22 05:51:39 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
[Mon Nov 22 05:53:49 2010] [error] an unknown filter was not added: includes
[Mon Nov 22 05:57:09 2010] [error] an unknown filter was not added: includes


RE: Apache Constantly Restarting - kilburn - 11-22-2010 11:00 PM

It looks like something in your websites is trying to use "mod_include", while it is not enabled in your setup. Try enabling it with "a2enmod include" and then restarting apache...