Topics

increase linux file descriptors

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

This is very important performance tuning for any web more information here

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


– increasing group limits

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

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