Hi Khaled, You can discover the memory actually used by the system using
opensipsctl fifo get_statistics shmem opensipsctl fifo get_statistics pkmem I guess you will be a little disappointed with so much ram wasted, OpenSIPS do not consume much ;-). Flavio. 2013/6/16 M.Khaled W Chehab <[email protected]> > I set children=24 in opensips.cfg > > Does That mean 24 *16 =384 MB and what is the suitable value for > P_MEMORY > > And -M 2048 that means all sessions will have 2048 memory only and after > that it crashes ? > > Memory configuration is not clear in documentation for me ,please can you > simplify it by answering my question > > What are the correct parameters should be in P_MEMORY and S_MEMORY in > order to handle 400 call per second and 1000 connected call > Or what’s the formula to calculate the cpu and memory usage > > /usr/local/opensips/sbin/opensips -M 8 -m 2048 > Opensips.cfg > debug=1 > log_stderror=no > log_facility=LOG_LOCAL7 > log_name="opensips" > fork=yes > children=24 > > cat /etc/default/opensips > # OpenSIPS startup options > # > # Set to yes to enable opensips, once configured properly. > RUN_OPENSIPS=yes > # User to run as > USER=root > # Group to run as > GROUP=root > # Amount of shared memory to allocate for the running OpenSIPS server (in > Mb) > S_MEMORY=256 > # Amount of pkg memory to allocate for the running OpenSIPS server (in Mb) > P_MEMORY=16 > DUMP_CORE=no > > > > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of Nick Khamis > Sent: Sunday, June 16, 2013 11:34 PM > To: OpenSIPS users mailling list > Cc: [email protected] > Subject: Re: [OpenSIPS-Users] Opensips default parameters > > Is this related to your earlier post: > https://mail.google.com/mail/h/52oaqmxcphmc/?&v=c&th=13f4cc0b3154e273? > > /usr/local/opensips/sbin/opensips -M 8 -m 2048 (or whatever you want to > allocate) > > _______________________________________________ > 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 >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
