Default bash: fork: Resource temporarily unavailable :SSH
Hi,
Default bash: fork: Resource temporarily unavailable .When i try to login into server via ssh.Does anyone has how can i fix it . |
Your user is limited. Login as root, check the processes being run or owned by that user, kill some no longer necessary. Set this user up with unlimited if you have to. Keyword: ulimit
|
I could find user database is flooding the server which high weight process.Database user have more than 32500 running at a min.Server become unresponse even i could not able to login server via console/ssh.So overcome,I had made the below change .But still issue persist
# vi /etc/security/limits.conf Database hard fsize 1024000 #ulimit unlimited #ps -U database | wc -l 32500 |
You need to limit number of processors (nproc), not file size (fsize). All you've done is told the database that it ca't open any files greater than 1 GB in size. This does not prevent the application from filling up the process table.
What database software is this? It sounds either horribly buggy or horribly misconfigured. |
All times are GMT -5. The time now is 09:44 AM. |