tor terminates when running out of memory
I am running a tor 0.1.1.24-1~~sarge.1 server on a virtual server (OpenVZ). One thing about OpenVZ is that the amount of memory available to the virtual machine varies all the time. The server shuts down when it runs out of memory:
Logfile entry: Oct xx xx:xx:xx.xxx [err] _tor_realloc(): Out of memory. Dying.
I would like tor to keep running when it runs out of memory - perhaps it can just close a few connections, stop accepting new connections for a while, discard some buffers etc?
Tor terminating because it runs out of memory is not listed at http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#head-43d0c843cb6c453ad1231c48c11196a46fae9540 so I think perhaps this is a bug?
[Automatically added by flyspray2trac: Operating System: Other Linux]