From: Steve Purcell <runit-list@sanityinc.com>
To: supervision@list.skarnet.org
Subject: runsv spinning on Mac OS X
Date: Tue, 13 Mar 2007 11:18:46 +0100 [thread overview]
Message-ID: <66EFE62F-A7A9-455C-B7BF-C7D568F3B30E@sanityinc.com> (raw)
Hi all,
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?
-Steve
14324 runsv CALL poll(0xbffff930,0x2,0xf4254)
14324 runsv RET poll 1
14324 runsv CALL sigprocmask(0x1,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL sigprocmask(0x1,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL read(0xb,0xbffff96f,0x1)
14324 runsv RET read -1 errno 35 Resource temporarily unavailable
14324 runsv CALL wait4(0xffffffff,0xbffff968,0x1,0)
14324 runsv RET wait4 0
14324 runsv CALL read(0xf,0xbffff96f,0x1)
14324 runsv RET read -1 errno 35 Resource temporarily unavailable
14324 runsv CALL sigprocmask(0x2,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL sigprocmask(0x2,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL poll(0xbffff930,0x2,0xf4254)
14324 runsv RET poll 1
14324 runsv CALL sigprocmask(0x1,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL sigprocmask(0x1,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL read(0xb,0xbffff96f,0x1)
14324 runsv RET read -1 errno 35 Resource temporarily unavailable
14324 runsv CALL wait4(0xffffffff,0xbffff968,0x1,0)
14324 runsv RET wait4 0
14324 runsv CALL read(0xf,0xbffff96f,0x1)
14324 runsv RET read -1 errno 35 Resource temporarily unavailable
14324 runsv CALL sigprocmask(0x2,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL sigprocmask(0x2,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL poll(0xbffff930,0x2,0xf4254)
14324 runsv RET poll 1
14324 runsv CALL sigprocmask(0x1,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL sigprocmask(0x1,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL read(0xb,0xbffff96f,0x1)
14324 runsv RET read -1 errno 35 Resource temporarily unavailable
14324 runsv CALL wait4(0xffffffff,0xbffff968,0x1,0)
14324 runsv RET wait4 0
14324 runsv CALL read(0xf,0xbffff96f,0x1)
14324 runsv RET read -1 errno 35 Resource temporarily unavailable
14324 runsv CALL sigprocmask(0x2,0xbffff78c,0)
14324 runsv RET sigprocmask 0
14324 runsv CALL sigprocmask(0x2,0xbffff78c,0)
14324 runsv RET sigprocmask 0
next reply other threads:[~2007-03-13 10:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 10:18 Steve Purcell [this message]
2007-03-13 10:46 ` Gerrit Pape
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=66EFE62F-A7A9-455C-B7BF-C7D568F3B30E@sanityinc.com \
--to=runit-list@sanityinc.com \
--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).