On Thu, 25 Feb 2016 18:19:44 -0500 Stephen R Guglielmo <srguglielmo@xxxxxxxxx> wrote: > Hello, > > I have a VPS with 512 MB RAM. I run nothing on it except nginx and a Tor relay. The relay is an entry guard and moves about 20 MB/s. It seems that the kernel is killing the Tor process with "out of memory" errors. Are there any tips for mitigating this? I don't have the money right now to upgrade to the next higher VPS plan which has more RAM, unfortunately. Maybe there's some config settings that I can modify to limit the RAM usage? Or, am I just out of luck? If you VPS is based on KVM, Xen or VMware (i.e. not the container-based OpenVZ), you could add some swap space. But if it gets used too hard, you risk getting warned or terminated by your VPS provider for disk I/O abuse. And of course some performance degradation will occur as soon as Tor doesn't fit entirely into RAM and has to use the swap. -- With respect, Roman
Attachment:
pgpIrbb2o__EN.pgp
Description: OpenPGP digital signature
_______________________________________________ tor-relays mailing list tor-relays@xxxxxxxxxxxxxxxxxxxx https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays