LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-04-2003, 04:59 AM   #1
str8edge
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
fork: resource temporarily unavailable ???


For some reason whenever I run almost any command, I am getting the error "fork: resource temporarily unavailable". I can't work out why. When I first log in, I am able to do "ls" on my home dir, but if I do cd /, then ls, I get that error message. Same goes with any other commands. Anyone know what the problem could be?
 
Old 10-04-2003, 05:15 AM   #2
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
this might help..

http://www.linux.org.za/Lists-Archiv.../msg00693.html
 
Old 03-19-2011, 08:25 AM   #3
Urbancorax
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
Solved for Ubuntu 10.10

After using Bastillia under Ubuntu 10.10 I've got hundreds of that message: "fork: resource temporarily unavailable".
I found out that this bloody program adds some limits to system resources
usage. I went to /etc/secutity/limits.conf and deleted:

# prevent core dumps
* hard core 0

#limit user processes per user to 150
* soft nproc 100
* hard nproc 150

------------------------------
Back up!Back up!Back up!Your system.
 
Old 06-21-2011, 09:00 AM   #4
lsattle
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
Smile fixing error: fork: Resource temporarily unavailable

Just had an issue and solved it on red hat 5 getting error: fork: Resource temporarily unavailable

Research we did found this:
1. cron run scripts do not fully logon as the user. So if ulimit commands are issued in /etc/profile they will not get run when cron scripts run.

2. In dealing with user oracle on a machine with many databases, we found the ulimit -u to cause the issue. We had 800 oracle processes running (shows with ps -ef|grep oracle|wc -l), but a bash shell would work ok with ulimit -u 2020 but would fail with ulimit -u 2010.

Turns out process limits must be a misnomer. Must include threads also. This command shows a number closer to our experience of what ulimit -u needed: ps -eLf|grep oracle|egrep -v root|wc -l

So the bottom line is, make sure your ulimit -u is set high enough when dealing with workloads such as oracle.

Last edited by lsattle; 06-21-2011 at 10:09 AM.
 
1 members found this post helpful.
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Speedtouch 330, connect(0.35): Resource temporarily unavailable the_freshmaker Linux - Hardware 0 11-06-2005 12:16 PM
Siocsifflags: Resource Temporarily Unavailable camapa Linux - Networking 0 09-24-2005 07:58 PM
Clonning data, fifo/pipe/tee problem : Resource temporarily unavailable rmarco Linux - General 2 05-05-2005 11:15 AM
cfork failed: Resource temporarily unavailable x2000koh Linux - Networking 0 05-11-2003 10:07 PM
SIOCSIFFLAGS: Resource temporarily unavailable bleef Linux - Networking 2 05-14-2001 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:43 PM.

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