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

I configured a service to run through daemontools, but while stopping svscan, I am getting messages like this:

[root@tcp-handler ssc_ios]# /etc/init.d/svscan stop
Stopping djb services: svscan services  logging .
[root@tcp-handler ssc_ios]# Traceback (most recent call last):
File "/usr/lib64/python2.6/logging/", line 800, in emit
File "/usr/lib64/python2.6/logging/", line 762, in flush
IOError: [Errno 32] Broken pipe

Can someone tell me how to solve it.

share|improve this question

One of your processes is a Python program that doesn't handle stdout going away. Normally you shouldn't be stopping svscan though.

You should instead be interacting with daemontools through svc. svc -d /service/foo will stop the foo process. svc -d /service/foo/log will stop its logging. See for more options.

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.