Commit 3f12ef53 authored by Yusei Tahara's avatar Yusei Tahara

Do not set minfds. select() does not support file descriptors greater than 1023.

parent 0e843462
......@@ -101,7 +101,9 @@ def createSupervisordConfiguration(instance_root, watchdog_command=''):
'supervisord_pidfile': os.path.abspath(
os.path.join(instance_root, 'var', 'run', 'supervisord.pid')),
'supervisord_logfile_backups': '10',
'supervisord_minfds': '4096',
# Do not set minfds. select() does not support file descriptors
# greater than 1023.
# 'supervisord_minfds': '4096',
'watchdog_command': watchdog_command,
}
)
......
......@@ -14,7 +14,9 @@ logfile_maxbytes = %(supervisord_logfile_maxbytes)s
nodaemon = %(supervisord_nodaemon)s
pidfile = %(supervisord_pidfile)s
logfile-backups = %(supervisord_logfile_backups)s
minfds = %(supervisord_minfds)s
# Do not set minfds. select() does not support file descriptors
# greater than 1023.
# minfds =
[unix_http_server]
file=%(supervisord_socket)s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment