Skip to main content
cbenejean
Staff
Staff
Aug 1, 2017 8:45 AM UTC

Technical Tip: Session counter information

  • Jul 16, 2026 10:21 AM UTC
  • 0 replies
  • 24109 views
  • Translate All

Description

This article describes the information counters related to sessions that can be displayed with the command 'diagnose sys session stat':

diagnose sys session stat
misc info: session_count=0 setup_rate=250 exp_count=0 clash=0
    memory_tension_drop=0 ephemeral=0/0 removeable=0 ha_scan=0
delete=0, flush=0, dev_down=0/0


Scope

FortiGate.

Solution

  • session_count: Total number of current sessions.

  • setup_rate: Current number of created sessions per second.

  • exp_count: Current number of session expectation.

  • clash: Total number of session clashes (cumulative since last reboot). Session clashes appear when a new session is created but a conflicting similar session (same tuple) already exists. When a session clash happens, the old session will be deleted and replaced with the new one. The only consequence is that it may cause some re-transmissions.

  • memory_tension_drop: Number of sessions deleted because the system is running low memory. The oldest sessions will be dropped in this case. The TCP local session will not be deleted.

  • ephemeral: Current number of sessions in ephemeral state. An ephemeral session is either a TCP session in an establishing phase, or a UDP session with only a single packet received.

    • The FortiGate has to allocate memory to manage the session. These sorts of open sessions are common forms of DoS attacks. 

    • To reduce impact from these sorts of attacks, the FortiGate categorizes sessions in these states as Ephemeral and sets a limit (based on the model) for how many can exist at once so that memory is not exhausted. Essentially, this is for DoS protection.

  • removeable: Current number of sessions in removable state. A session is in a removable state when the total number of sessions reached a certain limit. Over this limit, every new session created will have the 'REMOVEABLE' flag set. 
    When the system is not able to create new sessions (a limit has been reached), the 'removeable' session will be deleted first until a new session can be created.

  • ha_scan: Number of sessions handled by proxy.

  • delete: Total number of sessions that have been removed because they have been deleted.

  • flush: Total number of sessions that have been removed because they have been flushed.

  • dev_down: Total number of sessions that have been removed because the interface went down.


Related article:
Troubleshooting Tip: Explanation of the session clash message

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024