Use the delete-threadpool subcommand in remote mode to delete an existing thread pool. Deleting a thread pool will fail if that pool is referenced by a network listener.
Ensure that the server is running.
Remote subcommands require a running server.
List the existing thread pools by using the list-threadpools(1) subcommand.
Delete the specified thread pool by using the delete-threadpool(1) subcommand.
To apply your changes, restart Enterprise Server.
See To Restart a Domain.
Restart is not necessary for thread pools used by the web container.
This example deletes threadpool-1.
asadmin> delete-threadpool threadpool-1 Command delete-threadpool executed successfully |
You can also view the full syntax and options of the subcommand by typing asadmin help delete-threadpool at the command line.