supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* runsv spinning on Mac OS X
@ 2007-03-13 10:18 Steve Purcell
  2007-03-13 10:46 ` Gerrit Pape
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Purcell @ 2007-03-13 10:18 UTC (permalink / raw)
  To: supervision

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-13 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-13 10:18 runsv spinning on Mac OS X Steve Purcell
2007-03-13 10:46 ` Gerrit Pape
2007-03-13 13:47   ` Steve Purcell

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).