You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by victor <vi...@outblaze.com> on 2003/08/08 10:58:30 UTC
Re: [users@httpd] Apache 1.3.27 How do I determine memory used
Use top.
Top tell you how much memory each children consume and from it how much
is from the shared memory.
Tor.
Dodson, Matthew wrote:
>I am running Apache 1.3.27 on a redhat linux 7.1 server and under high
>traffic loads I am running out of physical memory causing the system to
>start swapping heavily. I currently have 512MB of memory in the system and I
>am trying to determine how much memory I need to add. I understand apache
>has a forked process model and that the child process will be sharing
>memory from the parent, is this assumption correct? How do I determine how
>much memory each child process is taking? under high load I have 1024
>processes each showing about 2024KB Vmexe used. If this was true I would be
>using 2GB of memory under high load. I have added some details below.
>
>
>/sbin/httpd -V
>Server version: Apache/1.3.27 (Unix)
>Server built: Jan 27 2003 15:50:13
>Server's Module Magic Number: 19990320:13
>Server compiled with....
> -D EAPI
> -D EAPI_MM
> -D EAPI_MM_CORE_PATH="/var/run/httpd.mm"
> -D HAVE_MMAP
> -D HAVE_SHMGET
> -D USE_SHMGET_SCOREBOARD
> -D USE_MMAP_FILES
> -D HAVE_FCNTL_SERIALIZED_ACCEPT
> -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
> -D HARD_SERVER_LIMIT=4096
> -D HTTPD_ROOT="/etc/httpd"
> -D SUEXEC_BIN="/sbin/suexec"
> -D DEFAULT_PIDLOG="/var/run/httpd.pid"
> -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
> -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
> -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
> -D TYPES_CONFIG_FILE="conf/mime.types"
> -D SERVER_CONFIG_FILE="conf/httpd.conf"
> -D ACCESS_CONFIG_FILE="conf/access.conf"
> -D RESOURCE_CONFIG_FILE="conf/srm.conf"
>
>
>cat /proc/22701/status
>Name: httpd
>State: S (sleeping)
>Tgid: 22701
>Pid: 22701
>PPid: 22489
>TracerPid: 0
>Uid: 521 521 521 521
>Gid: 522 522 522 522
>FDSize: 32
>Groups: 522
>VmSize: 7136 kB
>VmLck: 0 kB
>VmRSS: 2196 kB
>VmData: 984 kB
>VmStk: 32 kB
>VmExe: 2072 kB
>VmLib: 1904 kB
>SigPnd: 0000000000000000
>SigBlk: 0000000000000000
>SigIgn: 8000000000001000
>SigCgt: 000000000040666b
>CapInh: 0000000000000000
>CapPrm: 0000000000000000
>CapEff: 0000000000000000
>0
>
>
>
>
>
>
>Matthew Dodson
>Coremetrics, Inc.
>mdodson@coremetrics.com
>
>
>---------------------------------------------------------------------
>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-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
--
<!---------------------------------------------
Victor
Development Engineer
Outblaze Ltd
---------------------------------------------->
---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org