Centos | ERROR (setreuid failed): Resource temporarily unavailable
Hi all!
Greetings. There's a script failing with the below error: Code:
/home/username/script: line XXX: cannot fork [Resource temporarily unavailable] Code:
May 7 04:12:01 server crond[7814]: (CRON) ERROR (setreuid failed): Resource temporarily unavailable Code:
root@server # uname -a Thanks. |
This is commonly caused by running out of file descriptors.
There are different file descriptor limits. There is the systems total file descriptor limit, what do you get from the command: Code:
sysctl fs.file-nr Also, you can increase the value of "nproc" parameter for user or all user's in /etc/security/limits.d/90-nproc.conf |
All times are GMT -5. The time now is 09:46 AM. |