[OpenSIPS-Users] Recommended memory sizes

Vlad Paiu vladpaiu at opensips.org
Wed Apr 11 10:32:23 CEST 2012


Hello,

There is no such thing as the 'recommended' memory size, as the size of 
the SHM memory depends on the complexity of your script.
So it's a matter of trial and error, start with an initial value, and 
monitor OpenSIPS memory via opensipsctl :
         opensipsctl fifo get_statistics shmem:

If you start to notice that OpenSIPS starts to reach the limit of SHM, 
then it's a good idea to increase the shm memory size.

The -m parameter controls the SHM memory size, while the -M parameter 
controls the PKG memory size.

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 04/10/2012 10:26 PM, Nick Altmann wrote:
> What's recommended memory sizes for server with 1000 calls at the same time?
>
> Defaults are:
> #define PKG_MEM_SIZE 2
> #define SHM_MEM_SIZE 32
>
> Is -m parameter changes SHM_MEM_SIZE runtime?
>
> --
> Nick
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list