<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<br>thank you Henning<br><br>"A PKG setting of 4-8 MB and a shared pool of 512MB should be really enough"<br><pre>"Normally you're more concerned about private (per process) memory,"<br><br></pre>where do I set them?<br><br>thank you<br>fborot<br><div>
<div> </div></div><br><br><div>> From: henning.westerholt@1und1.de<br>> To: sr-users@lists.sip-router.org<br>> Subject: Re: [SR-Users] memory requirements for a registrar server<br>> Date: Wed, 13 Jul 2011 13:00:47 +0200<br>> CC: fborot@hotmail.com<br>> <br>> On Tuesday 12 July 2011, Fabian Borot wrote:<br>> > We are going to use kamailio 3.1.4 for a registrar server and need to know<br>> > if the default parameters [shared memory and the like] is fine or if we<br>> > need to plan in advance and increase it at compile time. If so, how should<br>> > we proceed about it?<br>> <br>> Hi Fabian,<br>> <br>> the exact configuration depends on the load of your scenario, exact traffic <br>> patterns etc.. A PKG setting of 4-8 MB and a shared pool of 512MB should be <br>> really enough, if you don't have too extreme load.<br>> <br>> > For subscribers and location type of information, which memory type should<br>> > we be more concerned about? private memory, shared memory, memory per<br>> > process etc because it looks like some modules use shared memory others<br>> > private memory etc.<br>> <br>> Normally you're more concerned about private (per process) memory, as this <br>> used to be a compile time definition and its generally smaller. In upcoming <br>> 3.2 it will be possible to change it with a commandline parameter.<br>> <br>> > Also , I see that the command "kamctl fifo get_statistics all" gives info<br>> > about memory used etc. How should we interpret the output like this:<br>> <br>> The output is about the shared memory pool memory manager.<br>> <br>> > shmem:fragments = 24<br>> <br>> memory fragments<br>> <br>> > shmem:free_size = 9665456<br>> <br>> free size<br>> <br>> > shmem:max_used_size = 23915072<br>> <br>> probably maximum used size since start<br>> <br>> > shmem:real_used_size = 23888976<br>> <br>> total size plus overhead from malloc<br>> <br>> > shmem:total_size = 33554432<br>> <br>> total size of memory pool, e.g. value from command line<br>> <br>> > shmem:used_size = 23648072<br>> <br>> allocated size<br>> <br>> > is this fifo function exported by a specific module?<br>> <br>> Its exported from the kamailio core.<br>> <br>> Best regards,<br>> <br>> Henning<br></div> </div></body>
</html>