🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24936

Re: Q: connectd causing zombies on Solaris 2.5.1

#24936
From: Per Hedeland
Date: Tue, 06 Jan 1998 00:00
20 lines
1421 bytes
In article <68tsuu$g0t$1@news.ro.com> cadams@ro.com (Chris Adams) writes:
>According to Jimbo  <jimbo@soco.de>:
>>I looked at the code and saw a wait3() to catch the process children so
>>am at a loss now where I should look. Has anyone seen this problem and if
>>so do they have a fix ?
>
>I had to modify it under Linux to use "sigaction" instead of "signal" to
>install the signal handler, because, under Linux, "signal" uses old BSD
>style unreliable signals that have to be reinstalled with each signal
>action.  That fixed the zombies for me.

Uh, that should be "SysV style" (or perhaps "v7":-) - BSD fixed signal()
15 years ago. But certainly sigaction() (and waitpid()) is the thing to
use these days, being POSIX *and* usable.

--Per Hedeland
per@erix.ericsson.se

Technical Details
Message-ID: <68u8ku$lgv$1@news.du.etx.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <68tagg$6pk$1@news2.soco.de> <68tsuu$g0t$1@news.ro.com>

Show Full Headers
Complete Article Headers
Message-ID: <68u8ku$lgv$1@news.du.etx.ericsson.se>
Subject: Re: Q: connectd causing zombies on Solaris 2.5.1
Date: Tue, 06 Jan 1998 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <68tagg$6pk$1@news2.soco.de> <68tsuu$g0t$1@news.ro.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 313411301
Organization: Ericsson Telecom, Stockholm, Sweden
NNTP-Posting-User: per
Newsgroups: news.software.nntp