Re: [tor-relays] Tor uses up all available memory and eventually quits

2018-01-31 Thread George W. Maschke
Thank you to all who responded to my question! The memory issue seems to be fixed now, and I would like to share what worked (and what didn’t). I first tried setting MaxMemInQueues to 512, then 384, while still running Tor 0.2.5.16. This didn’t help. Adding the option DisableOOSCheck 0 caused

Re: [tor-relays] Tor uses up all available memory and eventually quits

2018-01-30 Thread teor
> On 31 Jan 2018, at 10:45, r1610091651 wrote: > >> On Sun, 28 Jan 2018 at 11:06 teor wrote: >> >> >> Try to make sure MaxMemInQueues allows 10-20s of traffic. >> >> > Hi teor > > That advice is quite sensible in my opinion and should be incorporated into > tor mainline. With the recent

Re: [tor-relays] Tor uses up all available memory and eventually quits

2018-01-30 Thread r1610091651
On Sun, 28 Jan 2018 at 11:06 teor wrote: > > > Try to make sure MaxMemInQueues allows 10-20s of traffic. > > > Hi teor That advice is quite sensible in my opinion and should be incorporated into tor mainline. With the recent load spikes, I've always wanders why is there a need for that may MB or

Re: [tor-relays] Tor uses up all available memory and eventually quits

2018-01-29 Thread thomas
> georgemasc...@posteo.de hat am 28. Januar 2018 um 06:54 geschrieben: > > > I am running a Tor (0.2.5.16 on Debian Linux) relay on a VPS with one > gigabyte of RAM and no swap partition or swap file. The hosting company > states that it doesn't support swap in order to prolong the life of its

Re: [tor-relays] Tor uses up all available memory and eventually quits

2018-01-28 Thread teor
> On 28 Jan 2018, at 20:51, r1610091651 wrote: > > I think the advice to create swap will get George kicked of VPS, as it goes > right against the wishes of hosting company, and directly affects their > hardware. > > A better advice is to tune tor process to work within memory boundaries. The

Re: [tor-relays] Tor uses up all available memory and eventually quits

2018-01-28 Thread r1610091651
I think the advice to create swap will get George kicked of VPS, as it goes right against the wishes of hosting company, and directly affects their hardware. A better advice is to tune tor process to work within memory boundaries. The "MaxMemInQueues 512 MB" is right direction, but from personal e

Re: [tor-relays] Tor uses up all available memory and eventually quits

2018-01-27 Thread tor
I think running on 1 GB of RAM with no swap is going to be difficult, especially if you have decent bandwidth and your node is busy. You can create a small swap file on the existing file-system like so: sudo fallocate -l 1G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo sw

[tor-relays] Tor uses up all available memory and eventually quits

2018-01-27 Thread georgemaschke
I am running a Tor (0.2.5.16 on Debian Linux) relay on a VPS with one gigabyte of RAM and no swap partition or swap file. The hosting company states that it doesn't support swap in order to prolong the life of its solid state drives. Tor gradually uses up more and more memory until its percent