LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-04-2007, 03:20 AM   #1
guarriman
Member
 
Registered: Nov 2004
Posts: 101

Rep: Reputation: 15
"bash: fork: Cannot allocate memory" error


Hi.

Working on Fedora Core 2 (kernel 2.6.9), I got this error message when accessing my machine via shell:
------
bash: /bin/egrep: Bad file descriptor
-bash: fork: Cannot allocate memory
-------

What does it mean? How can I fix it?

I'm experiencing some shell problems (some commands won't work), and my memory status is:
Code:
-bash-2.05b# free -m
             total       used       free     shared    buffers     cached
Mem:          8101       8063         37          0        271       4405
-/+ buffers/cache:       3387       4714
Swap:         4094         75       4019
Thank you very much in advance
 
Old 04-05-2007, 12:46 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I'd say it's a problem with egrep and not memory. Try reinstalling or upgrading the package egrep comes with.
 
  


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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
"All of your loopback devices are in use." "could not fork" hedpe Linux - Software 2 05-24-2006 12:39 PM
ndiswrapper troubles: "Failed to allocate DMA coherent memory." Oodini Linux - Wireless Networking 1 01-12-2005 12:20 AM
"PCI: Cannot allocate..." error message at boot FC2 ?!?! eltoro Fedora 1 10-14-2004 04:03 PM
"Undeleting" data using grep, but get "grep: memory exhausted" error SammyK Linux - Software 2 03-13-2004 03:11 PM

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

All times are GMT -5. The time now is 07:58 AM.

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