The version is 3.3.2 a91b2b-dirty The cpmmand output is:
shmem:fragments = 433 shmem:free_size = 2595411760 shmem:max_used_size = 2358563728 shmem:real_used_size = 1699555536 shmem:total_size = 4294967296 shmem:used_size = 1359869056 Thanks On Wed, Dec 4, 2013 at 10:04 PM, Daniel-Constantin Mierla <mico...@gmail.com > wrote: > To refresh, what is the version you are using now? Looking at old > messages in this thread is about 3.3.2, but memjoin was not there, iirc. > > Can you give the output for next command? > > kamctl mi get_statistics shmem: > > You can walk the shared memory chunks with gdb, but it may take quite a > while and not sure how useful will be. > > Cheers, > Daniel > > > On 12/4/13 8:29 PM, Uri Shacked wrote: > > Any ideas? > > > On Tue, Nov 26, 2013 at 9:38 AM, Uri Shacked <ushac...@gmail.com> wrote: > >> mem_join=1 on cfg. >> MEMDBG=0 on makefile.def >> >> >> On Mon, Nov 25, 2013 at 10:40 PM, Daniel-Constantin Mierla < >> mico...@gmail.com> wrote: >> >>> Hello, >>> >>> are you still using mem_join=1? >>> >>> Cheers, >>> Daniel >>> >>> >>> On 11/24/13 10:01 AM, Uri Shacked wrote: >>> >>> Hi, >>> >>> It has been a while. >>> >>> Still, I have some problems with reloading data into shared memory. >>> >>> I can obviously notice that there is always an increase of shmem after >>> each reload. >>> >>> >>> >>> When my system starts, it has 4G of memory reserved and approximately >>> 0.8G is populated at start. >>> >>> >>> >>> After 30 days, when reloading 15-25 times per day only part of the 0.8G, >>> the shmem size is approximately 3.5G. >>> >>> >>> >>> As I mentioned before, the traffic does not seems to be the issue. How >>> do I, or can I, check the size of memory occupied by traffic only? >>> >>> >>> >>> Any ideas how to handle the reloads? >>> >>> >>> >>> I am using kamailio 3.3.2 with modules like ACC, DIALOG, CARRIERROUTE >>> and moreā¦. >>> >>> >>> >>> >>> >>> Thanks, >>> >>> BR, >>> >>> Uri >>> >>> >>> On Sun, Mar 3, 2013 at 7:36 PM, Uri Shacked <ushac...@gmail.com> wrote: >>> >>>> >>>> Hi, >>>> >>>> I have this memory issue again. >>>> >>>> The status now is that I compiled kamailio as followed here and use >>>> mem_join=1. >>>> >>>> I reload my data from DB every minute! I know i reload a lot, will take >>>> care of that (will update you all on April :-)). >>>> >>>> When kamailio starts the shmem is about 17% of 4Gb and after 7 days >>>> (600 reloads per day) the shmem is about 24%. >>>> >>>> The traffic is not the issue. >>>> >>>> Still, can defrag of memory improve? Ideas for defrag? >>>> >>>> Thanks, >>>> >>>> Uri >>>> >>>> On Tue, Nov 27, 2012 at 12:37 PM, Uri Shacked <ushac...@gmail.com>wrote: >>>> >>>>> >>>>> OK >>>>> >>ok - it's 56sec or 36sec? >>>>> It was 56 sec. >>>>> >>>>> Now, after recompile, when cfg mem_join=0 the reload takes 8 sec and >>>>> the shmem real used is 25% of 4Gb. >>>>> When mem_join=, the reload take 30 sec and the shmem real used is 17%. >>>>> >>>>> >>>>> Looks good with mem_join=1. >>>>> >>>>> Thanks, >>>>> Uri >>>>> >>>> >>> -- >>> Daniel-Constantin Mierla - >>> http://www.asipto.comhttp://twitter.com/#!/miconda - >>> http://www.linkedin.com/in/miconda >>> >>> >> > > -- > Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda > - http://www.linkedin.com/in/miconda > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users