Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Maximum sessions guidance?

    Firewalling
    3
    5
    4579
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      beaven67 last edited by

      I'm looking for what the max limit for sessions are on pfsense. I know it has a lot to do with Hardware specs and the type of traffic as well but in general is there some hard limit?
      Can the firewall support 500,000 sessions or more?
      Thanks,

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        It's completely dependent on how much RAM you have. 1 state == 1k of RAM. You can adjust the size of the state table under System > Advanced.

        To do 500,000 sessions, you'd just need ~512MB of RAM just for states, not counting other system processes, so to be safe you might say ~768MB-1GB+ for that level.

        The rest is a factor of CPU and motherboard speed in terms of bandwidth/throughput and such. It's not as easy as saying "x sessions".

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • B
          beaven67 last edited by

          Thanks,
          I knew the 1k=1 state baseline but Has anyone got pfsense running around 500,000 session in a production environment?
          Thanks,

          1 Reply Last reply Reply Quote 0
          • jimp
            jimp Rebel Alliance Developer Netgate last edited by

            I've heard of people with 1M+ states. It's possible as long as you have the hardware to handle the load, and the bandwidth and number of users to make that many. :-)

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • C
              cmb last edited by

              @beaven67:

              I knew the 1k=1 state baseline but Has anyone got pfsense running around 500,000 session in a production environment?

              Yes, many.

              I've personally gotten a 2.0 amd64 install up to around 15-16 million states.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post