admin@glassfish.java.net

How do I reduce admin console worker threads?

From: Girish Kumar Balachandran <Girish.Balachandran_at_Sun.COM>
Date: Mon, 04 May 2009 18:11:53 -0700

Hello,
In our production (zembly.com) environment we use asadmin for only
deployment and never use admin console. I see that by default there are
32 httpworker threads dedicated to port 4848 which always seem to run no
matter what.

root|wowprdapp01|17:49:07|/home/gb133050/tmp $ jstack 21240 | grep 4848
"httpWorkerThread-4848-31" daemon prio=3 tid=0x0000000101d2b670 nid=0xb5
in Object.wait() [0xffffffff4f2ff000..0xffffffff4f2ff7c0]
...
"httpWorkerThread-4848-0" daemon prio=3 tid=0x0000000101ce8b50 nid=0x77
in Object.wait() [0xffffffff66fff000..0xffffffff66fff6c0]

Are
How do I decrease the number of threads allocated for admin server? I
would ideally want not more than 1 thread.


A help