<div dir="ltr">Hey !<br>Glad I could help.<div><br></div><div>Since you activated compression just now, it will run on the next weekly (maybe)  logrotate run.<br></div><div><br></div><div>Usually /etc/logtorate.d/syslog takes care of that.<br>
</div><div><br></div><div>Are you missing that configuration file?</div><div><br></div><div>/var/log/messages (syslog) requires specific configuration and its usually part of the linux distro.</div><div><br></div><div>Cheers!</div>
<div>Gustavo</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-12 20:23 GMT+01:00 Felix Kaegi <span dir="ltr"><<a href="mailto:f.kaegi@fairtalk.com" target="_blank">f.kaegi@fairtalk.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE-CH" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Gustavo<br>
<br>Thanks for the tips. I changed the rotate length and activated the compression. <br><br>Would you know where I find the individual settings for the log files ‘messages’ and ‘btmp’?<br><br>Best wishes<br>Felix<br><br><br>
<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <a href="mailto:blueonyx-bounces@mail.blueonyx.it" target="_blank">blueonyx-bounces@mail.blueonyx.it</a> [mailto:<a href="mailto:blueonyx-bounces@mail.blueonyx.it" target="_blank">blueonyx-bounces@mail.blueonyx.it</a>] <b>On Behalf Of </b>Gustavo Silva<br>
<b>Sent:</b> Dienstag, 12. August 2014 19:09</span></p><div class=""><br><b>To:</b> BlueOnyx General Mailing List<br></div><b>Subject:</b> [BlueOnyx:15774] Re: /var partition frequently filling up<u></u><u></u><p></p><div>
<div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Usually in my case, logs end up filling up the /var partition after a year or so. Check out the /etc/logrotate.conf and individual /etc/logrotate.d/ settings and also make sure compress is enabled. That should lower the usage. Hope this helps.</span><u></u><u></u></p>
<div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Gustavo<u></u><u></u></span></p>
</div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">2014-08-12 17:37 GMT+01:00 Felix Kaegi <<a href="mailto:f.kaegi@fairtalk.com" target="_blank">f.kaegi@fairtalk.com</a>>:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Steve<br>
<br>Thanks for the hint. <br><br>The main result is:<br>1419152 /var/lib<br>1299684 /var/log</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In /var/log it is mainly the messages and btmp files that occupy hundreds of megabytes.<br>
<br>Any further help would be appreciated.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <a href="mailto:blueonyx-bounces@mail.blueonyx.it" target="_blank">blueonyx-bounces@mail.blueonyx.it</a> [mailto:<a href="mailto:blueonyx-bounces@mail.blueonyx.it" target="_blank">blueonyx-bounces@mail.blueonyx.it</a>] <b>On Behalf Of </b>Steven Howes<br>
<b>Sent:</b> Dienstag, 12. August 2014 17:34<br><b>To:</b> BlueOnyx General Mailing List<br><b>Subject:</b> [BlueOnyx:15770] Re: /var partition frequently filling up</span><u></u><u></u></p></div></div><div><div><p class="MsoNormal">
 <u></u><u></u></p><p class="MsoNormal">On 12 Aug 2014, at 16:21, Felix Kaegi <<a href="mailto:f.kaegi@fairtalk.com" target="_blank">f.kaegi@fairtalk.com</a>> wrote:<u></u><u></u></p><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div><div><p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1f497d">The /var partition on our SL/BlueOnyx server is frequently filling up. The partition has 4GB of disk space and BO reports a 96% disk usage and refuses to do YUM updates and even terminates the mail server. <br>
<br>How best to resolve this on a permanent basis?</span><u></u><u></u></p></div></div></blockquote></div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Find out what’s causing it. Look around and see where the space has gone.<u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Run:<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Menlo","serif"">du --max-depth=1 /var</span><u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">And see where it’s all used. You can remove the /var of the end and CD into directories to see where it’s gone, working down through layers until you find it.<u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Steve<u></u><u></u></p></div></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>
Blueonyx mailing list<br><a href="mailto:Blueonyx@mail.blueonyx.it" target="_blank">Blueonyx@mail.blueonyx.it</a><br><a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><u></u><u></u></p>
</blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div><br>_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
<br></blockquote></div><br></div>