[sr-dev] the new memcache module

Dragos Oancea droancea at yahoo.com
Tue Jul 2 16:51:32 CEST 2013


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 at kamailio.org>
To: Dragos Oancea <droancea at yahoo.com> 
Cc: "sr-dev at lists.sip-router.org" <sr-dev at lists.sip-router.org>; Charles Chance <charles.chance at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130702/1d7ebb77/attachment-0001.html>


More information about the sr-dev mailing list