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

    Disk usage 98% of 30G

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 2 Posters 1.5k 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.
    • I
      isoliman
      last edited by

      Please advise how can return the free scape back again to normal
      Thanks

      4.5G /var/squid/cache
      4.0k /var/squid/acl
      23G /var/squid/logs
      27G /var/squid
      [2.1.5-RELEASE][root@firewall.local]/var/squid/logs(29): df -h
      Filesystem    Size    Used  Avail Capacity  Mounted on
      /dev/da0s1a    30G    28G    459M    98%    /
      devfs          1.0k    1.0k      0B  100%    /dev
      /dev/md0      3.6M    52k    3.3M    2%    /var/run
      devfs          1.0k    1.0k      0B  100%    /var/dhcpd/dev

      1 Reply Last reply Reply Quote 0
      • A
        Abhishek
        last edited by

        From squid settings enable Rotate Logs  and enter number of days u want to keep the logs  ,

        how long back did you install the squid package?

        2.3-RC (amd64)
        built on Mon Apr 04 17:09:32 CDT 2016
        FreeBSD 10.3-RELEASE
        Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz

        darkstat 3.1.2_1
        Lightsquid 3.0.3_1
        mailreport 3.0_1
        pfBlockerNG 2.0.9_1  
        RRD_Summary 1.3.1_2
        snort 3.2.9.1_9  
        squid 0.4.16_1  
        squidGuard 1.14_1
        syslog-ng 1.1.2_2

        1 Reply Last reply Reply Quote 0
        • I
          isoliman
          last edited by

          From squid settings enable Rotate Logs  and enter number of days u want to keep the logs  ,

          It's already configured "Log rotate is 7 days"
          I have did some command and resolve the problem
          df -h - check what is consuming space

          rm -rf /var/squi/cache/*  - clear cache log

          squid -z - rebuild cache

          rm -rf  /var/squid/logs/*  - clear old logs

          [2.1.5-RELEASE][root@firewall.fairtrans.local]/root(5): df -h
          Filesystem    Size    Used  Avail Capacity  Mounted on
          /dev/da0s1a    30G    5.0G    23G    18%    /
          devfs          1.0k    1.0k      0B  100%    /dev
          /dev/md0      3.6M    52k    3.3M    2%    /var/run
          devfs          1.0k    1.0k      0B  100%    /var/dhcpd/dev

          how long back did you install the squid package?
          Since 2014
          2.1.5-RELEASE (i386)
          built on Mon Aug 25 07:44:26 EDT 2014
          FreeBSD 8.3-RELEASE-p16

          Please advise is it possible to upgrade without missing the current settings and configuration for the server
          Update available. Click Here to view update.
          A new version is now available

          Current version: 2.1.5-RELEASE
                Built On: Mon Aug 25 07:44:26 EDT 2014
              New version: 2.3-RELEASE

          Update source: https://updates.pfsense.org/_updaters

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