Use the set subcommand to update the values for a specified thread pool.
List the existing thread pools by using the list-threadpools(1) subcommand.
Modify the values for a thread pool by using the set(1) subcommand.
The thread pool is identified by its dotted name.
To apply your changes, restart GlassFish Server.
See To Restart a Domain.
Restart is not necessary for thread pools used by the web container.
This example sets the max-thread-pool-size from its previous value to 8.
asadmin> set server.thread-pools.thread-pool.http-thread-pool.max-thread-pool-size=8 Command set executed successfully
You can also view the full syntax and options of the subcommand by typing asadmin help set at the command line.