Date: Mon, 2 Oct 2000 20:28:46 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/net/socks5/patches patch-as Message-ID: <200010030328.UAA25300@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2000/10/02 20:28:46 PDT
Added files:
net/socks5/patches patch-as
Log:
Kludge rearming the signal for SIGCHLD so that we can harvest the
zombies on the system. Without this change, the socks5 daemon would
work great for a short period of time, then hang because no more
children could be created. It appears from debugging that this is
because gravedigger was only called once. I reestablish the signal
handler in gravedigger to force SIGCHLD to be unmasked.
A more proper fix might be to fix Signal to have multi-shot signals,
or to see what might be broken with the signal masks. Since I'm in a
hurry and this port's daemon is broken without this, I commit this
kludge knowing that it will live approximately forever, less three
days.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010030328.UAA25300>
