--- title: "Setting the exception policy event storage use limit" slug: "setting-the-exception-policy-event-storage-use-limit" updated: 2026-09-08T19:11:22Z published: 2026-09-08T19:11:22Z canonical: "docs.trellix.com/setting-the-exception-policy-event-storage-use-limit" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Setting the exception policy event storage use limit Event storage is also known as the *ring buffer*. If the xAgents' events database exceeds the storage specified by this setting, the xAgent rebuilds the database. If the database is corrupt and the attempt to rebuild it fails, the database is restarted and a new, empty events database is created. The old events database is backed up as file `events.db.bk`. You may need assistance from Trellix Technical Support to extract the data contained in the backup. You can specify the event storage use limit for select host sets in your environment by creating a custom policy in the Web UI to define your exception resource use policy To define the event storage use limit for your custom exception policy: 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. Click **Create Custom Policy** to go to the **Create Policy** page. ![UI_Policy_Custom_Create.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-35a81285-e199-f60d-b629-c2ac6e227202(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A02%3A53Z&se=2026-11-22T14%3A02%3A53Z&sr=c&sp=r&sig=Bck6ItMeJoMT6%2FRVY6i6lRo5R3NP%2FAicSoiPcfcjgTY%3D) 4. Enter a policy name in the **Name** field and a policy description in the **Description** field. 5. Click **CATEGORIES** to access a list of the policy categories. 6. Select the **Resource Use** checkbox and click **Apply**. 7. In the Resource Use section, specify the number of megabytes of storage that agents in the selected host sets can use for tasks performed on behalf of the Endpoint Security (HX) server in the **Event storage** field. Valid values range from 10 to 500 MB. ![Policy_RU_EventStorageLimit.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-95527da1-0874-5a87-e781-40fe5925acd1(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A02%3A53Z&se=2026-11-22T14%3A02%3A53Z&sr=c&sp=r&sig=Bck6ItMeJoMT6%2FRVY6i6lRo5R3NP%2FAicSoiPcfcjgTY%3D) 8. Click **SAVE**. 9. Toggle the policy **Enabled/Disabled** switch to **Enabled** to activate the new policy. Now you can assign host sets to the custom policy and set the policy priority level. See [Assigning Host Sets to Agent Policies](/docs/assigning-host-sets-to-xagent-policies) and [Configuring Policy Priority Using the Web UI](/docs/configuring-policy-priority-using-the-web-ui) for more information. :