From: Gerrit Pape <pape@smarden.org>
To: supervision@list.skarnet.org
Subject: Re: runsv spinning on Mac OS X
Date: Tue, 13 Mar 2007 10:46:42 +0000 [thread overview]
Message-ID: <20070313104642.8593.qmail@e85b4663403e4e.315fe32.mid.smarden.org> (raw)
In-Reply-To: <66EFE62F-A7A9-455C-B7BF-C7D568F3B30E@sanityinc.com>
On Tue, Mar 13, 2007 at 11:18:46AM +0100, Steve Purcell wrote:
> I'm putting together a MacPorts portfile for runit, which I'm missing
> after moving to OS X from Linux.
>
> Having finally got it up and running I'm finding that my runsv
> processes are spinning at 100% CPU; there's no supicious log output,
> the supervised programs are running fine, and sv works as expected.
> I suspect a platform-specific issue with runsv, but I'm not in a
> position to diagnose it myself. I have, however, used ktrace to
> collect a system-call log for a spinning runsv, which I've included
> at the bottom of this mail.
>
> My platform is 32-bit Intel, OS X 10.4.8. Any idea what might be
> going wrong?
Yes, poll() is available on that platform, but broken. You can force
runit to use select() instead, e.g.:
$ cd /package/admin/runit
$ cat compile/iopause.h1 >compile/iopause.h
$ package/install
Regards, Gerrit.
next prev parent reply other threads:[~2007-03-13 10:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 10:18 Steve Purcell
2007-03-13 10:46 ` Gerrit Pape [this message]
2007-03-13 13:47 ` Steve Purcell
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=20070313104642.8593.qmail@e85b4663403e4e.315fe32.mid.smarden.org \
--to=pape@smarden.org \
--cc=supervision@list.skarnet.org \
/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).