-
Notifications
You must be signed in to change notification settings - Fork 14
Home
du edited this page Dec 2, 2016
·
2 revisions
Welcome to the hsync wiki!
check by cmd ulimit -a
,the result may by like this:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
the open files
's value is too small,you should change it bigger.
mac:
sudo sysctl -w kern.maxfiles=65536
sudo sysctl -w kern.maxfilesperproc=65536
linux:
edit /etc/security/limits.conf
,add
* soft nofile 65536
* hard nofile 65536