Subject: Re: troubleshoot hung syslogd?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 04/20/2007 18:11:47
On Fri, Apr 20, 2007 at 10:19:31AM -0500, Jeremy C. Reed wrote:
> Can anyone share some ideas on troubleshooting syslogd that is hung?
> 
> It has happened to me yesterday and sometime this morning.
> 
> Yesterday, it couldn't log any messages. I couldn't kill it until I used 
> -SIGKILL.
> 
> Today, noticed it again. Can't log via it.
> 
> top says it is in "ttyout" state. ps says "Is" (so normal).

I would say it can't write to the console. 

> [...]
> 
> This is a Xen instance: NetBSD 3.1 (XEN3_DOMU) i386.

Can you connect to console via 'xm console' ? is it alive ?

A bug that could hang the console has been fixed since 3.1; please also try
a newer kernel from netbsd-3 or netbsd-3-1 (the patch went in both branches)

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--