LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Default bash: fork: Resource temporarily unavailable :SSH (https://www.linuxquestions.org/questions/linux-server-73/default-bash-fork-resource-temporarily-unavailable-ssh-4175453902/)

LittleMaster 03-13-2013 07:59 AM

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 .

trickykid 03-13-2013 12:45 PM

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

LittleMaster 03-13-2013 02:23 PM

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

btmiller 03-13-2013 09:32 PM

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.