Resolution:
# cat /proc/sys/fs/file-max
If the setting is lower than 64000, edit the /etc/sysctl.conf file, and reset the fs.file-max parameter:
# vi /etc/sysctl.conf fs.file-max=65536
To update the system with the new entry in sysctl.conf
# sysctl -p
Verify the updated changes in your system
# sysctl -a | grep fs.file-max
Once you have updated the max file deciptor value in a system, you need to update the hard and soft limit per user descriptor value.
To check the limit for File descriptor on user use this command
# su - "username"
# su - deepak
# ulimit -n
To check the hard limit
# ulimit -Hn
To check the soft limit
# ulimit -Sn
Now to change the limit value , follow these instruction as root user
# vi /etc/security/limits.conf
(Add the following entry)
deepak hard nofile 4096
deepak hard nofile 10240
NOTE: Do not set the hard limit for the Directory Server user equal to (or higher than) the maximum number of file descriptors assigned to the system itself in /proc/sys/fs/file-max. If the hard limit is too high and the user users all of those file descriptors, then the entire system runs out of file descriptors.
verfiy the new limits on the user
# su - deepak
# ulimit -Hn
# ulimit -Sn
Follow the below links for more tutorials