<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>But will that configuration stop Tor writes the heartbeat information into the notices.log? I need that.<br><br><div><hr id="stopSpelling"><span class="GingerNoCheckStart"></span>Date: Mon, 12 Aug 2013 03:25:06 +0100<br>From: th6045@gmail.com<br>To: tor-relays@lists.torproject.org<br>Subject: Re: [tor-relays] No disk space for new files created by Tor<br><br><div dir="ltr">I tend to kill almost all logging and use AvoidDiskWrites 1 (or whatever it is) in torrc. Also your log files will fill up a lot faster if you are a directory server.</div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">
On 12 August 2013 02:18, TonyXue <span dir="ltr"><<a href="mailto:tonyxsuper@live.com" target="_blank">tonyxsuper@live.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">



<div><div dir="ltr">I checked the old notices.log file.<div><br></div><div>The warning of unable to write just came out from nowhere. The log before the very first warning was my heartbeat data.</div><div><br></div><div>
However, there was something that different than "unable to store router descriptor":</div><div><br></div><div><div>Aug 11 06:23:14.000 [warn] Error writing to "/var/lib/tor/cached-<span>microdesc</span>-consensus": No space left on device</div>
<div>Aug 11 06:23:14.000 [warn] Error closing "/var/lib/tor/cached-<span>microdescs</span><span>.</span>new": No space left on device</div><div>Aug 11 06:23:14.000 [warn] Error writing to "/var/lib/tor/cached-consensus": No space left on device</div>
<div>Aug 11 06:23:14.000 [warn] Error closing "/var/lib/tor/cached-<span>microdescs</span><span>.</span>new": No space left on device</div><div>Aug 11 06:23:14.000 [warn] Error closing "/var/lib/tor/cached-<span>microdescs</span><span>.</span>new": No space left on device</div>
<div class="ecxim"><div>Aug 11 06:23:15.000 [warn] Error writing to "/var/lib/tor/cached-descriptors<span>.</span>new": No space left on device</div><div>Aug 11 06:23:15.000 [warn] Unable to store router descriptor</div>
<div>Aug 11 06:23:15.000 [warn] Error writing to "/var/lib/tor/cached-descriptors<span>.</span>new": No space left on device</div><div><br></div><div><br></div></div><div>What's more interesting happened was I checked the new notices.log file again and seems that after Tor opening another new notices.log, everything back to normal. There is only heartbeat information in the new file for the past hours. And I didn't do anything.</div>
<div><br></div><div><br></div><div><br></div><div>Tony.</div><br><div><hr><span></span>From: <a href="mailto:kostas@jakeliunas.com" target="_blank">kostas@jakeliunas.com</a><br>Date: Sun, 11 Aug 2013 19:28:43 +0300<br>To: <a href="mailto:rm@romanrm.net" target="_blank">rm@romanrm.net</a><br>
CC: <a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><div class="ecxim"><br>Subject: Re: [tor-relays] No disk space for new files created by Tor<br><br></div><div><div class="h5">
On Sun, Aug 11, 2013 at 7:06 PM, Roman Mamedov <span dir="ltr"><<a href="mailto:rm@romanrm.net" target="_blank">rm@romanrm.net</a>></span> wrote:<br><div><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">


<div>On Sun, 11 Aug 2013 14:43:59 +0300<br>
Kostas Jakeliunas <<a href="mailto:kostas@jakeliunas.com" target="_blank">kostas@jakeliunas.com</a>> wrote:<br>
<br>
> Huh, curious why it fails to write stuff to disk.<br>
><br>
> Does doing<br>
> echo "something" > tempfile<br>
> succeed?<br>
><br>
> /var/log/tor is hogging diskspace indeed :) perhaps then do<br>
> cd /var/log/tor<br>
> sudo rm *.gz<br>
<br>
</div>Before deleting you should review the log files to find out what exactly is<br>
happening to Tor, that made it produce so much logs. This shouldn't ever<br>
happen during normal operation.</blockquote><div><br></div><div>That's true. I assumed the juicy stuff would be in notices.log and notices.log.1, but yes, it would make a lot of sense to review the older logs as well. Perhaps Tor is not starting up nicely and is constantly spitting out error messages / warnings. </div>


</div>
<br></div></div><div class="ecxim">_______________________________________________
tor-relays mailing list
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a></div></div><span></span></div>                                      </div></div>
<br>_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</div><span class="GingerNoCheckEnd"></span>                                          </div></body>
</html>