Re: Users Digest, Vol 20, Issue 27

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Users Digest, Vol 20, Issue 27

Sathyanarayanan R
Hi,

Thanks for your suggestion, Bogdan.

I looked into the opensips log and found that there were errors on memory
allocation. So we increased the memory pool size to 10 MB from 1 MB and
Shared memory size to 256. Now it is working fine. Is there any recommended
memory pool size?

I require couple of other clarifications:
- What is the maximum CPS it supports on the stateful proxy?
- How do we achieve fault tolerance and redundancy in the opensips?

Regards,
Sat

Message: 3
Date: Tue, 09 Mar 2010 11:17:04 +0200
From: Bogdan-Andrei Iancu <[hidden email]>
Subject: Re: [OpenSIPS-Users] Load Balancer Issue
To: OpenSIPS users mailling list <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

I see here 2 reports:
1) opensips "dies" - check the log files for error messages to see why
opensips stopped
2) load not decreasing - this means the BYE is missing or is not
properly processed by opensips, so it thinks the call is still on. If
you see that the BYEs are passing through, you could enable debugging
only for the loose_route() function (use set_debug() function) to see if
the BYE matches or not. Also you can check via teh "dlg_list" MI
function the state of the ongoing calls.

Regards,
Bogdan

Sathyanarayanan R wrote:

>
> We are using Opensips load balancer module to make outbound calls,
> when we pump more than 30 CPS, load in the load balancer is not
> decreased even after the call ends. Beyond certain point opensips
> service stops with the error ?Opensips dead but subsys locked?. How
> this problem should be approached and solved?
>
> Regards,
>
> Sathya
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


--
Bogdan-Andrei Iancu
www.voice-system.ro




------------------------------


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users Digest, Vol 20, Issue 27

Bogdan-Andrei Iancu
Hi Sat,

the mem error - which memory they were related ? pkg or shm ? and from
which module?

How much memory to use depends on your script - on what modules you are
using and what traffic you expect (cps and calls)

According to the latest tests, opensips 1.6 can handle in simple
stateful proxy mode (no dns, no DB, just proxy) about 10K cps on a
decent server.

For failover - you are looking for HA of the opensips box, or how to use
opensips to achieve HA for the boxes behind ?

Regards,
Bogdan


Sathyanarayanan R wrote:

> Hi,
>
> Thanks for your suggestion, Bogdan.
>
> I looked into the opensips log and found that there were errors on memory
> allocation. So we increased the memory pool size to 10 MB from 1 MB and
> Shared memory size to 256. Now it is working fine. Is there any recommended
> memory pool size?
>
> I require couple of other clarifications:
> - What is the maximum CPS it supports on the stateful proxy?
> - How do we achieve fault tolerance and redundancy in the opensips?
>
> Regards,
> Sat
>
> Message: 3
> Date: Tue, 09 Mar 2010 11:17:04 +0200
> From: Bogdan-Andrei Iancu <[hidden email]>
> Subject: Re: [OpenSIPS-Users] Load Balancer Issue
> To: OpenSIPS users mailling list <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Hi,
>
> I see here 2 reports:
> 1) opensips "dies" - check the log files for error messages to see why
> opensips stopped
> 2) load not decreasing - this means the BYE is missing or is not
> properly processed by opensips, so it thinks the call is still on. If
> you see that the BYEs are passing through, you could enable debugging
> only for the loose_route() function (use set_debug() function) to see if
> the BYE matches or not. Also you can check via teh "dlg_list" MI
> function the state of the ongoing calls.
>
> Regards,
> Bogdan
>
> Sathyanarayanan R wrote:
>  
>> We are using Opensips load balancer module to make outbound calls,
>> when we pump more than 30 CPS, load in the load balancer is not
>> decreased even after the call ends. Beyond certain point opensips
>> service stops with the error ?Opensips dead but subsys locked?. How
>> this problem should be approached and solved?
>>
>> Regards,
>>
>> Sathya
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>  
>>    
>
>
>  


--
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users Digest, Vol 20, Issue 27

Sathyanarayanan R
In reply to this post by Sathyanarayanan R

Hi Bogdan,

 

They were related to PKG. I am using loadbalancer module and do the outbound dialing to more than one trunk.

 

Regarding HA, If opensips fails then the opensips in the machine2 to take over and subsequent requests has to happen through this secondary opensips machine.

 

Regards,

Sat

 

 

 

Hi Sat,
 
the mem error - which memory they were related ? pkg or shm ? and from 
which module?
 
How much memory to use depends on your script - on what modules you are 
using and what traffic you expect (cps and calls)
 
According to the latest tests, opensips 1.6 can handle in simple 
stateful proxy mode (no dns, no DB, just proxy) about 10K cps on a 
decent server.
 
For failover - you are looking for HA of the opensips box, or how to use 
opensips to achieve HA for the boxes behind ?
 
