ok, great...this is, I think, the relevant section on config.h


#ifndef PKG_MEM_SIZE
#define PKG_MEM_SIZE 4
#endif
#define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024        /*!< used only if 
PKG_MALLOC is defined*/

#define SHM_MEM_SIZE 32                         /*!< used if SH_MEM is defined*/



 SHM_MEM_SIZE 32 --> this looks like 32 MB
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.

Please confirm.
thank you 

fborot





> From: henning.westerh...@1und1.de
> To: fbo...@hotmail.com
> Subject: Re: [SR-Users] memory requirements for a registrar server
> Date: Wed, 13 Jul 2011 18:15:40 +0200
> CC: sr-users@lists.sip-router.org
> 
> On Wednesday 13 July 2011, Fabian Borot wrote:
> > thank you Henning
> > 
> > "A PKG setting of 4-8 MB and a shared pool of 512MB should be  really
> > enough" "Normally you're more concerned about private (per process)
> > memory,"
> > 
> > where do I set them?
> 
> Hi Fabian,
> 
> you can set it at compile time in config.h (PKG_MEM_POOL or something like 
> this), or the in upcoming version 3.2 on the command line.
> 
> 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

Reply via email to