Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-28 Thread Moritz Bartl
On 02/26/2016 11:22 PM, Random Tor Node Operator wrote: >> I have a VPS with 512 MB RAM. [...] The relay is an entry guard >> and moves about 20 MB/s. > Is that really 20 MegaByte per second? > If so, I fear 512 MB RAM won't cut it. > According to my experience, for a 100 Mbit/s relay you need at

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-28 Thread Sean Greenslade
On Fri, Feb 26, 2016 at 04:03:14PM -0500, Steven Jones wrote: > clearing the memory cache with a cron job cant hurt Yes it can. There is no reason to clear the vm cache manually unless you are testing cache-related code paths. The kernel will automatically reclaim cache memory for program memory

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-26 Thread Stephen R Guglielmo
On Fri, 26 Feb 2016 22:56:05 + Toralf Förster wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Stephen R Guglielmo: > > NTPd is not running (I've tried, but the kernel does not have permission to > > set the clock; I assume this is due to the hypervisor

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-26 Thread Random Tor Node Operator
On 26.02.2016 00:19, Stephen R Guglielmo wrote: > I have a VPS with 512 MB RAM. [...] The relay is an entry guard and moves > about 20 MB/s. Is that really 20 MegaByte per second? If so, I fear 512 MB RAM won't cut it. According to my experience, for a 100 Mbit/s relay you need at least 1 GB

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-26 Thread Steven Jones
echo 3 | tee /proc/sys/vm/drop_caches On Thu, Feb 25, 2016 at 6:19 PM, Stephen R Guglielmo 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

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-26 Thread Steven Jones
clearing the memory cache with a cron job cant hurt On Thu, Feb 25, 2016 at 6:19 PM, Stephen R Guglielmo 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

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-26 Thread s7r
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, More information is needed. Please indicate the type of virtualization used (VMware, Xen, KVM, OpenVZ), your operating system and Tor version as well as the "out of memory" log messages you mentioned - are these from kernel logs or Tor's

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-26 Thread Steve Snyder
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

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-26 Thread Xza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 This happend before with my 512MB node, when it was set unlimited amount of Mbit/sec. Also swap might help. On February 26, 2016 12:19:44 AM GMT+01:00, Stephen R Guglielmo wrote: >Hello, > >I have a VPS with 512 MB RAM. I

Re: [tor-relays] Tor Process Being Killed on VPS

2016-02-25 Thread Roman Mamedov
On Thu, 25 Feb 2016 18:19:44 -0500 Stephen R Guglielmo 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

[tor-relays] Tor Process Being Killed on VPS

2016-02-25 Thread Stephen R Guglielmo
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