[imp] Memory Usage
robert sand
rsand at d.umn.edu
Thu Jan 9 11:03:29 PST 2003
It would be interesting to see how much of the memory used below is actually
shared memory. Do a pmap -x pid on one of the httpd processes at the end of the
report you will see a total in kbytes of memory usage. The second number is the
total amount of memory used by that process and the 3rd is the amount of that
total that is in shared libraries. If you are not using shared libraries the
third number will be very low to nothing. This is bad. A recompile of the
software to use shared libraries would be needed.
Fábio Gomes wrote:
> Hi all,
>
> I'm experiencing a high memory usage for my http process in my webmail
> machine. It is a Solaris 8 system, running in a Sun v880.
>
> Related softwares:
>
> apache_1.3.27
> libmcrypt-2.5.3
> mm-1.2.1
> mod_ssl-2.8.12-1.3.27
> openssl-0.9.6h
> php-4.2.3
>
>
> top output:
>
> 11910 usermail 4 38 0 192M 157M run 23:31 1.64% httpd
> 21865 usermail 4 10 0 189M 153M cpu2 44:11 2.85% httpd
> 14099 usermail 4 58 0 182M 145M sleep 23:42 0.60% httpd
> 12249 usermail 4 53 0 182M 145M sleep 25:12 0.45% httpd
> 12241 usermail 4 58 0 182M 144M sleep 25:05 3.31% httpd
> 21427 usermail 4 58 0 160M 128M sleep 40:50 1.29% httpd
> 21423 usermail 4 51 0 149M 127M sleep 50:38 1.94% httpd
> 25002 usermail 4 58 0 145M 122M sleep 38:45 1.27% httpd
> 24057 usermail 4 58 0 145M 121M sleep 29:14 1.25% httpd
> 14452 usermail 4 52 0 143M 120M sleep 25:06 0.39% httpd
>
> Can anyone give me some directions?
>
> Thank you all,
> Fabio Gomes
>
--
Robert Sand.
mailto:rsand at d.umn.edu
University of Minnesota, Duluth
Information Technology Systems and Services
144 MWAH
218-726-6122 fax 218-726-7674
"Walk behind me I may not lead, Walk in front of me I may not follow,
Walk beside me and we walk together" UTE Tribal proverb.
More information about the imp
mailing list