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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to