All-
I have had a sudden problem with apache2, and am not sure why
The problem is, after it runs awhile, the top apache process goes away, and all the others show 1 for the ppid. When this happens i cannot restart it, i have to kill each process then restart it. if i do not do this the server crashes.
below is when it is running correctly, from a ps -efH
Code:
root 29995 1 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
root 30002 29995 0 18:46 ? 00:00:00 /usr/bin/perl /usr/sbin/advxsplitlogfile
apache 30003 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30004 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30005 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30006 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30007 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30008 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30009 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30010 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30011 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30012 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30013 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30014 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30015 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30016 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30017 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30018 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30019 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30020 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30021 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_A
apache 30022 29995 0 18:46 ? 00:00:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_S
And this is after it starts messing up
Code:
root 10781 1 0 09:06 ? 00:00:00 /usr/bin/perl /usr/sbin/advxsplitlogfile
apache 10782 1 0 09:06 ? 00:00:21 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10783 1 0 09:06 ? 00:00:21 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10785 1 0 09:06 ? 00:00:21 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10786 1 0 09:06 ? 00:00:24 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10789 1 0 09:06 ? 00:00:25 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10791 1 0 09:06 ? 00:00:27 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10792 1 0 09:06 ? 00:00:30 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10794 1 0 09:06 ? 00:00:21 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10795 1 0 09:06 ? 00:00:19 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10796 1 0 09:06 ? 00:00:19 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10797 1 0 09:06 ? 00:00:23 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10798 1 0 09:06 ? 00:00:21 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10799 1 0 09:06 ? 00:00:25 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10800 1 0 09:06 ? 00:00:26 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PERL -DHAVE_PHP5 -DHAVE_SSL -DHAVE_ACCESS -DHAVE_ACT
apache 10801 1 0 09:06 ? 00:00:20 httpd2 -f /etc/httpd/conf/ht
All the ppid have gone to "1", anyone have any ideas what causes this or how it can be corrected?