Hi Henning,

Good work. I just compiled, did a few tests and let it run on a box. It's working fine.
Just a question , the memory manager was the `system` one before your latest patch, right ? aka dlmalloc.  ?

Since we're using the module and we plan to go to production with it very soon, I will be watching the logs for anything abnormal.

Cheers,
Dragos


From: Henning Westerholt <hw@kamailio.org>
To: Dragos Oancea <droancea@yahoo.com>
Cc: "sr-dev@lists.sip-router.org" <sr-dev@lists.sip-router.org>; Charles Chance <charles.chance@sipcentric.com>
Sent: Tuesday, July 2, 2013 3:56 PM
Subject: Re: the new memcache module

Am Montag, 17. Juni 2013, 07:43:16 schrieb Dragos Oancea:
> So far the module performed pretty good for us.
>
> But there might be a problem, when I shut down Kamailio I see this in the
> logs :
>
> ERROR: memcached [memcached.c:255]: mod_destroy(): memory manager callbacks
> not removed, returned INVALID ARGUMENTS but continue anyway
>
>
> It also dumps core at shutdown:
> http://pastebin.com/5uJJ3tp4

Hello Dragos,

I was able to reproduce your crash in my installation. I've did a few changes
to the module, including making the memory manager setting configurable. It
would be great if you could test again. In my tests my changes fixed the crash.

Best regards,

Henning Westerholt