Re: daemontools-0.76, AIX 5.2: problem restarting service

Jurjen Oskam <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
On Wed, Nov 12, 2003 at 09:42:35AM -0500, Paul Jarc wrote:

> > I know that one supervise process was killed, the one supervising
> > the service /service/enable-printers.
> Then it's possible there may be two instances of the service running.

I did check for that, and only one instance was running.

> > /service/clear-errors: down 4462 seconds, normally up, want up
> > /service/dsmcad: up (pid 766010) 783525 seconds
> > /service/enable-printers: up (pid 360594) 1081 seconds
> > /service/nmbd: up (pid 774230) 776558 seconds
> > /service/qmail-send: up (pid 704574) 775375 seconds
> > /service/qmail-smtpd: down 1198531 seconds
> > /service/smbd: up (pid 823454) 776558 seconds
> > /service/umclient: up (pid 184372) 1198531 seconds
> > /service/qmail-send/log: up (pid 167974) 1198531 seconds
> > /service/qmail-smtpd/log: up (pid 278668) 1198531 seconds
> > /service/umclient/log: up (pid 274568) 1198531 seconds
> 
> You should check /service/*/log too.

I did, look at the last three lines of the provided output. :-)

> > # truss -p 188608
> > _poll(0x00000000, 0, 0)         (sleeping...)
> > Pstatus: process is not stopped
> AFAICT, this shouldn't be possible.  But maybe your kernel exhibits
> bugs after running out of memory.  svc -t might help; rebooting also
> might not be a bad idea.

I've seen this happen once before on this machine. A svc -d / svc -u
fixed the problem. I left it "want up" for now since it's not a critical
service and I'd like to diagnose the problem.

Thanks,
-- 
Jurjen Oskam

PGP Key available at http://www.stupendous.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.