apache virtual memory usage on linux

This is a discussion on apache virtual memory usage on linux within the Apache Web Server forums, part of the Web Server and Related Forums category; I am running Apache 2.0.54 on Debian Sarge, and I was wondering about memory usage. Right now, Apache ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-27-2006
fraz
 
Posts: n/a
Default apache virtual memory usage on linux

I am running Apache 2.0.54 on Debian Sarge, and I was wondering about
memory usage.

Right now, Apache is running with mod_php5 and mod_rewrite using
prefork.c and is consuming around 6-8 Mb per process (max_spare is set
to 5). I am anticipating some heavy traffic and only have burstable RAM
of 1 GB available on my VPS. At 8 Mb per process I could have to serve
around 100-110 connections, but I am concerned when I look at the VM
usage. VM usage is about 22 Mb per process. It is unclear to me whether
or not I need to use VM as my benchmark for process size or the actual
(6-8Mb) RAM used. This makes a huge difference for my max_connections
setting.

Any advice? Any ideas on reducing VM usage or on getting the 6-8Mb
lower?

Thanks

  #2 (permalink)  
Old 11-30-2006
Kenneth Svee
 
Posts: n/a
Default Re: apache virtual memory usage on linux

[ fraz ]

> I am running Apache 2.0.54 on Debian Sarge, and I was wondering
> about memory usage.
>
> Right now, Apache is running with mod_php5 and mod_rewrite using
> prefork.c and is consuming around 6-8 Mb per process (max_spare is
> set to 5). I am anticipating some heavy traffic and only have
> burstable RAM of 1 GB available on my VPS. At 8 Mb per process I
> could have to serve around 100-110 connections, but I am concerned
> when I look at the VM usage. VM usage is about 22 Mb per process. It
> is unclear to me whether or not I need to use VM as my benchmark for
> process size or the actual (6-8Mb) RAM used. This makes a huge
> difference for my max_connections setting.
>
> Any advice? Any ideas on reducing VM usage or on getting the 6-8Mb
> lower?


You've read the docs on tuning Apache, yes?

http://httpd.apache.org/docs/2.0/misc/perf-tuning.html

Memory usage is very application specific, so I would turn to the
PHP-docs and -usergroups for help on that bit.


Rgds,
Kenneth Svee
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:49 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0