<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>ok, great...this is, I think, the relevant section on config.h<br><br><br>#ifndef PKG_MEM_SIZE<br>#define PKG_MEM_SIZE 4<br>#endif<br>#define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024 /*!< used only if PKG_MALLOC is defined*/<br><br>#define SHM_MEM_SIZE 32 /*!< used if SH_MEM is defined*/<br><br><br><div>
<div> </div></div>SHM_MEM_SIZE 32 --> this looks like 32 MB<br>and PKG_MEM_SIZE 4 looks like Bytes, that is why the PKG_MEM_POOL_SIZE is multiplied by 1024*1024 to get MBs I assume.<br><br>Please confirm.<br>thank you <br><br>fborot<br><br><div><br><br><br><br>> From: henning.westerholt@1und1.de<br>> To: fborot@hotmail.com<br>> Subject: Re: [SR-Users] memory requirements for a registrar server<br>> Date: Wed, 13 Jul 2011 18:15:40 +0200<br>> CC: sr-users@lists.sip-router.org<br>> <br>> On Wednesday 13 July 2011, Fabian Borot wrote:<br>> > thank you Henning<br>> > <br>> > "A PKG setting of 4-8 MB and a shared pool of 512MB should be really<br>> > enough" "Normally you're more concerned about private (per process)<br>> > memory,"<br>> > <br>> > where do I set them?<br>> <br>> Hi Fabian,<br>> <br>> you can set it at compile time in config.h (PKG_MEM_POOL or something like <br>> this), or the in upcoming version 3.2 on the command line.<br>> <br>> Best regards,<br>> <br>> Henning<br></div>                                            </div></body>
</html>