Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
slapos
Commits
24d8326b
Commit
24d8326b
authored
May 30, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'erp5' into erp5-z2.13
parents
addb11e5
f7ede01a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
slapos/recipe/generic_mysql/mysql.py
slapos/recipe/generic_mysql/mysql.py
+2
-3
No files found.
slapos/recipe/generic_mysql/mysql.py
View file @
24d8326b
...
@@ -36,10 +36,9 @@ def runMysql(args):
...
@@ -36,10 +36,9 @@ def runMysql(args):
sys
.
stderr
.
flush
()
sys
.
stderr
.
flush
()
# try to increase the maximum number of open file descriptors.
# try to increase the maximum number of open file descriptors.
# it seems that mysqld requires (max_connections + 810) file descriptors.
# it seems that mysqld requires (max_connections + 810) file descriptors.
# to make it possible, you need to set
soft/
hard limit of nofile in
# to make it possible, you need to set
the
hard limit of nofile in
# /etc/security/limits.conf like the following :
# /etc/security/limits.conf like the following :
# @slapsoft soft nofile 2048
# @slapsoft hard nofile 2048
# @slapsoft hard nofile 4096
try
:
try
:
import
resource
import
resource
required_nofile
=
2048
# XXX hardcoded value more than 1000 + 810
required_nofile
=
2048
# XXX hardcoded value more than 1000 + 810
...
...
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