Buongiorno a tutti,
abbiamo un problema su 2 server di produzione Sun E2900 con 70Gb di ram con Apache2 con Siteminder. Sembra utilizzi piu' swap che ram e con 560 httpd il server inizia a dare errori di out of swap... Di seguito alcune info su apache2 e la ram.

Qualcuno e' in grado di aiutarmi a sanare la situazione per fargli usare la RAM e non la Swap?

Grazie a tutti in anticipo.
Marco

root@poaws36s # ./httpd -V
Server version: Apache/2.2.9 (Unix)
Server built: Aug 2 2008 23:02:41
Server's Module Magic Number: 20051115:15
Server loaded: APR 1.3.0, APR-Util 1.3.0
Compiled using: APR 1.3.0, APR-Util 1.3.0
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/opt/coolstack/apache2"
-D SUEXEC_BIN="/opt/coolstack/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"


root@poaws36s # isainfo -b
64

root@poaws36s # vmstat 1 3
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s3 -- in sy cs us sy id
0 0 0 57395832 68772472 30 1285 0 0 0 0 0 2 -0 -0 0 1449 4576 1717 1 1 99
0 0 0 131400 44622616 10 161 0 0 0 0 0 0 0 0 0 3112 4094 3771 0 1 99
0 0 0 263544 44669136 2 3760 0 0 0 0 0 0 0 0 0 3261 8707 4820 1 1 98

root@poaws36s # prstat -a
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
851 root 18M 6008K sleep 39 0 0:31:59 0.2% scopeux/1
24634 webservd 141M 51M sleep 52 0 0:00:00 0.1% httpd/1
24650 webservd 111M 39M cpu522 34 0 0:00:00 0.1% httpd/1
24651 webservd 141M 50M sleep 34 0 0:00:00 0.0% httpd/1
24628 root 7504K 5232K sleep 59 0 0:00:00 0.0% sshd/1
24626 webservd 141M 51M sleep 59 0 0:00:00 0.0% httpd/2
24656 root 4056K 3336K cpu3 39 0 0:00:00 0.0% prstat/1
24490 webservd 159M 64M sleep 59 0 0:00:01 0.0% httpd/3
24654 webservd 16M 7232K sleep 24 0 0:00:00 0.0% httpd/2
24653 webservd 16M 7200K sleep 24 0 0:00:00 0.0% httpd/2
22611 webservd 158M 66M sleep 59 0 0:00:03 0.0% httpd/3
24652 webservd 16M 7224K sleep 34 0 0:00:00 0.0% httpd/2
23611 webservd 157M 66M sleep 49 0 0:00:02 0.0% httpd/3
13053 webservd 143M 57M sleep 59 0 0:01:16 0.0% LLAWP/4
24655 webservd 16M 7224K sleep 24 0 0:00:00 0.0% httpd/2
24527 webservd 159M 64M sleep 59 0 0:00:01 0.0% httpd/2
23238 webservd 159M 65M sleep 59 0 0:00:03 0.0% httpd/3
23578 webservd 158M 65M sleep 59 0 0:00:02 0.0% httpd/3
24195 webservd 157M 64M sleep 59 0 0:00:01 0.0% httpd/3
24583 webservd 159M 63M sleep 59 0 0:00:00 0.0% httpd/3
23325 webservd 159M 65M sleep 59 0 0:00:04 0.0% httpd/3
24474 webservd 159M 64M sleep 59 0 0:00:00 0.0% httpd/3
21066 webservd 159M 65M sleep 59 0 0:00:09 0.0% httpd/3
24445 webservd 159M 64M sleep 59 0 0:00:01 0.0% httpd/3
23419 webservd 159M 65M sleep 59 0 0:00:02 0.0% httpd/3
24255 webservd 159M 64M sleep 59 0 0:00:01 0.0% httpd/3
24616 webservd 159M 63M sleep 59 0 0:00:00 0.0% httpd/3
23156 webservd 159M 65M sleep 49 0 0:00:02 0.0% httpd/3
23838 webservd 158M 65M sleep 59 0 0:00:03 0.0% httpd/3
23142 webservd 159M 65M sleep 59 0 0:00:03 0.0% httpd/3
24573 webservd 159M 63M sleep 59 0 0:00:01 0.0% httpd/2
22956 webservd 159M 65M sleep 59 0 0:00:06 0.0% httpd/3
22969 webservd 158M 65M sleep 59 0 0:00:04 0.0% httpd/3
NPROC USERNAME SWAP RSS MEMORY TIME CPU
342 webservd 44G 16G 22% 0:13:46 1.5%
51 root 152M 179M 0.2% 0:45:09 0.3%
6 daemon 6776K 8936K 0.0% 0:00:11 0.0%
1 noaccess 138M 206M 0.3% 0:04:50 0.0%
1 smmsp 1312K 7640K 0.0% 0:00:00 0.0%

root@poaws36s # uname -a
SunOS poaws36s 5.10 Generic_141444-09 sun4u sparc SUNW,Netra-T12
root@poaws36s # ps -eaf | grep http|wc -l
562
root@poaws36s # ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited