Commit 24d8326b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Merge branch 'erp5' into erp5-z2.13

parents addb11e5 f7ede01a
...@@ -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
......
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