public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Silviu Marin-Caea <silviu@genesys.ro>
To: suse-linux-e@suse.com, linux-kernel@vger.kernel.org
Subject: "almost" a server crash: syslog & keventd involved
Date: Wed, 07 Aug 2002 11:31:57 +0300	[thread overview]
Message-ID: <3D50DAFD.2040704@genesys.ro> (raw)

This morning I found the mail server (SuSE 8 all updates) in a weird 
state.  Mail wasn't working, DNS wasn't working, couldn't ssh into it. 
Luckily, I had a console open from yesterday and was able to ps -Al.

Here's what I've got:

http://www.genesys.ro/ps-l
After killing the cron and pop3
http://www.genesys.ro/ps-f

Also, load average was 2.

Notice the syslogd line in "ps -l", when in weird state

006 D     0   519     1  0  80   0 -   352 flush_ ?        00:03:46 syslogd
Same with ps -f:
root       519  0.0  0.0  1408  312 ?        D    Jul15   3:46 /sbin/syslogd

and in normal state

006 S     0   523     1  0  80   0 -   352 do_sel ?        00:00:01 syslogd

man ps says
PROCESS STATE CODES
        D   uninterruptible sleep (usually IO)

There is this too:
007 Z     0     2     1  0  80   0 -     0 do_exi ?        00:00:00 
keventd <defunct>
with ps -f
root         2  0.0  0.0     0    0 ?        Z    Jul15   0:00 [keventd 
<defunct>]

Couldn't get it out of the weirdness without a reboot (ugh).  Now, after 
the crisis, I think that maybe I should've restarted syslog.  And, 
besides, the deep magic of keventd is beyond me, just yet.

Considering that daily cronjobs run at 0:15, I think the problem was 
there.  This is the last file in /var/log: "Wed Aug 07 00:17:21 2002 
mail-20020807.gz" and this is the last message in /var/log/messages "Aug 
  7 00:17:06 mail named[24944]: lame server"

The conclusion is that syslogd restart after running daily jobs did not 
go well.  What could have caused this?  And what about keventd?

I was planning on going on vacation knowing that I have a reliable linux 
server (it's been running for a couple of months).  Now there is doubt :-(

-- 
Silviu Marin-Caea   Systems Engineer Linux/Unix   http://www.genesys.ro
Phone +40723-267961



                 reply	other threads:[~2002-08-07  8:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D50DAFD.2040704@genesys.ro \
    --to=silviu@genesys.ro \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suse-linux-e@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox