Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] SIP Mass exodus


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
mdiehlenator at gmail.com
Guest





PostPosted: Wed Nov 13, 2013 1:29 pm    Post subject: [asterisk-users] SIP Mass exodus Reply with quote

Hi all,

I've been seeing some strangeness lately on my 10.2.1 server. It's
gotten to the point that a few times each day, I see masses of SIP
clients becoming unreachable. They're not all on the same network,
and we don't see any calls drop. In a few seconds, they all come
back.

I don't think it's a connectivity issue because we don't drop calls,
and the endpoints aren't on the same networks. We don't see excessive
CPU load when it happens.

It does SEEM to happen most right after someone accesses their voicemail.

We are using RT SIP registration as well as database voicemail storage
(mysql). The database is on the same machine as the asterisk server.

Have we grown beyond the ability to host both the db and * on the same
hardware? Or is this a known issue with a (hopefully) known fix?

TIA,

Mike Diehl.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
asterisk at lists.mino...
Guest





PostPosted: Wed Nov 13, 2013 7:49 pm    Post subject: [asterisk-users] SIP Mass exodus Reply with quote

On 13 Nov 2013, at 18:29, Mike Diehl <mdiehlenator@gmail.com> wrote:
Quote:
I've been seeing some strangeness lately on my 10.2.1 server. It's
gotten to the point that a few times each day, I see masses of SIP
clients becoming unreachable. They're not all on the same network,
and we don't see any calls drop. In a few seconds, they all come
back.
I don't think it's a connectivity issue because we don't drop calls,
and the endpoints aren't on the same networks. We don't see excessive
CPU load when it happens.
It does SEEM to happen most right after someone accesses their voicemail.


We saw this happen on a 1.4 server a couple of years ago shortly after 2am each day. It was only after a study of the cron schedule we narrowed it down to a number of rsync backup jobs which were run at that time.

As in your case, it wasn't a connectivity or bandwidth issue - in the end we put it down to a disk I/O bottleneck. It might be worth running something like iostat on your box to see if you see a spike in iowait as voicemail is being checked. We resolved it simply by rate limiting our rsync jobs. In your case with a busy database, you might want to look at your MySQL indexes and/or cache settings - this might be something worth asking about on the respective MySQL discussion groups as well as here.

Kind regards,

Chris
--
This email is made from 100% recycled electrons


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
universe at truemetal.org
Guest





PostPosted: Wed Nov 13, 2013 9:05 pm    Post subject: [asterisk-users] SIP Mass exodus Reply with quote

Mike,

Am 14.11.2013 01:48, schrieb Chris Bagnall:
Quote:
As in your case, it wasn't a connectivity or bandwidth issue - in the end we put it down to a disk I/O bottleneck. It might be worth running something like iostat on your box to see if you see a spike in iowait as voicemail is being checked. We resolved it simply by rate limiting our rsync jobs. In your case with a busy database, you might want to look at your MySQL indexes and/or cache settings - this might be something worth asking about on the respective MySQL discussion groups as well as here.

you could also throw in some more stuff like the following and run it
for 24 hours every second, then check the log for the timestamp to
figure out what happened:

while true; do echo `date`; asterisk -rx 'sip show peers'; asterisk -rx
'sip show channelstats'; mysqladmin --password=yourpass processlist; ps
auxww; vmstat; iostat; echo; echo; echo; sleep 1; done >> log.txt

Regards
Markus



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services