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

    Squid 3 fails on latest 2.2-RC

    Scheduled Pinned Locked Moved Cache/Proxy
    26 Posts 12 Posters 8.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.
    • T
      Topper727
      last edited by

      I did

      squid -dM -f /usr/pbi/squid-amd64/etc/squid/squid.conf

      ln -s /usr/pbi/squid-amd64/etc/squid /usr/local/etc/squid
      ln -s /usr/pbi/squid-amd64/local/libexec/squid /usr/local/libexec/squid

      Then
      ln -s /lib/libmd.so.6 /usr/lib/libmd5.so.1

      and now got past the libmd5.so.1 problem but now I see libecap.so.2 not found

      Dell 2950 g3 server
      Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
      Current: 2000 MHz, Max: 2667 MHz
      8 CPUs: 2 package(s) x 4 core(s)
      8152 MiB and 600meg 10k drive
      Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        @Topper727:

        problem but now I see libecap.so.2 not found

        I've sent a pull request to fix it.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • T
          Topper727
          last edited by

          thank you.. i let you know how it goes.  Wait.. there was update I thought you did but that did not fix.

          squid3 v3.4.10_2 pkg 0.2.1

          Dell 2950 g3 server
          Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
          Current: 2000 MHz, Max: 2667 MHz
          8 CPUs: 2 package(s) x 4 core(s)
          8152 MiB and 600meg 10k drive
          Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            Need to wait a new pbi with modified compile args.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • T
              Topper727
              last edited by

              If I had a way to test and see debug info and such I would help more with packages and pfsense.  I just don't know what tools to use to be able to test.  Only way I know is edit one file look for problem, change and then put file in system and see how it runs. If nothing happens then blank nothing knowing where fails.. Point me in direction to build a testing setup

              Dell 2950 g3 server
              Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
              Current: 2000 MHz, Max: 2667 MHz
              8 CPUs: 2 package(s) x 4 core(s)
              8152 MiB and 600meg 10k drive
              Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                @Topper727:

                Point me in direction to build a testing setup

                You mean build a pbi or check squid gui package files?

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • A
                  akvadrat
                  last edited by

                  Hi!
                  Same issue here. How do we know when the recompiled package is available ? The filename of the package only contains the squid version not the package version.

                  Btw, there are some other folks having the same issue here: https://forum.pfsense.org/index.php?topic=84638.0

                  /Anders

                  1 Reply Last reply Reply Quote 0
                  • E
                    Escorpiom
                    last edited by

                    There are several topics about Squid issues, here's another one about broken transparent proxy:

                    https://forum.pfsense.org/index.php?topic=85280.15
                    

                    Cheers.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Topper727
                      last edited by

                      build a pbi .. not seen any tool for windows to help making one..

                      Dell 2950 g3 server
                      Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                      Current: 2000 MHz, Max: 2667 MHz
                      8 CPUs: 2 package(s) x 4 core(s)
                      8152 MiB and 600meg 10k drive
                      Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                      1 Reply Last reply Reply Quote 0
                      • KOMK
                        KOM
                        last edited by

                        Squid3 on 2.2 hasn't worked for me since last November, to the point where I've stopped testing it out of frustration.

                        1 Reply Last reply Reply Quote 0
                        • T
                          Topper727
                          last edited by

                          https://forum.pfsense.org/index.php?topic=84638.0

                          Also there here this post too.

                          Dell 2950 g3 server
                          Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                          Current: 2000 MHz, Max: 2667 MHz
                          8 CPUs: 2 package(s) x 4 core(s)
                          8152 MiB and 600meg 10k drive
                          Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                          1 Reply Last reply Reply Quote 0
                          • A
                            asterix
                            last edited by

                            Is anyone working to fix the package?

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

                              https://forum.pfsense.org/index.php?topic=84638.msg473961#msg473961

                              1 Reply Last reply Reply Quote 0
                              • T
                                Topper727
                                last edited by

                                My CPU is at 100% with squid running now. I have a dual core 2.2 ghz Intel CPU.. what could be going on?

                                last pid: 70216;  load averages:  2.41,  2.34,  2.23  up 0+00:48:28    00:41:21
                                182 processes: 5 running, 157 sleeping, 4 zombie, 16 waiting

                                Mem: 292M Active, 1233M Inact, 389M Wired, 552K Cache, 642M Buf, 2013M Free
                                Swap: 8192M Total, 8192M Free

                                PID USERNAME PRI NICE  SIZE    RES STATE  C  TIME    WCPU COMMAND
                                42894 squid    52    0 12532K  2104K wait    0  4:45  13.18% /usr/pbi/.pbirun /usr/local/libexec/squid/
                                40460 squid    52    0 12532K  2104K wait    1  4:46  12.60% /usr/pbi/.pbirun /usr/local/libexec/squid/
                                  11 root    155 ki31    0K    32K CPU1    1  4:25  1.37% [idle{idle: cpu1}]
                                  11 root    155 ki31    0K    32K RUN    0  4:24  0.78% [idle{idle: cpu0}]
                                86386 root      20    0  147M 63528K uwait  1  0:29  0.59% /usr/local/bin/suricata -i ue0 -D -c /usr/
                                17821 root      20    0  195M 71216K nanslp  0  0:17  0.39% /usr/local/bin/ntopng -d /var/db/ntopng -G
                                94325 root      22    0  219M 33708K piperd  0  0:00  0.39% php-fpm: pool lighty (php-fpm)
                                    0 root    -16    0    0K  224K swapin  0  1:48  0.00% [kernel{swapper}]
                                    0 root    -92    0    0K  224K -      0  0:08  0.00% [kernel{em0 que}]
                                    4 root    -16    -    0K    32K -      1  0:03  0.00% [cam{doneq0}]
                                86386 root      20    0  147M 63528K nanslp  1  0:03  0.00% /usr/local/bin/suricata -i ue0 -D -c /usr/
                                  21 root      16    -    0K    16K syncer  0  0:03  0.00% [syncer]
                                  12 root    -60    -    0K  256K WAIT    0  0:02  0.00% [intr{swi4: clock}]
                                    0 root    -92    0    0K  224K -      1  0:02  0.00% [kernel{em1 que}]
                                  12 root    -88    -    0K  256K WAIT    0  0:02  0.00% [intr{irq258: ahci0}]
                                27027 unbound  20    0 47016K 19060K kqread  1  0:02  0.00% /usr/local/sbin/unbound -c /var/unbound/un
                                99163 root      20    0 24580K  4960K kqread  1  0:02  0.00% redis-server: /usr/pbi/ntopng-amd64/local/
                                17821 root      20    0  195M 71216K nanslp  0  0:02  0.00% /usr/local/bin/ntopng -d /var/db/ntopng -G

                                Dell 2950 g3 server
                                Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                Current: 2000 MHz, Max: 2667 MHz
                                8 CPUs: 2 package(s) x 4 core(s)
                                8152 MiB and 600meg 10k drive
                                Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                                1 Reply Last reply Reply Quote 0
                                • marcellocM
                                  marcelloc
                                  last edited by

                                  @Topper727:

                                  PID USERNAME PRI NICE  SIZE    RES STATE  C  TIME    WCPU COMMAND
                                  42894 squid    52    0 12532K  2104K wait    0  4:45  13.18% /usr/pbi/.pbirun /usr/local/libexec/squid/
                                  40460 squid    52    0 12532K  2104K wait    1  4:46  12.60% /usr/pbi/.pbirun /usr/local/libexec/squid/

                                  25% for squid?

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Topper727
                                    last edited by

                                    I even stopped the services for squid and still see 100% CPU and this top info

                                    last pid:  2494;  load averages:  2.17,  2.27,  2.21  up 0+01:08:08    00:06:33
                                    174 processes: 5 running, 149 sleeping, 4 zombie, 16 waiting

                                    Mem: 146M Active, 1326M Inact, 388M Wired, 996K Cache, 535M Buf, 2066M Free
                                    Swap: 8192M Total, 8192M Free

                                    PID USERNAME PRI NICE  SIZE    RES STATE  C  TIME    WCPU COMMAND
                                    57726 squid    52    0 12532K  2104K wait    1  7:10  12.79% /usr/pbi/.pbirun /usr/local/libexec/squid/
                                    61536 squid    52    0 12532K  2104K wait    1  7:09  12.70% /usr/pbi/.pbirun /usr/local/libexec/squid/
                                      11 root    155 ki31    0K    32K RUN    0  5:03  0.88% [idle{idle: cpu0}]
                                      11 root    155 ki31    0K    32K RUN    1  5:05  0.68% [idle{idle: cpu1}]
                                    44769 root      28    0  219M 40428K piperd  0  0:01  0.59% php-fpm: pool lighty (php-fpm)
                                        0 root    -16    0    0K  224K swapin  0  1:49  0.00% [kernel{swapper}]
                                    52461 root      20    0  195M 73220K nanslp  1  0:25  0.00% /usr/local/bin/ntopng -d /var/db/ntopng -G
                                        0 root    -92    0    0K  224K -      1  0:24  0.00% [kernel{em1 que}]
                                        0 root    -92    0    0K  224K -      0  0:19  0.00% [kernel{em0 que}]
                                    47895 root      20    0 21160K  4360K select  0  0:10  0.00% /usr/local/sbin/miniupnpd -f /var/etc/mini
                                    94400 root      20    0 28172K 18060K select  1  0:07  0.00% /usr/local/sbin/ntpd -g -c /var/etc/ntpd.c
                                      21 root      16    -    0K    16K syncer  1  0:04  0.00% [syncer]
                                    8469 root      20    0  487M 97220K bpf    1  0:03  0.00% /usr/local/bin/snort -R 16771 -D -q –supp
                                        4 root    -16    -    0K    32K -      1  0:03  0.00% [cam{doneq0}]
                                      12 root    -60    -    0K  256K WAIT    0  0:03  0.00% [intr{swi4: clock}]
                                    13870 _dhcp    20    0 14704K  2444K select  0  0:03  0.00% dhclient: em0 (dhclient)
                                    34198 root      20    0 24580K  5060K kqread  1  0:02  0.00% redis-server: /usr/pbi/ntopng-amd64/local/
                                      12 root    -72    -    0K  256K WAIT    0  0:02  0.00% [intr{swi1: netisr 0}]

                                    Dell 2950 g3 server
                                    Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                    Current: 2000 MHz, Max: 2667 MHz
                                    8 CPUs: 2 package(s) x 4 core(s)
                                    8152 MiB and 600meg 10k drive
                                    Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      Visseroth
                                      last edited by

                                      I finally got it to work by disabling the antivirus. Haven't done anything to configure the antivirus yet.

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

                                        I am having the same issue with pbirun taking all the available CPU on 2.2 I am running 3.4.10_2 pkg 0.2.8.

                                        The only thing I have been able to do is kill the processes but I have very basic settings no AV or anything. Has much come out as a fix?

                                        Hosted desktops and servers with support without complication.
                                        www.blueskysystems.co.uk

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Topper727
                                          last edited by

                                          What I just went through for a friends pfsense firewall was a learning experience.  I install fresh copy of 2.2.2 I think then he did all the updates but squid3 would not work in transparent mode.

                                          I checked the permissions and the owners to my own copy that works for cache folder and PID file. Since he had errors for bad cache folders and couldn't fix with squid -z.  after deleting all the squid cache folders and recreating and all that still not run..

                                          Last thing I did is delete EVERY instance of SQUID on the system after fixing permissions and then installed squid3 again and it all works for him now.

                                          My system is working squid3 and Antivirus and so is a brand new friends firewall .. squid can't beat me!

                                          Don't give up and I will never fail I tell myself!

                                          Dell 2950 g3 server
                                          Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                          Current: 2000 MHz, Max: 2667 MHz
                                          8 CPUs: 2 package(s) x 4 core(s)
                                          8152 MiB and 600meg 10k drive
                                          Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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