From: Nigel.R.Owen@aib.ie
Date: Thu Jan 09 2003 - 06:11:35 EST
I have been calculating the memory usage of apache processes on a busy
server and we are trying to get 2000 users onto an E250. I run the
following commands which count the amount of memory used (roughly as httpd
processes are I assume respawning all the time)
ps -eo pid,fname| \
awk ' $2~/httpd/ { printf "/opt/RMCmem/bin/pmem %s\n",$1}'|sh|\
awk '/total/ {t+=$6;printf ".";c++} END {printf "total (%s) %s
k\n",c,t}'
and
ps -eo pid,fname| \
awk ' $2~/httpd/ { printf "/usr/proc/bin/pmap -x %s\n",$1}'|sh|\
awk '/total/ {t+=$6;printf ".";c++} END {printf "total (%s) %s
k\n",c,t}'
My question are
I have been told that pmap and pmem do not report correctly the RAM usage
for Apache processes. Is this correct ?
The appears to show that 600 processes are using about 1.6GB of RAM is this
normal ? (pmap returns roughly comparable values) . If this is the case
is it possible to get 2000 users onto an E250 ?
This is IBM's version of apache for Websphere 4. I assume version 2 of
apache as it is threaded would be fine in supporting 2000 users on an E250
? Anyone got numbers for how many concurrent users they have on an E250 or
comparable SUN hardware ?
Is there a are better way of showing the total memory of the httpd
processes ?
- Nigel
This document is strictly confidential and is intended for use by the
addressee unless otherwise indicated.
Allied Irish Banks
This Disclaimer has been generated by CMDis
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:33 EDT