Skip to content

Error: I/O operation on closed file using reload #130

@igorsobreira

Description

@igorsobreira

I've started a sample supervisord, without any processes (also fails if one or more processes):

$ supervisord -c sample.conf -n
Unlinking stale socket /tmp/supervisor.sock
2012-06-19 01:17:18,494 INFO RPC interface 'supervisor' initialized
2012-06-19 01:17:18,494 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2012-06-19 01:17:18,495 INFO supervisord started with pid 31980

and then called reload from supervisorctl:

$ supervisorctl -c sample.conf 
supervisor> reload
Really restart the remote supervisord process y/N? y
Restarted supervisord

I get an error on my supervisord:

Traceback (most recent call last):
  File "/Users/igor.sobreira/projects/supervisor/supervisor/loggers.py", line 81, in emit
    self.stream.write(msg)
ValueError: I/O operation on closed file
Error: I/O operation on closed file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions