rendered paste bodyInteresting.
Does the app determine how many java processes are spawned?
I can reduce the # of processes to 19 with
max_spare_threads=2
min" "1
max_threads=150
This is a non swapping setup.
I wonder is the # of processes spawned determined by the app?
19 hm..
top+shift M:
62 processes: 60 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.1% 0.0% 0.0% 0.0% 0.0% 0.0% 99.8%
Mem: 511972k av, 479692k used, 32280k free, 0k shrd, 68864k buff
318496k actv, 64172k in_d, 7100k in_c
Swap: 1023992k av, 0k used, 1023992k free 299232k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
28120 xss 25 0 40268 39M 12328 S 0.0 7.8 0:19 0 java
28121 xss 15 0 40268 39M 12328 S 0.0 7.8 0:02 0 java
28122 xss 15 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28123 xss 15 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28124 xss 24 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28125 xss 15 0 40268 39M 12328 S 0.0 7.8 0:01 0 java
28126 xss 25 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28127 xss 15 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28130 xss 15 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28131 xss 15 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28132 xss 25 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28133 xss 15 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28134 xss 25 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28135 xss 15 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28136 xss 25 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28137 xss 25 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28138 xss 25 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28139 xss 25 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
28140 xss 15 0 40268 39M 12328 S 0.0 7.8 0:00 0 java
27366 xss 15 0 2544 2544 2112 S 0.0 0.4 0:00 0 sshd
1188 root 15 0 2516 2516 1840 S 0.0 0.4 0:00 0 sendmail
[xss@xss_qa current]$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1532 492 ? S Apr20 0:04 init
root 2 0.0 0.0 0 0 ? SW Apr20 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SWN Apr20 0:00 [ksoftirqd/0]
root 6 0.0 0.0 0 0 ? SW Apr20 0:00 [bdflush]
root 4 0.0 0.0 0 0 ? SW Apr20 0:01 [kswapd]
root 5 0.0 0.0 0 0 ? SW Apr20 0:00 [kscand]
root 7 0.0 0.0 0 0 ? SW Apr20 0:00 [kupdated]
root 8 0.0 0.0 0 0 ? SW Apr20 0:00 [mdrecoveryd]
root 14 0.0 0.0 0 0 ? SW Apr20 0:00 [scsi_eh_0]
root 15 0.0 0.0 0 0 ? SW Apr20 0:00 [percraid]
root 21 0.0 0.0 0 0 ? SW Apr20 0:06 [kjournald]
root 76 0.0 0.0 0 0 ? SW Apr20 0:00 [khubd]
root 998 0.0 0.1 1584 572 ? S Apr20 0:02 syslogd -m 0
root 1002 0.0 0.0 1536 440 ? S Apr20 0:00 klogd -x
rpc 1028 0.0 0.1 1672 516 ? S Apr20 0:00 portmap
rpcuser 1047 0.0 0.1 1772 708 ? S Apr20 0:00 rpc.statd
root 1167 0.0 0.1 2136 692 ? S Apr20 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 1188 0.0 0.4 6124 2516 ? S Apr20 0:00 sendmail: accepting connections
smmsp 1197 0.0 0.4 6000 2336 ? S Apr20 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 1207 0.0 0.0 1572 436 ? S Apr20 0:00 gpm -t imps2 -m /dev/mouse
root 1216 0.0 0.1 4496 1000 ? S Apr20 0:00 crond
daemon 1225 0.0 0.1 1576 556 ? S Apr20 0:00 /usr/sbin/atd
root 1235 0.0 0.1 3564 564 ? S Apr20 0:00 rhnsd --interval 240
root 1249 0.0 0.0 1592 400 ? S Apr20 0:00 mdadm --monitor --scan -f
root 1257 0.0 0.0 1504 416 tty2 S Apr20 0:00 /sbin/mingetty tty2
root 1258 0.0 0.0 1504 416 tty3 S Apr20 0:00 /sbin/mingetty tty3
root 1259 0.0 0.0 1504 416 tty4 S Apr20 0:00 /sbin/mingetty tty4
root 1260 0.0 0.0 1504 416 tty5 S Apr20 0:00 /sbin/mingetty tty5
root 1261 0.0 0.0 1504 416 tty6 S Apr20 0:00 /sbin/mingetty tty6
root 1704 0.0 0.0 1508 420 tty1 S Apr20 0:00 /sbin/mingetty tty1
root 20560 0.0 0.3 3660 1556 ? S Apr25 1:15 /usr/sbin/sshd
root 5258 0.0 0.3 7608 1920 ? S May05 0:00 cupsd
root 27364 0.0 0.4 6856 2064 ? S 14:10 0:00 sshd: xss [priv]
xss 27366 0.0 0.4 7000 2544 ? S 14:10 0:00 sshd: xss@pts/1
xss 27367 0.0 0.2 4260 1372 pts/1 S 14:10 0:00 -bash
root 27681 0.0 0.4 6856 2076 ? S 14:43 0:00 sshd: xss [priv]
xss 27683 0.0 0.4 7036 2284 ? S 14:43 0:00 sshd: xss@pts/0
xss 27684 0.0 0.2 4252 1364 pts/0 S 14:43 0:00 -bash
root 27726 0.0 0.1 4224 968 pts/0 S 14:43 0:00 su -
root 27727 0.0 0.2 4264 1344 pts/0 S 14:43 0:00 -bash
root 27897 0.0 0.1 4228 976 pts/0 S 14:48 0:00 su - xss
xss 27898 0.0 0.2 4268 1392 pts/0 S 14:48 0:00 -bash
xss 28120 1.9 7.8 281180 40348 pts/0 S 14:53 0:23 /usr/java1.5/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging
xss 28195 0.0 0.1 2736 712 pts/0 R 15:13 0:00 ps aux