Regards,
Bogdan
 
 
Sathyanarayanan R wrote:
> Hi,
> 
> Thanks for your suggestion, Bogdan. 
> 
> I looked into the opensips log and found that there were errors on memory
> allocation. So we increased the memory pool size to 10 MB from 1 MB and
> Shared memory size to 256. Now it is working fine. Is there any recommended
> memory pool size?
> 
> I require couple of other clarifications:
> - What is the maximum CPS it supports on the stateful proxy?
> - How do we achieve fault tolerance and redundancy in the opensips?
> 
> Regards,
> Sat
> 
> Message: 3
> Date: Tue, 09 Mar 2010 11:17:04 +0200
> From: Bogdan-Andrei Iancu <bogdan at voice-system.ro>
> Subject: Re: [OpenSIPS-Users] Load Balancer Issue
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID: <4B961210.7050701 at voice-system.ro>
> Content-Type: text/plain; charset=windows-1252; format=flowed
> 
> Hi,
> 
> I see here 2 reports:
> 1) opensips "dies" - check the log files for error messages to see why 
> opensips stopped
> 2) load not decreasing - this means the BYE is missing or is not 
> properly processed by opensips, so it thinks the call is still on. If 
> you see that the BYEs are passing through, you could enable debugging 
> only for the loose_route() function (use set_debug() function) to see if 
> the BYE matches or not. Also you can check via teh "dlg_list" MI 
> function the state of the ongoing calls.
> 
> Regards,
> Bogdan
> 
> Sathyanarayanan R wrote:
>   
>> We are using Opensips load balancer module to make outbound calls, 
>> when we pump more than 30 CPS, load in the load balancer is not 
>> decreased even after the call ends. Beyond certain point opensips 
>> service stops with the error ?Opensips dead but subsys locked?. How 
>> this problem should be approached and solved?
>> 
>> Regards,
>> 
>> Sathya
>> 
>> ------------------------------------------------------------------------
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>   
>>     
> 
> 
>   
 
 
-- 
Bogdan-Andrei Iancu
www.voice-system.ro

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users Digest, Vol 20, Issue 27

Bogdan-Andrei Iancu
Hi Sat,

Sathyanarayanan R wrote:
>
> Hi Bogdan,
>
>  
>
> They were related to PKG. I am using loadbalancer module and do the
> outbound dialing to more than one trunk.
>
be sure you are using 1.6.2 - just to eliminate any possible mem leak in
pkg mem. Usually you should not run out of pkg mem at runtime (except
re-loads)
>
>  
>
> Regarding HA, If opensips fails then the opensips in the machine2 to
> take over and subsequent requests has to happen through this secondary
> opensips machine.
>
depends on what HA system you implements (like heartbeat, etc)  - based
on this, you need to find a solution to replicate data/state between the
two opensips instances.

Regards,
Bogdan

>
>  
>
> Regards,
>
> Sat
>
>  
>
>  
>
>  
>
> Hi Sat,
>  
> the mem error - which memory they were related ? pkg or shm ? and from
> which module?
>  
> How much memory to use depends on your script - on what modules you are
> using and what traffic you expect (cps and calls)
>  
> According to the latest tests, opensips 1.6 can handle in simple
> stateful proxy mode (no dns, no DB, just proxy) about 10K cps on a
> decent server.
>  
> For failover - you are looking for HA of the opensips box, or how to use
> opensips to achieve HA for the boxes behind ?
>  
> Regards,
> Bogdan
>  
>  
> Sathyanarayanan R wrote:
> >/ Hi,/
> >/ /
> >/ Thanks for your suggestion, Bogdan. /
> >/ /
> >/ I looked into the opensips log and found that there were errors on memory/
> >/ allocation. So we increased the memory pool size to 10 MB from 1 MB and/
> >/ Shared memory size to 256. Now it is working fine. Is there any recommended/
> >/ memory pool size?/
> >/ /
> >/ I require couple of other clarifications:/
> >/ - What is the maximum CPS it supports on the stateful proxy?/
> >/ - How do we achieve fault tolerance and redundancy in the opensips?/
> >/ /
> >/ Regards,/
> >/ Sat/
> >/ /
> >/ Message: 3/
> >/ Date: Tue, 09 Mar 2010 11:17:04 +0200/
> >/ From: Bogdan-Andrei Iancu <bogdan at voice-system.ro <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>>/
> >/ Subject: Re: [OpenSIPS-Users] Load Balancer Issue/
> >/ To: OpenSIPS users mailling list <users at lists.opensips.org <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>>/
> >/ Message-ID: <4B961210.7050701 at voice-system.ro <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>>/
> >/ Content-Type: text/plain; charset=windows-1252; format=flowed/
> >/ /
> >/ Hi,/
> >/ /
> >/ I see here 2 reports:/
> >/ 1) opensips "dies" - check the log files for error messages to see why /
> >/ opensips stopped/
> >/ 2) load not decreasing - this means the BYE is missing or is not /
> >/ properly processed by opensips, so it thinks the call is still on. If /
> >/ you see that the BYEs are passing through, you could enable debugging /
> >/ only for the loose_route() function (use set_debug() function) to see if /
> >/ the BYE matches or not. Also you can check via teh "dlg_list" MI /
> >/ function the state of the ongoing calls./
> >/ /
> >/ Regards,/
> >/ Bogdan/
> >/ /
> >/ Sathyanarayanan R wrote:/
> >/   /
> >>/ We are using Opensips load balancer module to make outbound calls, /
> >>/ when we pump more than 30 CPS, load in the load balancer is not /
> >>/ decreased even after the call ends. Beyond certain point opensips /
> >>/ service stops with the error ?Opensips dead but subsys locked?. How /
> >>/ this problem should be approached and solved?/
> >>/ /
> >>/ Regards,/
> >>/ /
> >>/ Sathya/
> >>/ /
> >>/ ------------------------------------------------------------------------/
> >>/ /
> >>/ _______________________________________________/
> >>/ Users mailing list/
> >>/ Users at lists.opensips.org <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>/
> >>/ http://lists.opensips.org/cgi-bin/mailman/listinfo/users/
> >>/   /
> >>/     /
> >/ /
> >/ /
> >/   /
>  
>  
> --
> Bogdan-Andrei Iancu
> www.voice-system.ro
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


--
Bogdan-Andrei Iancu
www.voice-system.ro


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