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

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



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