[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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@xxxxxxxx> 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@xxxxxxxxxxxxxx
Date: Sun, 11 Aug 2013 13:57:27 +0300
To: tor-relays@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [tor-relays] No disk space for new files created by Tor


On Sun, Aug 11, 2013 at 1:41 PM, TonyXue <tonyxsuper@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays




_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays