You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
I try to run healthcheck on FreeBSD 8.0 and nginx 0.7.67. But after nginx start, it consume cpu 100%. I use truss on freebsd, I found this:
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
Can you try using the example config that comes with the module and see if that works? I know people in the past have had trouble getting nginx working with freebsd, but I thought the issues were resolved. I'm currently using CentOS nginx/0.7.67.
I try to run healthcheck on FreeBSD 8.0 and nginx 0.7.67. But after nginx start, it consume cpu 100%. I use truss on freebsd, I found this:
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
sched_yield(0x8005f9070,0x25f0,0x400,0xfffffffffffffffa,0x200,0x7fffffffe660) = 0 (0x0)
and below is debug log:
2010/08/05 09:43:51 [debug] 9804#0: healthcheck: Init zone
2010/08/05 09:43:51 [debug] 9804#0: bind() 0.0.0.0:80 #6
2010/08/05 09:43:51 [debug] 9804#0: counter: 000000080060B080, 1
2010/08/05 09:43:54 [alert] 9787#0: worker process 9788 exited on signal 9
2010/08/05 09:43:55 [debug] 9818#0: healthcheck: Init zone
2010/08/05 09:43:55 [debug] 9818#0: bind() 0.0.0.0:80 #6
2010/08/05 09:43:55 [debug] 9818#0: counter: 000000080060B080, 1
2010/08/05 09:43:55 [debug] 9819#0: healthcheck: Init zone
2010/08/05 09:43:55 [debug] 9819#0: bind() 0.0.0.0:80 #6
2010/08/05 09:43:55 [notice] 9819#0: using the "kqueue" event method
2010/08/05 09:43:55 [debug] 9819#0: counter: 000000080060B080, 1
2010/08/05 09:43:55 [notice] 9819#0: nginx/0.7.67
2010/08/05 09:43:55 [notice] 9819#0: OS: FreeBSD 8.0.3-RELEASE
2010/08/05 09:43:55 [notice] 9819#0: kern.osreldate: 800107, built on 800107
2010/08/05 09:43:55 [notice] 9819#0: hw.ncpu: 16
2010/08/05 09:43:55 [notice] 9819#0: net.inet.tcp.sendspace: 32768
2010/08/05 09:43:55 [notice] 9819#0: kern.ipc.somaxconn: 128
2010/08/05 09:43:55 [notice] 9819#0: getrlimit(RLIMIT_NOFILE): 11095:11095
2010/08/05 09:43:55 [debug] 9820#0: write: 7, 00007FFFFFFFE7B0, 5, 0
2010/08/05 09:43:55 [notice] 9820#0: start worker processes
2010/08/05 09:43:55 [debug] 9820#0: channel 3:7
2010/08/05 09:43:55 [notice] 9820#0: start worker process 9821
2010/08/05 09:43:55 [debug] 9820#0: sigsuspend
2010/08/05 09:43:55 [debug] 9821#0: malloc: 0000000801E54000:16384
2010/08/05 09:43:55 [debug] 9821#0: malloc: 0000000801E58000:16384
2010/08/05 09:43:55 [debug] 9821#0: malloc: 0000000801EAA000:16384
2010/08/05 09:43:55 [debug] 9821#0: malloc: 0000000801EAE000:188416
2010/08/05 09:43:55 [debug] 9821#0: malloc: 0000000801EDC000:114688
2010/08/05 09:43:55 [debug] 9821#0: malloc: 0000000801EF8000:114688
2010/08/05 09:43:55 [debug] 9821#0: kevent set event: 6: ft:-1 fl:0005
2010/08/05 09:43:55 [debug] 9821#0: healthcheck: Adding events to worker process 9821
2010/08/05 09:43:55 [debug] 9821#0: event timer add: 0: 5332:1280972640834
2010/08/05 09:43:55 [debug] 9821#0: event timer add: 0: 1927:1280972637429
2010/08/05 09:43:55 [debug] 9821#0: kevent set event: 7: ft:-1 fl:0005
2010/08/05 09:43:55 [debug] 9821#0: worker cycle
2010/08/05 09:43:55 [debug] 9821#0: kevent timer: 1927, changes: 2
2010/08/05 09:43:57 [debug] 9821#0: kevent events: 0
2010/08/05 09:43:57 [debug] 9821#0: timer delta: 1938
2010/08/05 09:43:57 [debug] 9821#0: event timer del: 0: 1280972637429
2010/08/05 09:44:46 [notice] 9820#0: signal 15 (SIGTERM) received, exiting
I have no idea yet about that
The text was updated successfully, but these errors were encountered: