Analysis of the problems many relay operators are currently facing

Christian Fromme kaner at strace.org
Sat Apr 24 18:17:42 UTC 2010


Hi,

On Fri, Apr 23, 2010 at 7:48 AM, Christian Fromme <kaner at strace.org> wrote:
> Hi,
>
> On Fri, Apr 23, 2010 at 12:14 AM, Roger Dingledine <arma at mit.edu> 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



More information about the tor-dev mailing list