Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-23 Thread Michael Jerris
This is a well known and documented problem already fixed in upstream  
kernels.  There was quite a bit of discussions about tests that came  
out that showed this issue.  Opening another bug on it is not likely  
to help.

Mike

On Sep 19, 2009, at 2:49 AM, Jason White wrote:

> Karl Vesterling  wrote:
>> No penguin is perfect...
>> There's issues w/ 2.6.X - 2.6.27.X with respect to timing for things
>> like packet shaping, which is a requirement for me.
>
> Two suggestions:
>
> 1. Your distribution's bug tracker.
>
> 2. http://ltp.sourceforge.net/
> (If they get test coverage of the relevant interfaces there will be  
> quicker
> detection of problems and, we hope, prevention of regressions.)
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-18 Thread Jason White
Karl Vesterling  wrote:
> No penguin is perfect...
> There's issues w/ 2.6.X - 2.6.27.X with respect to timing for things  
> like packet shaping, which is a requirement for me.

Two suggestions:

1. Your distribution's bug tracker.

2. http://ltp.sourceforge.net/
(If they get test coverage of the relevant interfaces there will be quicker
detection of problems and, we hope, prevention of regressions.)


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-18 Thread Karl Vesterling
No penguin is perfect...
There's issues w/ 2.6.X - 2.6.27.X with respect to timing for things  
like packet shaping, which is a requirement for me.
2.6.29.X onward, well, I might be inclined to try the latest revision,  
but last I tested was 2.6.30, and it was truly all round badness, with  
everything.  They seem to have the IRQ handling problems re-worked,  
but even if you compile WITHOUT dynamic ticks, it's still horrible on  
the CPU.

I'll wait until 2.6.32...  What I got now is working w/ the  
workaround.  Thanks Brian.

(thinking to self, you know...  Maybe there's a reason for the bias of  
these BSD zealots  It ran fine on my old 11/780 which doubled as a  
forced air furnas...)

Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0

On Sep 17, 2009, at 9:11 AM, Brian West wrote:

> Its a bug in 2.6.26 thru 2.6.28 kernels that impact the performance of
> SQLite.  He was specifically running SUSE.
>
> /b
>
> On Sep 16, 2009, at 11:07 PM, Jason White wrote:
>
>> Please take this up with your Linux distribution as a bug report
>> related to
>> the kernel, and persist with it until it's sorted out.
>>
>> The more that users do this, the more kernel bugs will get fixed.
>>
>> We're all responsible to some extent for the quality of our free/
>> open-source
>> operating systems.
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org
>
>


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-17 Thread Brian West
Its a bug in 2.6.26 thru 2.6.28 kernels that impact the performance of  
SQLite.  He was specifically running SUSE.

/b

On Sep 16, 2009, at 11:07 PM, Jason White wrote:

> Please take this up with your Linux distribution as a bug report  
> related to
> the kernel, and persist with it until it's sorted out.
>
> The more that users do this, the more kernel bugs will get fixed.
>
> We're all responsible to some extent for the quality of our free/ 
> open-source
> operating systems.


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-16 Thread Gabriel Gunderson
On Wed, Sep 16, 2009 at 9:10 PM, Karl Vesterling  wrote:
> It's a kernel bug that corrupted the sqlite database.
> This caused Freeswitch to refuse the phones registration request.
> This in turn caused the phones to re-register.
> Problem was, with 10 phones, 6 lines each, perpetually registering on a
> 100Mbps LAN, well, you can imagine the overhead.
> This created severe latency with Freeswitch, and manifested as dropped
> calls, one way audio, and the more phones you had, the worse the problem
> was.

> Workaround for problem was to use a ramdisk (tmpfs)  for the database - (Big
> Thanks to bkw!)

The data in the sqlite db doesn't need to survive a reboot?  Any
benefit if it does?

Also, I've read that the ramdisk isn't that different than what the
kernel already does to keep things in memory (yielding very little
gain).

Thoughts on this?

Gabe

___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-16 Thread Tuyan Özipek
Which distro is this?

/tyn

On Thu, Sep 17, 2009 at 12:07 AM, Jason White  wrote:
> Karl Vesterling  wrote:
>
>> What Kernel Bug:
>> It's a kernel bug that corrupted the sqlite database.
>> This caused Freeswitch to refuse the phones registration request.
>
> Please take this up with your Linux distribution as a bug report related to
> the kernel, and persist with it until it's sorted out.
>
> The more that users do this, the more kernel bugs will get fixed.
>
> We're all responsible to some extent for the quality of our free/open-source
> operating systems.
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>

___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-16 Thread Jason White
Karl Vesterling  wrote:
 
> What Kernel Bug:
> It's a kernel bug that corrupted the sqlite database.
> This caused Freeswitch to refuse the phones registration request.

Please take this up with your Linux distribution as a bug report related to
the kernel, and persist with it until it's sorted out.

The more that users do this, the more kernel bugs will get fixed.

We're all responsible to some extent for the quality of our free/open-source
operating systems.


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-16 Thread Karl Vesterling

Folks;

I give credit where credit is due, and I thank Brian K. West

What For:
This was found to be a compounded problem.  (Cisco was part of it...   
But the real problem was the linux kernel...)
Suffice it to say, without the kernel bug, the cisco bug wouldn't have  
been easily found.


What Kernel Bug:
It's a kernel bug that corrupted the sqlite database.
This caused Freeswitch to refuse the phones registration request.
This in turn caused the phones to re-register.
Problem was, with 10 phones, 6 lines each, perpetually registering on  
a 100Mbps LAN, well, you can imagine the overhead.
This created severe latency with Freeswitch, and manifested as dropped  
calls, one way audio, and the more phones you had, the worse the  
problem was.


Workaround for problem was to use a ramdisk (tmpfs)  for the database  
- (Big Thanks to bkw!)


So far, it's been 24 hours, and all systems are nice and stable.  (no  
negative reports yet (fingers crossed)).


