Commit Fail with Error: 'Number of vsys-custom-url-category exceeds max ID limit (14000)'
19307
Created On 07/08/22 20:35 PM - Last Modified 05/12/25 15:15 PM
Symptom
Commit Fails with error message "Number of vsys-custom-url-category exceeds max ID limit"
Details:
ID population failed
Error: Error populating vsys-custom-url-category id for '[vsys-name]'
Error: Number of vsys-custom-url-category exceeds max ID limit (14000)Environment
- Palo Alto 5200 Series Firewall.
- PAN-OS 10.1.5
- Custom URL Category.
Cause
The Device is exceeding the capacity for custom URL categories it can support
Resolution
- When pushing from the Panorama, try to create the custom URL categories under specific device groups for the intended Vsys.
- If created under the shared location, a duplicate of the custom URL category is then created on all the Vsys on the firewall, when pushed from the Panorama, consuming platform limit.
- Verify the amount of created custom URL categories on the firewall is not reaching the maximum platform capacity
- To do this, navigate to Objects -> Custom Object -> URL Category and sum the amount across all of the virtual systems (vsys)
- When cleaning up the configuration on the firewall, some entries can get stuck in the id-manager and occupy the platform capacity unnecessarily
- From CLI, you can verify those offending entries running the command below
>debug device-server dump idmgr type vsys-custom-url-category all
- If any entries observed in the id-manager have already been removed, proceed to restart it:
>debug device-server reset id-manager type vsys-custom-url-category
- Id-manager will free up the stale entries and the next configuration commit should succeed
Note: Maximum Custom URL Categories is set to 2,849 per Firewall.
Additional Information
- IDs for custom URL categories are generated from the value 11151 up to 14000
- Hence the error: Number of vsys-custom-url-category exceeds max ID limit (14000)
- The actual capacity of custom URL categories is 14000-11151= 2849 (per firewall)