From owner-cvs-all Mon Oct 2 20:28:49 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BD8B337B502; Mon, 2 Oct 2000 20:28:46 -0700 (PDT) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA25300; Mon, 2 Oct 2000 20:28:46 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <200010030328.UAA25300@freefall.freebsd.org> From: Warner Losh Date: Mon, 2 Oct 2000 20:28:46 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/net/socks5/patches patch-as X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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