We can increase the performance of a linux box by tweaking some variables in the configuration files. This is simple , If you are a server administrator you can see the results. Desktop users , Please excuse :)
1.Determining your system’s file handle limit. :
echo 10240 > /proc/sys/fs/file-max
2.Setting the per-processor file handle limit : This will ensure a User can Open this much files once he logged.
[root@server.local]vim /etc/security/limits.conf
And change the following values
* soft nofile 1024
* hard nofile 8192
Make sure that your /etc/pam.d/system-auth file has a line such as the following: session required
/lib/security/pam_limits.so
3.Allowing users to run fewer processes : This will allow users run fewer processes
[root@server.local]vim /etc/security/limits.conf
* soft nproc 4096
* hard nproc 8192
To be continued .....
Jan 20, 2010
Subscribe to:
Posts (Atom)