On Tuesday 12 July 2011, Fabian Borot wrote: > We are going to use kamailio 3.1.4 for a registrar server and need to know > if the default parameters [shared memory and the like] is fine or if we > need to plan in advance and increase it at compile time. If so, how should > we proceed about it?
Hi Fabian, the exact configuration depends on the load of your scenario, exact traffic patterns etc.. A PKG setting of 4-8 MB and a shared pool of 512MB should be really enough, if you don't have too extreme load. > For subscribers and location type of information, which memory type should > we be more concerned about? private memory, shared memory, memory per > process etc because it looks like some modules use shared memory others > private memory etc. Normally you're more concerned about private (per process) memory, as this used to be a compile time definition and its generally smaller. In upcoming 3.2 it will be possible to change it with a commandline parameter. > Also , I see that the command "kamctl fifo get_statistics all" gives info > about memory used etc. How should we interpret the output like this: The output is about the shared memory pool memory manager. > shmem:fragments = 24 memory fragments > shmem:free_size = 9665456 free size > shmem:max_used_size = 23915072 probably maximum used size since start > shmem:real_used_size = 23888976 total size plus overhead from malloc > shmem:total_size = 33554432 total size of memory pool, e.g. value from command line > shmem:used_size = 23648072 allocated size > is this fifo function exported by a specific module? Its exported from the kamailio core. Best regards, Henning _______________________________________________ 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