Re: [SR-Users] memory usage

2012-09-05 Thread Uri Shacked
> The 20% initialy loaded is because I load many data with MTREE, > HTABLE,DIALPLAN etc(5 million rows with MTREE..) > Regarding the PKG, how do i set it? I read a few months ago that the > shared and private memory on version 3.2.2 are the same. > Thanks for the help :-) > > On 09/05/2012 11:4

Re: [SR-Users] memory usage

2012-09-05 Thread Marius Zbihlei
On 09/05/2012 11:44 AM, Uri Shacked wrote: Hi, Thanks, How do i find memory leaks? when my application starts the it shows the following values: shmem:fragments = 143898 shmem:freesize = 3446570952 shmem:max_used_size = 861854768 shmem:real_used_size = 848396344 shmem:total_size = 4294967296 shme

[SR-Users] memory usage

2012-09-05 Thread Uri Shacked
Hi, Thanks, How do i find memory leaks? when my application starts the it shows the following values: shmem:fragments = 143898 shmem:freesize = 3446570952 shmem:max_used_size = 861854768 shmem:real_used_size = 848396344 shmem:total_size = 4294967296 shmem:used_size = 319676976 I divided the "real

Re: [SR-Users] memory usage

2012-09-05 Thread Marius Zbihlei
On 09/05/2012 10:19 AM, Uri Shacked wrote: Hi, When I start kamailio it loads some data into memory. Now calls are starting to gather up. How can I check how mach memory does my avp's take? BR, Uri Hello Uri, avp's are associated with the transactions, so they free'd when the transaction sto

[SR-Users] memory usage

2012-09-05 Thread Uri Shacked
Hi, When I start kamailio it loads some data into memory. Now calls are starting to gather up. How can I check how mach memory does my avp's take? BR, Uri ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-rou

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

[SR-Users] Memory usage problem in xmpp modules

2012-01-24 Thread laura testi
Hi, 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 information: 1. Numer of records from PUA an