[OpenSIPS-Users] Call traffic loads and shared memory limits

Callum Guy callum.guy at x-on.co.uk
Wed Jan 24 11:26:53 EST 2018


Hi John,

Thought I would just come back to you with a quick thought on this one,
have you checked the runtime settings?

The flag -m allows you to allocate shared memory in MB. As shown below the
server in question has allocated 384MB of memory which is shared between
all processes, not a per process allocation.

# ps -ef|grep “opensips.pid”

root  /sbin/opensips -P /var/run/opensips.pid -f /etc/opensips/opensips.cfg -M
10 -m 384

...

Not sure if that helps at all but worth mentioning in case it has been
overlooked.

Thanks,

Callum

On Wed, Jan 24, 2018 at 4:21 PM John Quick <john.quick at smartvox.co.uk>
wrote:

> Hi,
>
> I have a user running v1.9.0 with quite high numbers of concurrent calls
> (peaking at over 1500) and high call rate attempts (averaging about 100 per
> second for long periods).
> The amount of traffic is gradually increasing and, as it does, we are
> starting to see problems with "not enough shared memory".
>
> We just started using Nagios to graph some of the metrics. Shared memory
> usage is well behaved most of the time, but it seems almost as if there is
> some threshold and when the call rate goes above this threshold, the used
> shared memory rapidly increases.
>
> One simple solution might be to add more memory. If we increased from 8GB
> to
> 16GB, would OpenSIPS be able to use a large part of this? Is there a limit
> for shared memory allocated when the program starts?
>
> Would there be a major benefit in upgrading the opensips software to, say,
> v2.3?
>
> Would you expect to be hitting problems with shared memory at these traffic
> loadings or might there perhaps be something on this server that makes it
> more susceptible? For example, it is using topology hiding. It also has
> background jobs running that send a lot of queries to the management
> interface.
>
> Thanks.
>
> John Quick
> Smartvox Limited
> Web: www.smartvox.co.uk
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Callum Guy
Head of Information Security
X-on

-- 



*0333 332 0000  |  www.x-on.co.uk <http://www.x-on.co.uk>  |   ** 
<https://www.linkedin.com/company/x-on>   <https://www.facebook.com/XonTel> 
  <https://twitter.com/xonuk> * 
X-on is a trading name of Storacall Technology Ltd a limited company 
registered in England and Wales.
Registered Office : Avaland House, 110 London Road, Apsley, Hemel 
Hempstead, Herts, HP3 9SD. Company Registration No. 2578478.
The information in this e-mail is confidential and for use by the 
addressee(s) only. If you are not the intended recipient, please notify 
X-on immediately on +44(0)333 332 0000 and delete the
message from your computer. If you are not a named addressee you must not 
use, disclose, disseminate, distribute, copy, print or reply to this email. Views 
or opinions expressed by an individual
within this email may not necessarily reflect the views of X-on or its 
associated companies. Although X-on routinely screens for viruses, 
addressees should scan this email and any attachments
for viruses. X-on makes no representation or warranty as to the absence of 
viruses in this email or any attachments.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180124/b83b6b0e/attachment.html>


More information about the Users mailing list