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

    Squid slowness issues - also a bounty post

    Scheduled Pinned Locked Moved pfSense Packages
    48 Posts 17 Posters 28.1k 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.
    • X
      xdsl
      last edited by

      @Cry:

      One warning, upgrading Squid kills it (or at least it did for me) - you have to blow away the old cache directories (in /usr/local/squid/cache) first.

      Hi, how to blow away the old cache /usr/local/squid/cache ?

      I'm sorry i just installed pfsense+squid today. even the aufs changed, i still get same problem.

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        SSH in or go to the shell. Option 8 brings you to the command line. Then use the rm command to delete the files in that folder.

        1 Reply Last reply Reply Quote 0
        • X
          xdsl
          last edited by

          i have download the latest squid from pakages, its looks like cache_dir aufs $cachedir $disk_cache_size $level1 256 already changed by sullrich.

          i have clear cache directories. but it is same like before. download still in a low rate.

          i will try 1.2-RC2. thanks.

          1 Reply Last reply Reply Quote 0
          • M
            mhab12
            last edited by

            Same here, no improvements.  I appreciate the update though as I had been reading that 'aufs' is pretty much the standard now and disk_d is becoming obsolete.

            1 Reply Last reply Reply Quote 0
            • M
              mwdiers
              last edited by

              Confirmed again that the aufs change, with squid restart, does nothing. Last check, with squid running, downloads were running about 75% slower than with transparent proxy disabled.

              1 Reply Last reply Reply Quote 0
              • X
                xdsl
                last edited by

                I have install another pc with 1.2-RC2. And install squid(stable18) from latest packaged (updated from aufs to disk_d).

                it's still not working. speed go down. :(

                ???

                which squid can run on 1.2-RC2?

                1 Reply Last reply Reply Quote 0
                • M
                  mhab12
                  last edited by

                  So far the only sure thing is pfsense 1.2rc3, though there have been so many bugfixes since then it hurts to go backwards.  If you feel the need to, you can go here…We are still on 1.2rc3 and flying along at full speed.
                  http://pfsense.loquefaltaba.com/downloads/old/

                  1 Reply Last reply Reply Quote 0
                  • R
                    RavenD
                    last edited by

                    Set up the new version on a 1.2 Release machine that's plugged into two bonded T1s. If downloads are any slower with the transparent proxy on, its a really a marginal difference.

                    1 Reply Last reply Reply Quote 0
                    • X
                      xdsl
                      last edited by

                      just test with pfsense 1.2-RC3, and my squid working on it.  ;D

                      maybe it have problem with 1.2release.

                      Thank you.

                      1 Reply Last reply Reply Quote 0
                      • M
                        mhab12
                        last edited by

                        @RavenD:

                        Set up the new version on a 1.2 Release machine that's plugged into two bonded T1s. If downloads are any slower with the transparent proxy on, its a really a marginal difference.

                        What sort of hardware do you run (NIC, CPU, scsi, sas, ide) also what T-1 modem/router are you using?  If you have multiple processors, do you use SMP kernel or no?

                        1 Reply Last reply Reply Quote 0
                        • R
                          RavenD
                          last edited by

                          Two Intel Pro Gbit pci NICs. Cisco 1841 provided by the ISP. CPU is Intel Celeron 420 (i think). The slowest one based on the core 2 arch. Two 80gig sata drives in software raid1. We do regularely have latency and throughput issues, but presence of squid has no effect whatsoever on them, and we've already narrowed it down to the ISPs network not being able to  handle the load during peak hours.

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