Topics

increase linux file descriptors

Check Installing CentOS 6.2 on VMware and mounting partitions with noatime posts.

This is very important tuning for any web more information here

# www first http://.com/2012/02/26/adding-new-users-and-admins-to-linux-server/
ulimit -n unlimited - www
#check default  of concurrently open  descriptors 
cat /proc/sys/fs/-max
#set the number to high value depending on server config
echo '1773914' > /proc/sys/fs/-max
echo 'fs.-max=1773914' >> /etc/sysctl.
/sbin/sysctl -w fs.-max=1773914


– increasing group limits

vi /etc/security/limits.conf
#add
@www           -    nofile          1000000
@www           -    nproc          unlimited
@www           -    memlock          unlimited
@www           -    locks          unlimited
@www           -    core          unlimited

@           -    nofile          1000000
@           -    nproc          unlimited
@           -    memlock          unlimited
@           -    locks          unlimited
@           -    core          unlimited
/etc/init.d/network restart