FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
arahman
Staff
Staff
Article Id 375122
Description

This article describes the troubleshooting steps when trying to push policies from FortiManager to FortiGate the FortiManager policy push fails and provides either of these errors:

'error :3 -max entry. object: firewall address. details: global limit. solution: limit is 5000'

'error :3 - max entry. object: firewall service custom. detail: per-vdom limit. solution: limit is 100'

Scope FortiGate, FortiManager.
Solution

When trying to push policies from FortiManager to FortiGate the FortiManager policy push is failed and gives the error 'error :3 -max entry. object: firewall address. details: global limit. solution: limit is 5000'

 

Kb 14.1.PNG

 

This happens when the Maximum table value size of the FortiGate reaches its limit. The table size limit can vary from FortiGate to FortiGate and can be found  Maximum Values Table. And this table size cannot be increased as it is a fixed limit. 

 

On FortiGate, it can be checked from the GUI under System -> Global Resources.

 

Kb 14.2.jpeg

 

Alternatively, it can also be checked with the command below:

 

print tablesize

 

The solution is to delete all of the unused firewall addresses from the FortiGate so the table size frees up. It can be done under Policies & Objects -> Addresses.

 

Kb 14.3.PNG

 

Once all of the unused or unwanted firewall addresses are removed the policy push from the FortiManager to FortiGate will be successful.

The second solution is to check if per-vdom resource limit is set.

In the example image below, the target VDOM had reached the maximum allowed number of Custom Firewall Service objects (100) as defined by the per-VDOM resource limits.

 

When FortiGate attempted to copy the global objects into the VDOM, it could not create additional entries because the limit was already exhausted and resulted in below error while doing the policy install from FortiManager.

 

Copy device global objects

Post vdom failed:
error :3 - max entry. object: firewall service custom. detail: per-vdom limit. solution: limit is 100

Copy objects for vdom DMZ


per-vdom resources exhausted.png

 

Configuration steps:

  1. From the Global VDOM, go to System → VDOM.
  2. Edit the affected VDOM.
  3. Under Resource Usage:
    • Enable Override Maximum for Firewall Custom Services.
    • Set the override value to greater than 100.
  4. Select OK to save the changes.

 

Note:

In Split-Task or Multi-VDOM mode, FortiGate supports both Global and per-VDOM resource limits.
Global resources are shared across the entire device, while per-VDOM resources are allocated individually to each VDOM.


By default, per-VDOM resources are unlimited, allowing a single VDOM to consume all system resources, which may impact or starve other VDOMs.
It is recommended to configure maximum limits for critical per-VDOM resources to ensure fair usage and system stability.