Sun Microsystems 820433510 Server User Manual


 
Working with Thread Pools
To create a thread pool using the Admin Console, go to Conguration > Thread Pools >
Current Pools > New.
Enter the name of the thread pool in the Thread Pool ID eld.
Enter the minimum number of threads in the thread pool servicing requests in this queue in
the Minimum Thread Pool Size eld.
These threads are created up front when this thread pool is instantiated.
Enter the maximum number of threads in the thread pool servicing requests in this queue in
the Maximum Thread Pool Size eld.
This is the upper limit on the number of threads that exist in the thread pool.
Enter the number, in seconds, after which idle threads are removed from pool in the Idle
Timeout eld.
Enter the total number of work queues that are serviced by this thread pool in the Number
of Work Queues eld.
Restart the Enterprise Server.
For more details on creating thread pools, click Help in the Admin Console.
You can also create a thread pool from the command-line by using the asadmin command,
create-threadpool.
To edit a settings for a thread pool using the Admin Console, go to Conguration > Thread
Pools > Current Pools and select the pool you want to congure. Modify the values for the
selected thread pool, save and restart the Enterprise Server.
For more details on editing thread pools, click Help in the Admin Console.
To delete a thread pool using the Admin Console, go to Conguration > Thread Pools >
Current Pools. Check the thread pool name to be deleted and click Delete.
You can also create a thread pool from the command-line by using the asadmin command,
delete-threadpool.
WorkingwithThreadPools
SunGlassFishEnterpriseServer2.1AdministrationGuide • December2008164