From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Wed, 13 Oct 2010 19:12:06 +0300 Message-ID: From: Yaroslav To: 9fans@9fans.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [9fans] a side effect of dontkill listen Topicbox-Message-UUID: 63568212-ead6-11e9-9d60-3106f5b1d025 Cpurc on sources disables notes for a few processes including listen(8) =E2=80=93 to save them from being killed when system runs out of memory. This, however, has a side effect: spawned services like sshserve inherit the bits from listen, thus missing notes about rc exits and waiting forever, causing the processes to accumulate. To stop them to accumulate immediately, enable notes for listen by running as hostowner: kill listen | awk -F'>' '{print "chmod u+w", $2}' | rc -v Then remove listen from /bin/cpurc:/^dontkill line. - Yaroslav