[tor-relays] No disk space for new files created by Tor

Cassey Jean Claude cassey.jean.claude at gmail.com
Sun Aug 11 15:56:21 UTC 2013


I also find running "du -s ./*" useful for figuring out which 
directories are hogging files...

On 8/11/2013 6:43 AM, Kostas Jakeliunas wrote:
> Huh, curious why it fails to write stuff to disk.
>
> Does doing
> echo "something" > tempfile
> succeed?
>
> /var/log/tor is hogging diskspace indeed :) perhaps then do
> cd /var/log/tor
> sudo rm *.gz
>
> then do
>
> du -sh *
>
> to see if there are any remainder large files left there.
>
> On Sun, Aug 11, 2013 at 2:32 PM, TonyXue <tonyxsuper at live.com 
> <mailto:tonyxsuper at live.com>> wrote:
>
>     Fllowing are the result of /*df -h:*/
>     */
>     /*
>     *
>     Filesystem      Size  Used Avail Use% Mounted on
>     /dev/xvda1       35G   17G   17G  51% /
>     udev            235M  4.0K  235M   1% /dev
>     tmpfs            98M  192K   98M 1% /run
>     none            5.0M     0  5.0M 0% /run/lock
>     none            244M     0  244M 0% /run/shm
>
>     And seems /var/log/tor takes up 16G.
>
>     Tony.
>     *
>
>     ------------------------------------------------------------------------
>     From: kostas at jakeliunas.com <mailto:kostas at jakeliunas.com>
>     Date: Sun, 11 Aug 2013 13:57:27 +0300
>     To: tor-relays at lists.torproject.org
>     <mailto:tor-relays at lists.torproject.org>
>     Subject: Re: [tor-relays] No disk space for new files created by Tor
>
>
>     On Sun, Aug 11, 2013 at 1:41 PM, TonyXue <tonyxsuper at live.com
>     <mailto:tonyxsuper at live.com>> wrote:
>     >
>     > [...]
>     > It seems that I've run out of space. But my VPS comes with 35GB
>     disk space and it shouldn't be used up so fast. So how to deal
>     with it?
>     > If I do run out of space,any advice for deleting the old files
>     of Tor? Are there any files created by Tor are not useful anymore
>     and can be deleted?
>
>     Assuming you're running a *nix system on your VPS, what does running
>     df -h
>     say?
>
>     Additionally, you can try getting a list of largest
>     directories/files on your VPS, like so:
>     sudo -s
>     cd /
>     for i in G M K; do du -ah | grep [0-9]$i | sort -nr -k 1; done |
>     head -n 1000 | tac
>
>     or just run the latter on your home directory (and don't use sudo
>     in that case, of course.)
>
>     Kostas.
>
>     _______________________________________________ tor-relays mailing
>     list tor-relays at lists.torproject.org
>     <mailto:tor-relays at lists.torproject.org>
>     https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
>     _______________________________________________
>     tor-relays mailing list
>     tor-relays at lists.torproject.org
>     <mailto:tor-relays at lists.torproject.org>
>     https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
>
>
>
> _______________________________________________
> tor-relays mailing list
> tor-relays at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20130811/9de98257/attachment.html>


More information about the tor-relays mailing list