LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-06-2011, 10:04 AM   #1
Dreft
LQ Newbie
 
Registered: Oct 2009
Posts: 15

Rep: Reputation: 0
Memory allocation problem with apache.


While Apache is off, then everything is OK, but if I start apache server after some time I get messages "Unable to fork: Cannot allocate memory" when trying to do some commands with ssh(dir,rm,top and so on).

Does anyone know how to fix this problem?
P.S. There is free RAM when I get that message.
 
Old 02-07-2011, 02:57 AM   #2
fortez
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 0
Dreft
i think that for a correct troubleshooting ypu have to post both apache and server configuration
 
Old 02-07-2011, 08:16 AM   #3
jcalzare
Member
 
Registered: Aug 2009
Location: Chicago
Distribution: CentOS
Posts: 114

Rep: Reputation: 34
It looks like you have your ulimits set too low, or you have resource limits set too high in httpd.conf. You will need to adjust these resource limits by making changes to ulimit in the httpd init script, or in /etc/security/limits.conf (on redhat style systems). You can type 'ulimit -a' to see what the current limits are set to. I hope this helps.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a problem with the memory allocation??? vigneshinbox Programming 3 04-14-2009 10:44 AM
memory allocation problem shivang Linux - Newbie 11 08-18-2008 03:02 PM
kernel memory page allocation problem erik_wout_ew2 Linux - Kernel 0 10-31-2006 10:27 AM
C programming: memory allocation / pointer problem I think sterrenkijker Programming 2 04-17-2005 03:07 AM
Memory Allocation Problem? lanky666 Linux - Software 3 02-14-2004 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:06 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