🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24951

Re: Q: connectd causing zombies on Solaris 2.5.1

#24951
From: Chris Adams
Date: Wed, 07 Jan 1998 00:00
30 lines
2052 bytes
According to Per Hedeland <per@erix.ericsson.se>:
>In article <68tsuu$g0t$1@news.ro.com> cadams@ro.com (Chris Adams) writes:
>>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.

Yeah, I got that backwards.  Sorry about that.

Someone emailed me asking for my patch for this.  I tried to email them
back, but the mail bounced (and I didn't save the original message to
inspect for a better address).  I can't find my changes right now.
However, I do know this: I did the minimum possible, reading the
sigaction man page an Stevens' "Advanced Programming in the UNIX
Environment" to get connectd converted.  My patches also did some other
stuff (bind only to a given address, include the daemon function, and
another thing or I can't remember now).  It is on my news server
somewhere; I just can't put my hands on it right now (and haven't had
time to dig).
-- 
Chris Adams - cadams@ro.com
System Administrator - Renaissance Internet Services
I don't speak for anybody but myself - that's enough trouble.

Technical Details
Message-ID: <68v22h$gbu$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
References: <68tagg$6pk$1@news2.soco.de> <68tsuu$g0t$1@news.ro.com> <68u8ku$lgv$1@news.du.etx.ericsson.se>

Show Full Headers
Complete Article Headers
Message-ID: <68v22h$gbu$1@news.ro.com>
Subject: Re: Q: connectd causing zombies on Solaris 2.5.1
Date: Wed, 07 Jan 1998 00:00:00 +0000
From: cadams@ro.com (Chris Adams)
References: <68tagg$6pk$1@news2.soco.de> <68tsuu$g0t$1@news.ro.com> <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
X-Deja-AN: 313524774
Organization: Renaissance Internet Services
Newsgroups: news.software.nntp