[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Tor takes too much RAM



Scott Bennett wrote:
>      On Fri, 20 Jul 2007 23:39:45 -0700 Ben Wilhelm <zorba-tor@xxxxxxxxxxxxx>
> wrote:
> 
>>
>> I'd love to keep it running, but when it's singlehandedly chewing up 
>> more than half of my system's RAM, it just isn't going to happen. Any 
>> suggestions on this? Are there config options I can tweak to make it a 
>> little less RAM-hungry, or is it just intrinsically a memory gobbler?
>>
>      How can you tell that it is?  The display of numbers above doesn't seem to
> show the important figure, namely, the working set size for tor.  The rest of
> what tor allocates in user space is irrelevant.

on my Debian Etch box 'top' command shows

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
15486 debian-t  25   0 2329m 1.5g  25m S   75 78.2  17930:45 tor

and some days later

anonymizer:~# tail /var/log/tor/notices.log
Jun 23 06:25:34.633 [notice] Tor 0.1.2.14 opening new log file.
Jun 23 09:09:32.052 [err] Out of memory on realloc(). Dying.

regards, Olaf