About this list Date view Thread view Subject view Author view Attachment view

From: Matthew Nuzum (matt_at_followers.net)
Date: Mon 20 Oct 2003 - 15:05:46 BST


I have two physical servers, each has at least one vserver running a RedHat
7.3 distribution that acts as a webserver running the standard RedHat apache
RPMs.

About every other Sunday morning at 4:00 am apache dies with something like
this in the error log:
[Sun Oct 19 04:02:02 2003] [warn] child process 20010 did not exit, sending
another SIGHUP
[Sun Oct 19 04:02:02 2003] [warn] child process 20011 did not exit, sending
another SIGHUP
[Sun Oct 19 04:02:02 2003] [warn] child process 20012 did not exit, sending
another SIGHUP
[Sun Oct 19 04:02:02 2003] [warn] child process 20013 did not exit, sending
another SIGHUP
[Sun Oct 19 04:02:02 2003] [warn] child process 20014 did not exit, sending
another SIGHUP
[Sun Oct 19 04:02:02 2003] [warn] child process 20015 did not exit, sending
another SIGHUP
[Sun Oct 19 04:02:02 2003] [warn] child process 20016 did not exit, sending
another SIGHUP
[Sun Oct 19 04:02:02 2003] [warn] child process 20017 did not exit, sending
another SIGHUP
[Sun Oct 19 04:02:03 2003] [notice] SIGHUP received. Attempting to restart

The only thing I can think of is that the default log rotation is weekly.
Typically, the server load is very low on at 4:00 am, so I don’t know why
apache would die at this time.

For some time I’ve been running one vserver *not as a vserver*, meaning that
instead of using a vserver kernel, I just created an alias on a network card
and then did “chroot /vserver/testserver” and started apache manually. It
ran fine for months that way. Now, I’ve installed a vserver kernel and run
this as a true vserver. All of a sudden, with absolutely NO configuration
changes to the vserver what-so-ever it starts exhibiting this problem.

Here is the configuration for the vserver:
# Description: Test Server

if [ "" = "" ]; then
        PROFILE=prod
fi
case $PROFILE in
prod)
        IPROOT="eth1:192.168.0.10/255.255.255.0"
        IPROOTDEV="eth1"
        S_HOSTNAME=www.obfuscated
        ;;
backup)
        IPROOT=""
        #IPROOTMASK=
        #IPROOTBCAST=
        IPROOTDEV=eth0
        S_HOSTNAME=
        ;;
esac
ONBOOT=yes
S_DOMAINNAME=
S_NICE=
S_FLAGS="lock nproc"
ULIMIT="-H -u 1000"
S_CAPS=""

#!/bin/sh
case $1 in
pre-start)
        ;;
post-start)

        ;;
pre-stop)
        ;;
post-stop)
        ;;
*)
        echo $0 pre-start
        echo $0 pre-stop
        echo $0 post-start
        echo $0 post-stop
        ;;
esac

Any suggestions? I do have to say, I can re-start some of the vservers, but
there are a few that cannot be restarted unless it’s absolutely last-resort.

Host OS is RedHat 8 and Kernel is:
Linux version 2.4.20ctx-17 (root_at_plastic.solucorp.qc.ca) (version gcc 3.2
20020903 (Red Hat Linux 8.0 3.2-7)) #1 dim mar 30 12:32:24 EST 2003

Matthew Nuzum | ISPs: Make $200 - $5,000 per referral by
www.followers.net | recomending Elite CMS to your customers!
matt_at_followers.net | http://www.followers.net/isp

_______________________________________________
Vserver mailing list
Vserver_at_www.solucorp.qc.ca
http://www.solucorp.qc.ca/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 20 Oct 2003 - 15:19:50 BST by hypermail 2.1.3