Skip to main content
johnathan
Staff
Staff
Jun 10, 2025 3:44 PM UTC

Technical Tip: How to check the maximum number of ephemeral sessions per model

Description This article describes how to check the limit of ephemeral sessions per model.
Scope FortiOS.
Solution

Ephemeral sessions are sessions the FortiGate deems have not been fully set up yet.

An example of this would be a session where the TCP handshake has not been established yet.

Or for UDP a session where only one packet has been sent, and there is no reply.

The FortiGate puts a cap on the number of sessions whom can be in this state.

The cap is determined by the model of FortiGate. Fortinet does not have a list of the maximum number of these sessions per model, but it is possible to check this on the device by running a command.

The command for this is 'diagnose sys session stat'. The following is an example of the output:

 

rrrrrr.PNG

 

As per the output, there are no ephemeral sessions ongoing and the limit for this model is 131062.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT