[users@httpd] Apache heap size increase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to diagnose an on going problem that I have
been seeing with Apache 2.0.54 on a Solaris 8 server. =20

Basically after 2 weeks or so of running fine, the machine
will run out of swap.  It has 2GB of physical RAM, then
6GB of swap avalible.  When it runs out of swap, each child
httpd process is around 22-25MB in size, and we will have between
300-400 child processes running at the time.  When I restart=20
apache, the size goes down to 10MB.  I did a pmap of a child
httpd process before and after the restart, and the only difference
between each was the heap size went from 13.9MB to 1.5MB:

Before the restart:

  Address   Kbytes Resident Shared Private Permissions       Mapped File
 00010000     456     456     456       - read/exec         httpd
 00090000      16      16       8       8 read/write/exec   httpd
 00094000   13976   13976   13960      16 read/write/exec     [ heap ]


After the restart:

  Address   Kbytes Resident Shared Private Permissions       Mapped File
 00010000     456     456     456       - read/exec         httpd
 00090000      16      16       -      16 read/write/exec   httpd
 00094000    1544    1512    1176     336 read/write/exec     [ heap ]

The next time it happens, I am going to try and run gcore to capture
what is in memory, but in the mean time, are there any suggestions as to
what else I should be looking at/for?

Modules:
http://bpfx.org/conf/modules.txt

MPM:
http://bpfx.org/conf/mpm.txt
- --
Bob Bomar
bob@xxxxxxxx
http://www.bomar.us/~bob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFELZtZ9Jm/aTrtdKoRAt6fAJ9IDAMAlC7V2UnkiYWSNnHOSAepigCggaDG
pWkBfJeYCJ9CzBXX20wizRs=
=D/bx
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux