Hi Folks,
I'm running a non-exit relay (v0.4.2.7) on OpenBSD 6.7. The amount of files within "/var/tor/diff-cache" is steadily increasing. Up to almost 6G fulfilling the /var partition to the max.
Is this an expected behavior? I there any solution to overcome it?
------- :wq, Salvatore.
On 6/18/20 4:21 AM, Salvatore Cuzzilla wrote:
Hi Folks,
I'm running a non-exit relay (v0.4.2.7) on OpenBSD 6.7. The amount of files within "/var/tor/diff-cache" is steadily increasing. Up to almost 6G fulfilling the /var partition to the max.
Is this an expected behavior? I there any solution to overcome it?
No, not expected at all.
Quickly glancing at an OpenBSD relay, I see ~250 files about ~500K in size.
Do you have a lot more files, or are they larger?
g
Try this in config file:
MaxConsensusAgeForDiffs 4 hours
Kind regards
On Thu, 18 Jun 2020 at 17:57, Salvatore Cuzzilla salvatore@cuzzilla.org wrote:
Hi Folks,
I'm running a non-exit relay (v0.4.2.7) on OpenBSD 6.7. The amount of files within "/var/tor/diff-cache" is steadily increasing. Up to almost 6G fulfilling the /var partition to the max.
Is this an expected behavior? I there any solution to overcome it?
:wq, Salvatore. _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
On Thu, Jun 18, 2020 at 10:21:34AM +0200, Salvatore Cuzzilla wrote:
Hi Folks,
I'm running a non-exit relay (v0.4.2.7) on OpenBSD 6.7. The amount of files within "/var/tor/diff-cache" is steadily increasing. Up to almost 6G fulfilling the /var partition to the max.
Is this an expected behavior? I there any solution to overcome it?
Definitely not expected behavior. Tor maintains a bunch of files there, and they can grow to take up a huge amount of space, but huge should be on the order of a few hundred megabytes. In particular, it should be automatically deleting files that are old enough to be unlikely to be used in practice.
I wonder if your OS is interfering with the deletion process somehow, like with an apparmor equivalent?
Or, has your clock changed in a significant way? What are the timestamps on the files?
Each file should be around 500KBytes to 1MByte ish, so if any of the files are way way bigger than this, that's good info too.
--Roger
I realized that there was a misconfiguration on the ntpd daemon could this be the reason? I just fixed it.
Currently, I can count ~260 files with approx 500K each (total 200M) , oldest one is from yesterday.
I'll keep under monitoring for a while , let's what will happen.
On 18.06.2020 12:07, Roger Dingledine wrote:
On Thu, Jun 18, 2020 at 10:21:34AM +0200, Salvatore Cuzzilla wrote:
Hi Folks,
I'm running a non-exit relay (v0.4.2.7) on OpenBSD 6.7. The amount of files within "/var/tor/diff-cache" is steadily increasing. Up to almost 6G fulfilling the /var partition to the max.
Is this an expected behavior? I there any solution to overcome it?
Definitely not expected behavior. Tor maintains a bunch of files there, and they can grow to take up a huge amount of space, but huge should be on the order of a few hundred megabytes. In particular, it should be automatically deleting files that are old enough to be unlikely to be used in practice.
I wonder if your OS is interfering with the deletion process somehow, like with an apparmor equivalent?
Or, has your clock changed in a significant way? What are the timestamps on the files?
Each file should be around 500KBytes to 1MByte ish, so if any of the files are way way bigger than this, that's good info too.
--Roger
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
------- :wq, Salvatore.
tor-relays@lists.torproject.org