[OpenSER-Users] Re: [Users] regarding memory usage

Henning Westerholt henning.westerholt at 1und1.de
Thu Jun 21 10:49:51 CEST 2007


On Mittwoch, 20. Juni 2007, Arun Kumar wrote:
> Hi
>
> 1. Is there any benefit of increasing the value of  PKG_MEM_POOL_SIZE  and
> SHM_MEM_SIZE ?
>
> /*used only if PKG_MALLOC is defined*/
> #define PKG_MEM_POOL_SIZE 1024*1024
>
> /*used if SH_MEM is defined*/
> #define SHM_MEM_SIZE 32
>
>
> 2. I've compiled my ser with
>
> #define PKG_MEM_POOL_SIZE 1024*1024*512

Hello Arun,

this is really to much private memory. You should not need more then 10 MB, 
even in quite large installations. Its much more reasonable to increase the 
shared memory parameter, e.g. to system memory / number of children.

Cheers,

Henning




More information about the Users mailing list