转自:http://blog.sina.com.cn/s/blog_7b6fc4c90100yn57.html
ulimit: open files: cannot modify limit: Operation not permitted
解决办法:
@H_502_17@vi /etc/security/limits.conf
添加:
@H_502_17@* soft nofile 65535
@H_502_17@* hard nofile 65535
@H_502_17@
优化内核时:
@H_502_17@* soft nproc 65535
*
hard
nproc
65535
# End of file
* - core unlimited
* - nofile 400000
vi /etc/profile
ulimit -c unlimited ulimit -s unlimited