/etc/security/ulimit.set
ulimit -d unlimited ulimit -f unlimited ulimit -l unlimited ulimit -m unlimited ulimit -n 65535 ulimit -u 49152 ulimit -v unlimited
/etc/init.d/apache2
, /etc/init.d/nginx
, /etc/init.d/mysql
#!/bin/bash . /etc/security/ulimit.set