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

    Squid use 100% disk

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 3 Posters 2.3k 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
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.