I'm going to take a stab in the date, but I have never heard of apache using
that much memory on so few servers, but then again I have never run the
secure server either. If you run top and find that apache is indeed causing
the memory problems you need to change a few of the configuration
directives. The primary apache server, I believe the process runs as root,
does not answer requests, but spawns children to handle the load. In the
httpd.conf file there are options like, max clients, max spare servers, min
spare servers, and I believe start servers. Start servers is the number of
servers spawned when apache is restarted and min servers is the minimum
number of servers that will be running at any given time. If your server is
low load this won't make much difference, but if you have a site that gets
hit very often the server may or may not have child processes ready to
respond quickly and you may need to look into the option of more memory.

Also, this maybe a stupid newbie question. I have never been warned about
low memory and I also have 64MB of Memory. How does linux do this: email to
root, console error messages, and/or syslog entries?  What is full, your
entire swap space and the RAM or just RAM?

Hope this helps and thanks,
Chad

> -----Original Message-----
> From: Kevsurf [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 06, 2000 9:21 PM
> To: Red Hat List
> Subject: Httpd and httpsd eating too much memory
>
>
> Hello,
>
> I have a question about my server.  I'm running RH6.1 and Apache.  I have
> recently been warned about low memory on my machine.  I have 64MB's of RAM
> and 61MB is being used right now!  The reason is, httpd is
> running 11 times
> and httpsd is running 7 times!!!
>
> I know this is not normal and am wondering what I can do to stop this from
> eating up so much memory.
>
> I have killed all on both httpd and httpsd and the second I restart them
> they are multiplied in a few seconds.
>
> Any ideas?
>
> I know I need more RAM, but this has just started.  Up until now,
> there have
> been no problems.
>
> Thanks,
> Kevin
> [EMAIL PROTECTED]
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to