[tor-relays] Tor Process Being Killed on VPS
swsnyder at snydernet.net
Fri Feb 26 13:05:06 UTC 2016
I'm unfamiliar with the memory use of nginx, but 512MB ought to be more
than enough RAM to run just the relay on a 64-bit VPS..
Are you *sure* you're not running anything else? Not crond? Not ntpd?
Not iptables? If not SSH, how do you administer the VPS?
What type of virtualization is the VPS using? If not OpenVZ, make sure
you have virtual memory on the system. You can create a swapfile if
don't already have a swap partition.
Do you have SELinux enabled in the VPS? if so, get rid of it.
Finally, you may have to ditch nginx and just use Tor and the system
utilities to monitor performance.
On 02/25/2016 06:19 PM, Stephen R Guglielmo wrote:
> 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?
More information about the tor-relays