Monday, June 11, 2012

fork: Resource temporarily unavailable

I meet this error when can sudo to oracle to do dba tasks.

fork: Resource temporarily unavailable


1. issue:
there is some limitatoin  hit by user oracle.

2. check memory ( this command should be fine since you run it in root domain)
free -m

3. check disk  ( this command  should be fine sicne it run in root domain)
df -k

4. check user limitation (this command might fail since it run in oracle domain)
ulimit -a

5. root cause:
nfs interfase has issue and failed all 'df' command. Cron job was issued more then 800 times and all hung on 'df'' command. Oracle used up process quota.

6. kill df process
kill -9 process_id
bulk kill
ps -ef | grep oracle | grep df | awd ' {print "kill -9 ' $2;}
run the output.


reference:
http://www.linuxquestions.org/questions/linux-general-1/fork-resource-temporarily-unavailable-100086/
http://www.webhosting.uk.com/forums/linux-dedicated-servers/5770-fork-resource-temporarily-unavailable.html
http://www.thegeekstuff.com/2010/01/awk-introduction-tutorial-7-awk-print-examples/

No comments:

Post a Comment