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

    Fix the squid package {completed}

    Scheduled Pinned Locked Moved Completed Bounties
    46 Posts 14 Posters 58.2k 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
      mhab12
      last edited by

      This discussion has been ongoing in the packages forum.  The squid package is now very slow for some reason.  It is also based on an outdated release.  To be awarded the bounty, update the squid package to the latest stable release (2.6.18), provide transparent proxy throughput at or very near non-proxy throughput, and make sure that sites like auctionsniper.com and evga.com (maybe others too?) display properly when opened through the proxy.  All of this must work on 1.2rc5 or 1.2_STABLE when it happens.  I am willing to contribute $250 to the bounty, and heiko $200 per one of the related posts below as long as he gets an invoice.  To get up to speed I've listed most (I think) of the other related posts below.

      http://forum.pfsense.org/index.php/topic,7887.0.html

      http://forum.pfsense.org/index.php/topic,7281.0.html

      http://forum.pfsense.org/index.php/topic,7538.0.html
      http://forum.pfsense.org/index.php/topic,6835.0.html

      http://forum.pfsense.org/index.php/topic,7652.0.html

      http://forum.pfsense.org/index.php/topic,6808.0.html
      http://cvstrac.pfsense.com/tktview?tn=1557

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        To be awarded the bounty, update the squid package to the latest stable release (2.6.18), provide transparent proxy throughput at or very near non-proxy throughput,

        Can you tell me what this is?!

        1 Reply Last reply Reply Quote 0
        • I
          inferno222
          last edited by

          I will contribute $50 if this can fix my issue here:

          http://forum.pfsense.org/index.php/topic,7919.0.html

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

            As i saw, sullrich have updated the squid package to the latest 2.6.18 version!

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

              Sullrich, thanks for being so amazingly prompt in getting the package updated, especially in light of 1.2 approaching release.

              The 'broken' sites appear to be working under the latest version.  The speeds look improved, but not fixed.  Under 2.6.18/1.2RC5 I can get 600kbps where I used to see about 250-300 kbps before the package bump.  This is on a bonded T-1 WAN 3mbps where I can see 2700kbps on squid 2.6.5/1.2RC2.

              Getting the package updated is a huge step, thanks…now where is all the bandwidth going?

              1 Reply Last reply Reply Quote 0
              • jahonixJ
                jahonix
                last edited by

                Can you monitor your processor utilization? Does it max out when D/L-ing?

                Attached I have a screenshot when pulling this service pack (~370MB): http://www.microsoft.com/downloads/details.aspx?FamilyID=95ac1610-c232-4644-b828-c55eec605d55&DisplayLang=en

                I have squid (2.6.18) running in transparent mode. But notice the increase of CPU utilization (is that normal?). Anyway, I still get close to my theoretical max. of 16MB down

                ![DL 1700KB-s.png](/public/imported_attachments/1/DL 1700KB-s.png)
                ![DL 1700KB-s.png_thumb](/public/imported_attachments/1/DL 1700KB-s.png_thumb)

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

                  I'm not seeing CPU spikes like that, but my bandwidth is all over the place.

                  squid1.jpg
                  squid1.jpg_thumb

                  1 Reply Last reply Reply Quote 0
                  • jahonixJ
                    jahonix
                    last edited by

                    Can you easily switch off squid and test without it?
                    Just to make sure the hardware, cables and stuff work as expected.

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

                      Same file download, without using the proxy.

                      nosquid.jpg
                      nosquid.jpg_thumb

                      1 Reply Last reply Reply Quote 0
                      • jahonixJ
                        jahonix
                        last edited by

                        This is a full install and you're using single or MP kernel?

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

                          MP kernel AFAIK, it's a dual processor machine.  I have had the same results on a single processor box as well.  Is there a shell command I can run to tell me which kernel I am running?

                          1 Reply Last reply Reply Quote 0
                          • jahonixJ
                            jahonix
                            last edited by

                            For sure it's somewhere here:  https://<your-pfsense-ip>/status.php</your-pfsense-ip>

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

                              Just a sampling…
                              FreeBSD 6.2-RELEASE-p11 #0: Mon Feb 18 01:25:40 EST 2008
                                  sullrich@builder6.pfsense.com:/usr/obj.pfSense/usr/src/sys/pfSense_SMP.6

                              FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs

                              1 Reply Last reply Reply Quote 0
                              • E
                                eri--
                                last edited by

                                Are you by any case heeting swap?!

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

                                  Heeting swap?  I don't understand what that means.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sn3ak
                                    last edited by

                                    I am guessing 'needing swap'?

                                    Have you checked your throttling settings? More specifically is 'Throttle only specific extensions' [Proxy / traffic management] Checked? From my understanding, if that is not checked all file transfers get throttled by default, which may be contributing to your speed loss?

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

                                      Just tried it again both ways, checked and unchecked on 'Throttle only specific extensions'…no change.

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        eri--
                                        last edited by

                                        Are you by any case heeting swap?!

                                        I mean, is swap getting used?!

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

                                          The top output on my 1.2RC3 box that is working properly shows 100k of swap in use.  The 1.2RC5 with the new squid package just shows 1024M available, 1024M free.  Perhaps you're on to something.

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            eri--
                                            last edited by

                                            Can you please post the generated squid.conf.

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