### Configure Maximum Agent Threads

If you have one or more managed servers in a domain, the Guardian Agent spawns the appropriate number of threads for communicating between the Guardian Agent on the WebLogic Administration Server, and the Guardian Agent running on the Managed Server(s). However, an excessive number of threads can affect the performance of the Administration Server. To control this, you can specify the maximum number of Agent threads to allocate to the WebLogic Server Administration Server for a specified domain. The Max. Agent Threads parameter setting determines this value. The default is `10`.

There are two ways to set the value for this parameter:

- When activating the domain, you can set the Max. Agent Threads parameter in the Advanced tab page of the Domain Activation Wizard (see Activate Domain on page 47).
- If the domain is already activated, you can set the Max. Agent Threads parameter in the Domain Properties dialog box (see below).

To set the Max. Agent Threads value for an activated domain, do the following:

1. In the Navigation pane, click the Domain Explorer tab to open the Domain Explorer.
2. Right-click on the domain name and select Modify Domain from the context menu.

This displays the Domain Properties dialog box.

3. Select or enter a value in the Max. Agent Threads field.

This can be an interger value from `1` to `20`. The default is `10`.

4. Click OK.

This resets Max. Agent Threads to the specified value for the selected domain.