[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Analysis of the problems many relay operators are currently facing
Hi,
On Fri, Apr 23, 2010 at 7:48 AM, Christian Fromme <kaner@xxxxxxxxxx> wrote:
> Hi,
>
> On Fri, Apr 23, 2010 at 12:14 AM, Roger Dingledine <arma@xxxxxxx> wrote:
>
>>> we might want to see if using the new-ish standalone
>>> Linux jemalloc helps people. (We keep hitting fragmentation issues
>>> with glibc malloc.) To try it out, build the code from
>>> http://www.canonware.com/jemalloc/ , stick the resulting .so file in
>>> your LD_PRELOAD before you start Tor, and see if the memory usage is
>>> much better.
>>
>> Somebody should try this and see how it goes. You might suggest it to
>> the folks on tor-relays -- I bet not many of them read this list.
>
> I ran into that OOM killer memory problem on my Linux based exit node,
> too (Nick and Roger might remember the machine hanging and basically
> needing a reset a few weeks back). Currently I am restarting Tor daily
> via cron. So I am happy to try this jemalloc thing and report back.
Here is my follow-up mail:
I tried jemalloc. It seems to help against the excessive memory usage,
but takes CPU usage up to 99%. (Maybe the memory isn't high because
Tor isnt doing anything useful?)
Best,
/C