From: Yaroslav <yarikos@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] a side effect of dontkill listen
Date: Wed, 13 Oct 2010 19:12:06 +0300 [thread overview]
Message-ID: <AANLkTimEUJUK3W1QM-hvwg88PVcFx6-TCFvXvYi+9qib@mail.gmail.com> (raw)
Cpurc on sources disables notes for a few processes including
listen(8) – 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
reply other threads:[~2010-10-13 16:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimEUJUK3W1QM-hvwg88PVcFx6-TCFvXvYi+9qib@mail.gmail.com \
--to=yarikos@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).