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

Daniel-Constantin Mierla daniel at voice-system.ro
Thu Jun 21 11:01:48 CEST 2007


Hello,

On 06/21/07 11:49, Henning Westerholt wrote:
> 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.
>   
first we need to know what version of openser is running and how many 
location entries (and aliases if it is the case) are in place. Older 
versions used to load everything in private memory and then move to 
shared memory.

With openser 1.2.x, that problem is gone, as it is using db fetch 
mechanism. Also, the server is no longer blocked during loading, as it 
is done by first child, the rest can handle sip traffic immediately at 
startup.

Cheers,
Daniel
> Cheers,
>
> Henning
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the sr-users mailing list