Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
19
Merge Requests
19
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
3f12ef53
Commit
3f12ef53
authored
Jun 12, 2018
by
Yusei Tahara
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not set minfds. select() does not support file descriptors greater than 1023.
parent
0e843462
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
slapos/grid/svcbackend.py
slapos/grid/svcbackend.py
+3
-1
slapos/grid/templates/supervisord.conf.in
slapos/grid/templates/supervisord.conf.in
+3
-1
No files found.
slapos/grid/svcbackend.py
View file @
3f12ef53
...
...
@@ -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
,
}
)
...
...
slapos/grid/templates/supervisord.conf.in
View file @
3f12ef53
...
...
@@ -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
...
...
Thomas Gambier
🚴🏼
@tomo
mentioned in merge request
!234 (closed)
·
Jun 19, 2020
mentioned in merge request
!234 (closed)
mentioned in merge request !234
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment