[tor-relays] Tor Process Being Killed on VPS

Roman Mamedov rm at romanrm.net
Thu Feb 25 23:46:00 UTC 2016


On Thu, 25 Feb 2016 18:19:44 -0500
Stephen R Guglielmo <srguglielmo at gmail.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20160226/124de091/attachment.sig>


More information about the tor-relays mailing list