Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Squid use 100% disk

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 3 Posters 2.7k 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.
    • F
      frontsidebus
      last edited by

      Hi all, squid dont clean itself. I have logrotate to 5 days but cache dont clean old objets.
      When this append, pfsense box crash. I delete squid cache manually and make squid -z and run again.
      Squid dont clean old objets auto?

      Any ideas to resolve this?

      Regards.

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

        log rotate is an option for logs, not for cache.

        try to setup a disk cache size smaller then free space you have on pfsense disk.

        set it on system -> proxy -> server -> cache mgmt -> Hard disk cache size

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

        Help a community developer! ;D

        1 Reply Last reply
        Reply Quote 0
        • F
          frontsidebus
          last edited by

          hard disk is a 80GB and cache size is 10GB.

          this is the problem, squid do not delete old objets in cache.

          1 Reply Last reply
          Reply Quote 0
          • F
            frontsidebus
            last edited by

            sorry, subjet are updated, squid USE 100% swap disk.

            1 Reply Last reply
            Reply Quote 0
            • N
              Nachtfalke
              last edited by

              @frontsidebus:

              sorry, subjet are updated, squid USE 100% swap disk.

              How many RAM do you have on the machine ?
              How many RAM do you have set for squid ?

              http://doc.pfsense.org/index.php/Squid_Package_Tuning#Compact_swap.state

              1 Reply Last reply
              Reply Quote 0
              • F
                frontsidebus
                last edited by

                1Gb ram and 128Mb squid

                1 Reply Last reply
                Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy