Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We've got haproxy running in non-daemon mode, with DJB's supervise (a.k.a. daemontools) script keeping an eye on it.

However, as our site traffic has grown, its single thread has reached 100% CPU. We'd like to start using haproxy's nbproc option, to get it using multiple cores. However, this requires haproxy to be in "daemon mode".

Is there a way to make haproxy work under supervise while its daemon mode is on? If so, will it properly respond to "svc -d" commands?

And if there is no way, have you guys found it to be reliable enough that we won't need supervise anymore?

share|improve this question

While I haven't tested this, I believe you can using the fghack program. I'd be curious to know your results or what the eventual solution to this problem was.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.