Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-13-2013, 07:59 AM   #1
Registered: Jun 2012
Posts: 118
Blog Entries: 1

Rep: Reputation: Disabled
Default bash: fork: Resource temporarily unavailable :SSH

Default bash: fork: Resource temporarily unavailable .When i try to login into server via ssh.Does anyone has how can i fix it .
Old 03-13-2013, 12:45 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
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
Old 03-13-2013, 02:23 PM   #3
Registered: Jun 2012
Posts: 118

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
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


#ps -U database | wc -l

Last edited by LittleMaster; 03-13-2013 at 02:26 PM.
Old 03-13-2013, 09:32 PM   #4
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,289

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fork: resource temporarily unavailable ??? str8edge Linux - General 3 06-21-2011 09:00 AM
C - Resource temporarily unavailable golmschenk Programming 1 03-07-2010 03:28 PM
Resource temporarily unavailable hostmaster Linux - Enterprise 2 02-14-2010 04:41 AM
"fork: Resource temporarily unavailable" for certain user yoachan Linux - Server 6 01-06-2010 08:46 PM
./configure: fork: Resource temporarily unavailable doodlebug Linux - Server 3 08-23-2007 03:34 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration