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

Disk usage 100%

Scheduled Pinned Locked Moved General pfSense Questions
6 Posts 2 Posters 4.4k 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.
  • J
    josey
    last edited by Apr 19, 2012, 1:19 PM

    Hi guys
    I was searching forum for help with no luck,
    I have 100% of disk usage, and network performance become really poor…
    is there way to manually "clean" disk?

    It seems that squid cache eat all disk space.
    I have 2HDD 320gb in raid (640gb total) and cache is set to 500gb
    4gb ram with 8gb swap

    $ df -h
    Filesystem    Size    Used  Avail Capacity  Mounted on
    /dev/ar0s1a    570G    524G      0B  100%    /
    devfs          1.0K    1.0K      0B  100%    /dev
    /dev/md0      3.6M    34K    3.3M    1%    /var/run
    devfs          1.0K    1.0K      0B  100%    /var/dhcpd/dev

    thanks

    1 Reply Last reply Reply Quote 0
    • N
      Nachtfalke
      last edited by Apr 19, 2012, 1:34 PM

      Delete squid cache from disk.

      Look at /var/squid/

      1 Reply Last reply Reply Quote 0
      • J
        josey
        last edited by Apr 19, 2012, 1:43 PM

        Squid stopped on services
        then trying to delete it, but it seems im doing it wrong
        can you help please

        this in my cache dir
        ls /var/squid/cache
        00
        01
        02
        03
        04
        05
        06
        07
        08
        09
        0A
        0B
        0C
        0D
        0E
        0F
        swap.state
        swap.state.clean
        swap.state.new

        1 Reply Last reply Reply Quote 0
        • N
          Nachtfalke
          last edited by Apr 19, 2012, 1:59 PM

          @josey:

          Squid stopped on services
          then trying to delete it, but it seems im doing it wrong
          can you help please

          this in my cache dir
          ls /var/squid/cache
          00
          01
          02
          03
          04
          05
          06
          07
          08
          09
          0A
          0B
          0C
          0D
          0E
          0F
          swap.state
          swap.state.clean
          swap.state.new

          rm -r /var/squid/cache/*
          

          after that:

          squid -z
          
          1 Reply Last reply Reply Quote 0
          • J
            josey
            last edited by Apr 19, 2012, 4:54 PM

            thanks
            did that and after 3 hours :)
            result is:
            disk usage 86%

            and
            $ df -h
            Filesystem    Size    Used  Avail Capacity  Mounted on
            /dev/ar0s1a    570G    451G    73G    86%    /
            devfs          1.0K    1.0K      0B  100%    /dev
            /dev/md0      3.6M    34K    3.3M    1%    /var/run
            devfs          1.0K    1.0K      0B  100%    /var/dhcpd/dev

            and im confused completely, it is suppose to delete all cache, and it did, but there is still 451GB of something? i dont think that is from logs, because i dont have much logging enabled.

            1 Reply Last reply Reply Quote 0
            • J
              josey
              last edited by Apr 19, 2012, 5:06 PM

              ok, my mistake
              everything fine after squid -z and reboot
              disk usage 0%

              thanks

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received