Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-26 Thread Anca Vamanu
Hi, I also found a memory leak in pua module which is probably causing the increase in memory that you observe. Laura, if you could please update your code and check? Regards, Anca ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users maili

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-26 Thread Anca Vamanu
Hi, Looking roughly in the pua_xmpp module I found some error cases where the memory allocated by libxml2 was not freed. I have fixed them now in master. Not sure though if there are related to the memory leak Laura observed. Laura, can you check if there were any error messages in the logs p

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-26 Thread Peter Dunkley
Hello, Some of the memory leaks we found here at Crocodile were to do with the use of libxml2. Various calls to libxml2 functions resulted in libxml2 malloc'ing memory. This means you have to call the appropriate xmlFree...() functions in the Kamailio modules to free up this memory. In some pla

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-26 Thread Marius Zbihlei
On 01/26/2012 02:34 PM, laura testi wrote: Hi Hennings, thanks a lot for your answer. I'm sending you other information about our Kamailio xmpp server. in attach the "sercmd cfg.set_now_int core mem_dump_shm" output. And here: kamctl fifo get_statistics | grep mem shmem:fragments = 13107 shm

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-26 Thread laura testi
Hi Hennings, thanks a lot for your answer. I'm sending you other information about our Kamailio xmpp server. in attach the "sercmd cfg.set_now_int core mem_dump_shm" output. And here: kamctl fifo get_statistics | grep mem shmem:fragments = 13107 shmem:free_size = 99724520 shmem:max_used_size =

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-25 Thread Henning Westerholt
On Tuesday 24 January 2012, laura testi wrote: > we are using the XMPP gateway modules: > • PUA > • PUA_XMPP > • XMPP > The behavior is ok but since the modules are started, the memory usage > is getting increased and now also the swap memory area is used. > I send to you the following