Solaris apache server swap reservations

hi,

i have a few servers running apache with the following configuration:

V240

4gb ram

3.7 gb virtual swap (1gb disk backed + 2.7 ram)

running:

Solaris 8 HW 12/02 s28s_hw1wos_06a SPARC

Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.

Assembled 12 December 2002

kernel patch:

117350-25

several times a day the servers end up with all of virtual swap reserved, and

need to have apache restarted, after this the swap reservations are released.

only a few hundred MBs of swap is actually allocated, but all the virtual swap is reserved, and there is still plenty of physical memory available. what could be the cause of this? any ideas?

[730 byte] By [maxpila] at [2007-11-27 2:10:17]
# 1

If the memory is returned when Apache exits, then it sounds like Apache is using all the memory (either legitimately or via a leak).

Since this is all reservation rather than allocation, you could extend the period by simply allocating more swapfiles/partitions. As long as they don't get used (just are used for reservations), then there should be no performance impact.

--

Darren

Darren_Dunhama at 2007-7-12 2:02:06 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
apache makes aggressive use of reserved swap.I usually give apache servers 2*ram in real disk swap.Your giving it about 1/4 ram. So I'm not surprised your having problems.
robert.cohena at 2007-7-12 2:02:06 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...