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

max connections - nat through a apache webserver

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 480 Views
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.
  • M
    mako
    last edited by mako Nov 9, 2021, 10:27 PM Nov 9, 2021, 10:23 PM

    dear community,

    i have tuned my apache webserver behind my pfsense to access more then 5000 current connections at the same time.

    customers got always "connection aborted" in their browsers if we have a launch with more than 1000 peoples.

    i have also upgraded the server to 10G UP and DOWN. and have tuned my apache configuration.

    can this be that pfsense blocks before the traffic goes through the server?

    i have my apache webserver behind the 1:1 nat.

    i am using vmware 7.0, my virtual machine settings:
    CPU-cores: 8
    Sockets:8
    Core per Socket: 1
    4 GB RAM

    my host system is
    PowerEdge R640
    32 CPUs x Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz

    my webserver is debian buster:
    12 CPUs
    32 GB RAM
    CPU-cores:12
    Sockets:12
    Core per Socket: 1

    how can i do performance tests before we have the next new big launch?

    thank you so much

    many greets

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Nov 11, 2021, 3:36 PM

      You can set state limits on firewall rules but they would not be by default.

      What's the rate of new connections here?

      1000 connections though the firewall is nothing. State tables in the millions is not uncommon in pfSense. What size was your state table when you saw aborted connections?

      Steve

      M 1 Reply Last reply Nov 14, 2021, 11:45 AM Reply Quote 1
      • M
        mako @stephenw10
        last edited by Nov 14, 2021, 11:45 AM

        @stephenw10
        Thank you stephenw, i have now found my issues, the webserver closes the connection on 150 (per default). i have done apache tuning now all is good.

        thank you so much

        1 Reply Last reply Reply Quote 1
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received