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

    Disk usage shows 100% after updating to squid 2.6.18.1_06

    pfSense Packages
    11
    34
    16.7k
    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.
    • ?
      Guest
      last edited by

      update to last snapshot. it worked 4 me

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        Correction, do not upgrade to R3!! I have now same problem, because I was bored and upgrade my firmware to R3. S**T

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

          Works fine here RC3 downloaded September 23 http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/livecd_installer/pfSense-1.2.3-20090923-1717.iso.gz..

          I'm still monitoring it. seems like my disk usage is 2% (users: 16)

          jigp

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            i am now using
            1.2.3-RC3
            built on Mon Sep 21 07:02:42 UTC 2009
            3 days is uptime, no crash 'till now

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

              @Bern:

              @hadi57:

              i a running pfs 1.2, i updated squid last night, and since my disk usage shows 100% and clients coudnt get lease from dhcp, help really apreciated

              I also had this. The quick way - to get you started again - is to:

              Stop squid
              Get into a root shell on your pfSense box
              Run "rm /var/squid/cache/swap.state"
              I can't remember if you need to run "squid -z" but there should be no harm in running it.
              Start squid

              You'll start off with an empty cache but it should start working.

              thanks man it's work with me

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

                Same problem for. So I stop squid -> rm cache -> Suppress Squid and Reinstall.
                All works good but … If I set auth settings to LDAP, squid crashed with an error :

                Oct 21 16:19:30 squid[44415]: The basicauthenticator helpers are crashing too rapidly, need help!
                Oct 21 16:19:29 squid[37416]: Squid Parent: child process 44415 started
                Oct 21 16:19:26 squid[37416]: Squid Parent: child process 37418 exited due to signal 6
                Oct 21 16:19:26 kernel: pid 37418 (squid), uid 62: exited on signal 6
                Oct 21 16:19:26 squid[37418]: The basicauthenticator helpers are crashing too rapidly, need help!
                Oct 21 16:19:26 check_reload_status: reloading filter

                Any idea ?

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

                  For good measure (and the archives), this swap.state file will be compacted every night when you run squid -k rotate.

                  This is run in a cron job on pfSense but only if you specify the number of days to keep squid log files (option "Log rotate").

                  That is the long term solution to make sure this doesn't recur, it would seem.

                  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
                  • ?
                    Guest
                    last edited by

                    i am having this crash again, even width last snapshot and squid 2.7 update.
                    didn't understand this "compact" is it wish feature or implemented. if it is it doesn't work.

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

                      @sartic:

                      i am having this crash again, even width last snapshot and squid 2.7 update.
                      didn't understand this "compact" is it wish feature or implemented. if it is it doesn't work.

                      You have to set a value in the "log rotate" field of the squid configuration to enable the compacting.

                      You can also just go to the console (or Diagnostics > Command) and run:

                      squid -k rotate

                      Which will do it immediately.

                      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
                      • ?
                        Guest
                        last edited by

                        it was always defined (10 days).

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

                          Can you install the Cron package and verify that you have a cron job present for squid?

                          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
                          • ?
                            Guest
                            last edited by

                            http://www.endrigo.com/temp/cron.jpg

                            every time i have crash i update pf. but crashes r more often now. i even change 10 days to 2.
                            i had no problem width RC2 snapshots

                            1 Reply Last reply Reply Quote 0
                            • ?
                              Guest
                              last edited by

                              today i had same crash again. i stopped squid as usual, erase state and state.new files as always …. bla bla
                              and then i update firmware to last snapshot. after reboot pf was totally broken.
                              i was totally mad. removed oldish 4GB ata disk width newer 160GB and restored xml.
                              i won't touch update until stable release on this pf box.

                              1 Reply Last reply Reply Quote 0
                              • ?
                                Guest
                                last edited by

                                again crash. today i uninstalled squid. who cares for 10% of hits, i give up

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

                                  I'm using pf 1.2.2 + squid 2.6.21_10 + squidGuard 1.3-2 in production stable without any crash (about 2 months uptime) but without caching to disk, lets said, disk cache disabled. Not sure if it is usefull for you guys.

                                  Cheers

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    Guest
                                    last edited by

                                    my friend is trying now width store log disabled. i will ask him after 10 days.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jan.gestre
                                      last edited by

                                      I'm experiencing this weird issue with pfSense 1.2.3-RELEASE and squid 2.7.8_1, all of a sudden my disk is full and squid and related services stopped. As suggested in this same thread I was able to find out that my /var/squid/cache ballooned to 33GB for no logical reason, and as also suggested I've deleted said directory but after deletion my hard drive is still around 97% full and then 100% full again, how can this be correct if I've just deleted 33GB worth of space? After this squid stopped working then my hard drive free disk space was suddenly back to normal, this is really weird!

                                      As last resort I did a windows thing (rebooted the box) and what do you know it's working again with disk capacity of only 9% which is normal.

                                      Anybody experiencing this?

                                      Culprit?

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

                                        If you deleted the directory but did not stop squid first, then squid probably still had files open and the space wasn't released yet.

                                        See:
                                        http://doc.pfsense.org/index.php/Why_is_squid_using_100%25_of_my_drive_space%3F
                                        and
                                        http://doc.pfsense.org/index.php/Squid_Package_Tuning#Compact_swap.state

                                        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
                                        • ?
                                          Guest
                                          last edited by

                                          try to disable store log for squid. wish u luck

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