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

    Harddrive is running full (Squid)

    Scheduled Pinned Locked Moved Hardware
    6 Posts 3 Posters 971 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.
    • L
      Lord_Firewall
      last edited by

      Hello together,

      I'm writing to you because I want to clean my harddisk. Before I installed the Squid package my disk usage showed me only 2%. But now during the daily business it increases a lot. I found some commands for cleaning the cache…

      What I have used:

      squid -k shutdown
      
      rm -rf /var/squid/cache/*
      
      squid -z
      

      …but don't get back my space on my harddrive.

      I have also tried to clean the logs under "/var/squid/logs" but this was only 30MB. I attached some screenshots of my configuration maybe you can find something wrong.

      So I know look for some hints that could probably be helpfull for me. I kindly ask you if you could please help in that case. What else could it be?

      King Regards

      pfSense_Screenshot.png
      pfSense_Screenshot.png_thumb

      1 Reply Last reply Reply Quote 0
      • B
        bryan.paradis
        last edited by

        Trying running the below code you could try changing the 50MB threshold to something higher as well to pinpoint quicker the folder in question.

        
        cd /
        du -h -t 50MB
        
        
        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          So you have used 3GB. Is that a problem? Are you seeing filesystem full errors?
          10GB is a small drive, what sort of drive is it?

          Steve

          1 Reply Last reply Reply Quote 0
          • L
            Lord_Firewall
            last edited by

            @stephenw10:

            So you have used 3GB. Is that a problem? Are you seeing filesystem full errors?
            10GB is a small drive, what sort of drive is it?

            Steve

            Ok guys, over the night my problem solved on its own. Now I'm back at 9 percent of disk usage.

            @stehenw10
            Don't get me wrong. That's not a problem but I like it when I have the control over my machines and this includes the possibility to manage the space on the harddrive in my firewall machine.
            I don't see any filesystem errors likewise I don't know where I have to look. ;) The PC is an old desktop computer which now functioned as the firewall.

            Thank you both for you quick response.

            Bye

            1 Reply Last reply Reply Quote 0
            • B
              bryan.paradis
              last edited by

              @Lord_Firewall:

              @stephenw10:

              So you have used 3GB. Is that a problem? Are you seeing filesystem full errors?
              10GB is a small drive, what sort of drive is it?

              Steve

              Ok guys, over the night my problem solved on its own. Now I'm back at 9 percent of disk usage.

              @stehenw10
              Don't get me wrong. That's not a problem but I like it when I have the control over my machines and this includes the possibility to manage the space on the harddrive in my firewall machine.
              I don't see any filesystem errors likewise I don't know where I have to look. ;) The PC is an old desktop computer which now functioned as the firewall.

              Thank you both for you quick response.

              Bye

              Are you running in a virtual machine by chance?

              1 Reply Last reply Reply Quote 0
              • L
                Lord_Firewall
                last edited by

                @bryan.paradis:

                Are you running in a virtual machine by chance?

                No I do not.

                Regards

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