Hi,
I think this problem arrise may be you exceeded the maximum number of filed to be opened,
you just increase the limit and execute.
Code:
ulimit -u unlimited
You must exit and re-login from your terminal for the change to take effect.
Quote:
[root@ANISH] /# ulimit -a
core file size (blocks) 1000000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max memory size (kbytes) unlimited
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes unlimited (1)
pipe size (512 bytes) 8
open files 1024
virtual memory (kbytes) 2105343
|
Make sure that when you type as root the command ulimit -a on your terminal, it shows unlimited next to max user processes.
You may also do ulimit -u unlimited at the command prompt instead of adding it to the /root/.bashrc file.
To increases the number of open files to 60000 for the root account do the following: Edit the .bashrc file vi /root/.bashrc and add the following line:
You must exit from your terminal and re-login for the change to take effect.
Quote:
[root@ANISH] /# ulimit -a
core file size (blocks) 1000000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max memory size (kbytes) unlimited
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes unlimited
pipe size (512 bytes) 8
open files 60000 (1)
virtual memory (kbytes) 2105343
|
Make sure that when you type as root the command ulimit -a on your terminal, it shows 60000 next to open files.