Opened 18 years ago

Closed 18 years ago

#10637 closed defect (fixed)

daemontools "supervise" process uses poll and chews 100% cpu

Reported by: m-darwinports@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: daemontools supervise poll cpu Cc:
Port:

Description

The daemontools "supervise" apparently uses poll, which on Mac OS X causes it to chew 100% cpu per process. This quick fix causes the poll support to fail to compile and select is used instead for no heavy cpu load.

Change History (2)

comment:1 Changed 18 years ago by m-darwinports@…

ok, attaching a file failed... here's the patch inlined

--- Portfile~   2006-09-01 08:53:23.000000000 -0400
+++ Portfile    2006-09-01 08:54:21.000000000 -0400
@@ -31,6 +31,7 @@
 pre-build {
        system "cd ${workpath}/${worksrcdir} && echo x >>src/trypoll.c"
 }
+
 post-build     {
        system "cd ${workpath}/daemontools-man && gzip *.8"
 }

comment:2 Changed 18 years ago by yeled@…

Resolution: fixed
Status: newclosed

thanks!

Note: See TracTickets for help on using tickets.