Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Apache looping?

Apache looping?

2006-07-12       - By Stephen John Smoogen

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On 7/12/06, Collins, Kevin [MindWorks] <KCollins@(protected)> wrote:
>
>
>
> Hi folks,
>
>         I've discovered this morning that one of my web servers was
> unresponsive. I check with a 'ps -ef' and discovered I had only one httpd
> process (the parent, running as root). So, I restarted Apache with 'service
> httpd restart' and see the same behavior - parent is started with no
> children. The access.log and error.log appear normal.
>

My first look would be to see what has changed in /etc and /var in the
last 8-10 days (or however long ago it was working.) A lock file that
can't be removed for some odd reason etc. It can be something silly
like Asst Admin C forgot to tell Admin A that he put out a new
nsswitch.conf and ldap which was for a test network, and httpd is
waiting to find some UID:GID entry in the ldap server.

If Nothing has changed.. I would first suspect hardware problems
(memory,disk) and then root-kit issues.

I would first do a check of the system logs for any memory issues
being reported or hardware crapping out. Then I would boot with a
livecd and run a memory checker and then a chkrootkit.

If those come up clear, I would go for an strace of httpd being
started up to see where it starts trying to time out. Look in top or
ps to see if the httpd process is in device wait... waiting for
something to become free (an NFS mount lets say).


> Nothing has changed on this server in months and I can confirm via the
> previous access logs that it was responsive a couple days ago.
>
> If I use 'strace' to attach to the running parent process I see this:
>

--
Stephen J Smoogen.
CSIRT/Linux System Administrator

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list