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

    Squid Performance Issues - Immediately after starting

    pfSense Packages
    3
    9
    2.9k
    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.
    • J
      jl421
      last edited by

      I've been looking for a solution for my problem for about a week, and I can't figure it out.

      The hardware I'm running pfsense in an ESX box in vmware. I've given it 2 processors, and 1GB of RAM. I've also made sure that both nics attached are the E1000 type.

      I'm trying to build a web logging server pfsense and squid, however I have a problem. On a fresh install of pfsense, everything runs perfectly.

      The problem starts the second I install and enable the squid transparent proxy. There is a 3 mbps pipe coming into the box, and after squid is enabled it cuts down to about 0.25 mbps.

      I've tried setting up nat rules to route all port 80 traffic through the default 3128 proxy port, with no transparent proxy enabled, and I get a Invalid URL error from client computers.

      I've tried all the optimization fixes that I can find to no avail.

      The processor is constantly under 10% utilization. I have less that 20% of memory being used.

      There is no reason this should be this difficult, and I've set up other pfsense boxes in the past with no problems, I just have no idea what's going wrong here.

      1 Reply Last reply Reply Quote 0
      • J
        jl421
        last edited by

        Anyone got anything?

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

          There's a whole page in the wiki that has suggestions to speed things up.

          http://doc.pfsense.org/index.php/Squid_Package_Tuning

          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
          • J
            jl421
            last edited by

            @jimp:

            There's a whole page in the wiki that has suggestions to speed things up.

            http://doc.pfsense.org/index.php/Squid_Package_Tuning

            Already tried all of them. Thus me posting here. I'm about to pull my hair out it's so annoying.

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

              Next time it would be helpful if you stated exactly what you had already tried.

              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
              • N
                Nachtfalke
                last edited by

                Which cache management options did you set ?
                RAM, HDD and so on ?
                Did add any additional squid options (for example caching windows updates) ?

                1 Reply Last reply Reply Quote 0
                • J
                  jl421
                  last edited by

                  @Nachtfalke:

                  Which cache management options did you set ?
                  RAM, HDD and so on ?
                  Did add any additional squid options (for example caching windows updates) ?

                  All defaults, except I have tried to give the cache 128 MB of RAM, instead of the standard 8. No change.

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nachtfalke
                    last edited by

                    what cache filesystem do you use ? I had bad performance (delays) with aufs so I went back to ufs.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jl421
                      last edited by

                      I'm using ufs.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.