<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Log Partition filled up in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Log-Partition-filled-up/m-p/178205#M29660</link>
    <description>&lt;P&gt;A long time ago I ran into a simple program called treesize which allows you to run it in any directory and will give you a listing of the directories with the amount of KB/MB/GB is used in that directory.&lt;/P&gt;
&lt;P&gt;run : vi&amp;nbsp; /usr/bin/treesize&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and paste this content:&lt;/P&gt;
&lt;P&gt;du -k --max-depth=1 | sort -nr | awk '&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BEGIN {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; split("KB,MB,GB,TB", Units, ",");&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u = 1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while ($1 &amp;gt;= 1024) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$1 = $1 / 1024;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u += 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$1 = sprintf("%.1f %s", $1, Units[u]);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print $0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; '&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Close vi and execute: chmod +x /usr/bin/treesize&lt;/P&gt;</description>
    <pubDate>Mon, 17 Apr 2023 04:57:16 GMT</pubDate>
    <dc:creator>Maarten_Sjouw</dc:creator>
    <dc:date>2023-04-17T04:57:16Z</dc:date>
    <item>
      <title>Log Partition filled up</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Log-Partition-filled-up/m-p/178091#M29655</link>
      <description>&lt;P&gt;Log partition getting filled up on gateway.&lt;/P&gt;&lt;P&gt;Setup: Distributed setup with single gateway&lt;BR /&gt;OS : R81.10 HF94&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt; On Mgmt we could see the daily logs and even in smart console logs are visible.&lt;BR /&gt;&amp;gt; Every day space utilization is getting increased on gateway even though traffic logs are getting properly forwarded to MGMT server.&lt;BR /&gt;&amp;gt; currently we have disabled the packet capture in the threat prevention profile, but still we partition is getting filled up.&lt;/P&gt;&lt;P&gt;relevent commands collected during the troubleshooting.&lt;/P&gt;&lt;P&gt;# enabled_blades&lt;BR /&gt;fw urlf av appi ips anti_bot content_awareness mon&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# on 12th we have cleared older files in repository and also backups and log files, and var/log partition was only 59% but after 24hrs its already 75%&lt;/P&gt;&lt;P&gt;&amp;gt; ANy inputs and troubleshooting methods are helpul.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 12:47:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Log-Partition-filled-up/m-p/178091#M29655</guid>
      <dc:creator>chandan_urs</dc:creator>
      <dc:date>2023-04-14T12:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Log Partition filled up</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Log-Partition-filled-up/m-p/178129#M29658</link>
      <description>&lt;P&gt;You should probably follow this SK to see what files are big:&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk63361" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk63361&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;And, as the SK suggests, you should probably work with the TAC: &lt;A href="https://help.checkpoint.com" target="_blank"&gt;https://help.checkpoint.com&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 00:12:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Log-Partition-filled-up/m-p/178129#M29658</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-04-15T00:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Log Partition filled up</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Log-Partition-filled-up/m-p/178205#M29660</link>
      <description>&lt;P&gt;A long time ago I ran into a simple program called treesize which allows you to run it in any directory and will give you a listing of the directories with the amount of KB/MB/GB is used in that directory.&lt;/P&gt;
&lt;P&gt;run : vi&amp;nbsp; /usr/bin/treesize&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and paste this content:&lt;/P&gt;
&lt;P&gt;du -k --max-depth=1 | sort -nr | awk '&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BEGIN {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; split("KB,MB,GB,TB", Units, ",");&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u = 1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while ($1 &amp;gt;= 1024) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$1 = $1 / 1024;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;u += 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$1 = sprintf("%.1f %s", $1, Units[u]);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print $0;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; '&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Close vi and execute: chmod +x /usr/bin/treesize&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 04:57:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Log-Partition-filled-up/m-p/178205#M29660</guid>
      <dc:creator>Maarten_Sjouw</dc:creator>
      <dc:date>2023-04-17T04:57:16Z</dc:date>
    </item>
  </channel>
</rss>