Brian (and Folks);
If this is stable through Friday (and there's no reason to think it  
won't be),  I will take the time to document the problem, basic  
configuration,  and the workaround for the problem on the Wiki this  
weekend.


Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0

On Sep 14, 2009, at 9:22 AM, Brian West wrote:


HAHA I couldn't have said this better!

/b

On Sep 14, 2009, at 8:17 AM, Anthony Minessale wrote:


The first hint was when the firmware rev began with the letters POS



___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
users

http://www.freeswitch.org




___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-14 Thread Brian West
HAHA I couldn't have said this better!

/b

On Sep 14, 2009, at 8:17 AM, Anthony Minessale wrote:

> The first hint was when the firmware rev began with the letters POS


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-14 Thread Anthony Minessale
The first hint was when the firmware rev began with the letters POS


On Mon, Sep 14, 2009 at 8:15 AM, Karl Vesterling  wrote:

> Swapping hardware...  I've noticed other "odd" things...  Things that
> shouldn't happen, do..  But not consistently  The phrase, "It's
> computing Jim, but not as we know it..." pretty much describes the
> situation.
>
> Best Regards,
> Karl J. Vesterling
> k...@ken-ton.com
> 202-461-3231 x0
>
> On Sep 13, 2009, at 6:30 PM, Karl Vesterling wrote:
>
> New development.
> Even though the initial registration succeeds, the subsequent registrations
> fail...
>
> ??Search me??  But that's just too weird for me...
>
>
>
> Best Regards,
> Karl J. Vesterling
> k...@ken-ton.com
> 202-461-3231 x0
>
> On Sep 13, 2009, at 4:23 PM, Brian West wrote:
>
> I haven't seen this issue in 8.12 either...   Maybe thats why 8.11 isn't on
> the website last I checked?
> /b
>
> On Sep 13, 2009, at 2:59 PM, Karl Vesterling wrote:
>
> RESOLVED!!!
>
> Folks, evidently this is a problem with Cisco Firmware P0S3-08-11-00
>
> I forgot that (a long long time ago) I had dropped that firmware into
> that site.
> Phones hadn't been rebooted in (a while)...
>
> Oddly enough, once you get past (X) number of phones, the registration
> chatter created by the bug was too much for FS to keep up with.
>
> P0S3-08-8-00 works perfectly fine.
>
>
> Best Regards,
> Karl J. Vesterling
> k...@ken-ton.com
> 202-461-3231 x0
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com 
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org 
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
pstn:213-799-1400
___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-14 Thread Karl Vesterling
Swapping hardware...  I've noticed other "odd" things...  Things that  
shouldn't happen, do..  But not consistently  The phrase,  
"It's computing Jim, but not as we know it..." pretty much describes  
the situation.



Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0

On Sep 13, 2009, at 6:30 PM, Karl Vesterling wrote:


New development.

Even though the initial registration succeeds, the subsequent  
registrations fail...


??Search me??  But that's just too weird for me...



Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0

On Sep 13, 2009, at 4:23 PM, Brian West wrote:

I haven't seen this issue in 8.12 either...   Maybe thats why 8.11  
isn't on the website last I checked?


/b

On Sep 13, 2009, at 2:59 PM, Karl Vesterling wrote:


RESOLVED!!!

Folks, evidently this is a problem with Cisco Firmware P0S3-08-11-00

I forgot that (a long long time ago) I had dropped that firmware  
into

that site.
Phones hadn't been rebooted in (a while)...

Oddly enough, once you get past (X) number of phones, the  
registration

chatter created by the bug was too much for FS to keep up with.

P0S3-08-8-00 works perfectly fine.


Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
users

http://www.freeswitch.org


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
users

http://www.freeswitch.org


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-13 Thread Karl Vesterling

New development.

Even though the initial registration succeeds, the subsequent  
registrations fail...


??Search me??  But that's just too weird for me...



Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0

On Sep 13, 2009, at 4:23 PM, Brian West wrote:

I haven't seen this issue in 8.12 either...   Maybe thats why 8.11  
isn't on the website last I checked?


/b

On Sep 13, 2009, at 2:59 PM, Karl Vesterling wrote:


RESOLVED!!!

Folks, evidently this is a problem with Cisco Firmware P0S3-08-11-00

I forgot that (a long long time ago) I had dropped that firmware into
that site.
Phones hadn't been rebooted in (a while)...

Oddly enough, once you get past (X) number of phones, the  
registration

chatter created by the bug was too much for FS to keep up with.

P0S3-08-8-00 works perfectly fine.


Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
users

http://www.freeswitch.org


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-13 Thread Brian West
I haven't seen this issue in 8.12 either...   Maybe thats why 8.11  
isn't on the website last I checked?


/b

On Sep 13, 2009, at 2:59 PM, Karl Vesterling wrote:


RESOLVED!!!

Folks, evidently this is a problem with Cisco Firmware P0S3-08-11-00

I forgot that (a long long time ago) I had dropped that firmware into
that site.
Phones hadn't been rebooted in (a while)...

Oddly enough, once you get past (X) number of phones, the registration
chatter created by the bug was too much for FS to keep up with.

P0S3-08-8-00 works perfectly fine.


Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-13 Thread Karl Vesterling
RESOLVED!!!

Folks, evidently this is a problem with Cisco Firmware P0S3-08-11-00

I forgot that (a long long time ago) I had dropped that firmware into  
that site.
Phones hadn't been rebooted in (a while)...

Oddly enough, once you get past (X) number of phones, the registration  
chatter created by the bug was too much for FS to keep up with.

P0S3-08-8-00 works perfectly fine.


Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0

On Sep 13, 2009, at 9:10 AM, Karl Vesterling wrote:

> That's a negative Brian.
>
> There is so much registration traffic, that (theory) any incoming
> calls take 25 seconds before they're even shown in the CLI.  And of
> course, they fail.
>
>
> Best Regards,
> Karl J. Vesterling
> k...@ken-ton.com
> 202-461-3231 x0
>
> On Sep 12, 2009, at 9:19 PM, Brian West wrote:
>
>> Sounds like you have Force-RPORT on which you can't do with a 7960.
>>
>> /b
>>
>> On Sep 12, 2009, at 6:24 PM, Karl Vesterling wrote:
>>
>>>
>>> Seems normal, right??? Keep scrolling, or search for "JUST WRONG!"
>>> and
>>> you'll see it below...
>>
>>
>> ___
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>> users
>> http://www.freeswitch.org
>>
>>
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org
>
>


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-13 Thread Karl Vesterling
That's a negative Brian.

There is so much registration traffic, that (theory) any incoming  
calls take 25 seconds before they're even shown in the CLI.  And of  
course, they fail.


Best Regards,
Karl J. Vesterling
k...@ken-ton.com
202-461-3231 x0

On Sep 12, 2009, at 9:19 PM, Brian West wrote:

> Sounds like you have Force-RPORT on which you can't do with a 7960.
>
> /b
>
> On Sep 12, 2009, at 6:24 PM, Karl Vesterling wrote:
>
>>
>> Seems normal, right??? Keep scrolling, or search for "JUST WRONG!"  
>> and
>> you'll see it below...
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org
>
>


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] A real puzzler for you guys... (perpetual registration causes denial of service.)

2009-09-12 Thread Brian West
Sounds like you have Force-RPORT on which you can't do with a 7960.

/b

On Sep 12, 2009, at 6:24 PM, Karl Vesterling wrote:

>
> Seems normal, right??? Keep scrolling, or search for "JUST WRONG!" and
> you'll see it below...


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org