On 04.05.09 00:15, Rex C. Eastbourne wrote:
> I seem to have done something very wrong with my Apache configuration,
> but can't figure out what it is. Essentially, each time I launch my
> website and start to get traffic, I almost immediately run out of RAM.

how much of RAM do you have on that machine?

> Typing "ps faux" gives me the following snippet, where I have around
> 20 processes started by user www-data:
> 
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> [...]
> root      5065  0.0  1.9 156952  9976 ?        Ss   06:26   0:00
> /usr/sbin/apache2 -k start
> www-data  5069  0.0  4.8 223908 25388 ?        S    06:26   0:00  \_
> /usr/sbin/apache2 -k start
> [Around 20 more of these...]
> www-data  5164  0.1  4.7 223332 24876 ?        S    06:41   0:00  \_
> /usr/sbin/apache2 -k start
> www-data  5168  0.0  1.1 156952  6232 ?        S    06:42   0:00  \_
> /usr/sbin/apache2 -k start
> 
> Any clues about what could be happening here? My 000-default
> configuration file (I'm on Ubuntu) just contains a bunch of
> VirtualHost and Location directives. I'm happy to provide any
> information that might be useful for diagnosing this.

Do you use ubuntu's apache package(s)? Don't you have too much of useless
modules loaded?

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
REALITY.SYS corrupted. Press any key to reboot Universe.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to