Re: [tor-relays] "/var/tor/diff-cache" full!

2020-06-18 Thread Salvatore Cuzzilla



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 mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] "/var/tor/diff-cache" full!

2020-06-18 Thread Toralf Förster
On 6/18/20 10:21 AM, Salvatore Cuzzilla wrote:
> 
> The amount of files within "/var/tor/diff-cache" is steadily increasing.
I do have 256 files, each 0.5 MB in size, the oldest is 24 hours old.
So a retention seems not to work at your system.

-- 
Toralf



signature.asc
Description: OpenPGP digital signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] "/var/tor/diff-cache" full!

2020-06-18 Thread George
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

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


Re: [tor-relays] "/var/tor/diff-cache" full!

2020-06-18 Thread r1610091651
Try this in config file:

MaxConsensusAgeForDiffs 4 hours

Kind regards

On Thu, 18 Jun 2020 at 17:57, 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?
>
>
> ---
> :wq,
> Salvatore.
> ___
> tor-relays mailing list
> tor-relays@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] "/var/tor/diff-cache" full!

2020-06-18 Thread Roger Dingledine
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


[tor-relays] "/var/tor/diff-cache" full!

2020-06-18 Thread Salvatore Cuzzilla

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