User Tools

Site Tools


paloaltonetworks:troubleshooting:firewall_resources

This is an old revision of the document!


Troubleshooting Firewall Performance

Show Resources

show running resource-monitor second<code>
<code>show running resource-monitor minute<code>
<code>show running resource-monitor hour<code>
<code>show running resource-monitor day<code>
<code>show running resource-monitor week<code>
<code>show running resource-monitor<code>
This is the most important command in getting dataplane CPU usages over different time intervals. Usually, if the CPU stays high (>90), traffic would feel sluggish, latency would also rise. The best strategy is to determine a regular 24-hour usage ("baseline") and then compare it to the times when spikes are experienced.
Resource utilization gives the % usage of sessions and buffers. If the output of packet descriptors or buffers stays > 80%, it indicates the device is over loaded and may lead to packet loss and abnormal behavior of the device.
The same output can be obtained from the dp-monitor log.
<code>less mp-log dp-monitor.log
  • VM-100 - Has Core 0 - 3 listed but only have data for Core 1.
  • VM-300, PA-220 - Have Core 0 - 3 listed but only have data for Core 1 - 2.
  • PA-850 - Has Core 0 - 7 listed but only has data for Core 1 - 5.
  • PA-5220 - Has Core 0 - 7 listed but only has data for Core 1 - 7.

Buffer Usage

debug dataplane pool statistics

This command shows the packet buffers, resource pools and memory cache usages by different processes. If the pools deplete, traffic performance will be affected corresponding to that particular resource pool. Regarding pools, the number of the left shows the remaining while the number on the right shows the total capacity. The total capacity can vary based on platforms, models and OS versions. Likewise, if a certain process uses too much memory, that can also cause issues related to that process.

Show Counters

show counter global
show counter global filter severity drop
show counter global | match deny
show counter global | match error 

This command lists all the counters available on the firewall for the given OS version. For every packet that arrives, traverses or even gets dropped, we should see one or more counters go up. These are extremely powerful in troubleshooting traffic related issues when combined with packet-filter.

Show Network Data

show arp all

If you are using the firewall in Layer 2 mode, the following command is the Layer 2 equivalent of the arp command above.

show mac all

Show Logging Data

debug log-receiver statistics
debug log-receiver statistics | match discard

Check that “Logs discarded (queue full)” is zero; if it is nonzero, you are losing logs and are probably exceeding the platform limits for logging.

Show Decryption Data

show system setting ssl-decrypt memory

This command is used to monitor the ssl decryption memory usage; the first sz malloc size is the value to track. This value should increment/decrement, it is a concern if this value only increments. The max value is around 16 mb.

Show GlobalProtect Data

show resource limit ssl-vpn

This command shows the number of current SSL VPN sessions (GlobalProtect).

paloaltonetworks/troubleshooting/firewall_resources.1590664791.txt.gz · Last modified: (external edit)