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.
    • 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.