[Freeswitch-users] high pdd

Andre andretodd at verizon.net
Sun Aug 17 00:23:30 MSD 2014


Going with the idea it’s IO related I did a db_cache status. I just disabled limit in my code by removing it but limit should be HASH not a database however I stills how a database.

 

Below is the results of the db cache status. I’m not real sure what its saying. I should have all registration and limit disabled and should not be using any sql database from my understanding.

 

Anyone know what the results mean? I’ve only tested 2 calls on this status.

 

 

db_cache status

 

db="call_limit",type="core_db"

        Type: CORE_DB

        Last used: 196

        Total used: 2

        Flags: Unlocked, Detached(0)

        Creator: mod_db.c:98

        Last User: mod_db.c:98

db="sofia_reg_external",type="core_db"

        Type: CORE_DB

        Last used: 183

        Total used: 4

        Flags: Locked, Attached(1)

        Creator: sofia_glue.c:2399

        Last User: ..\..\src\switch_core_sqldb.c:2022

db="sofia_reg_internal",type="core_db"

        Type: CORE_DB

        Last used: 183

        Total used: 4

        Flags: Locked, Attached(1)

        Creator: sofia_glue.c:2399

        Last User: ..\..\src\switch_core_sqldb.c:2022

db="sofia_reg_internal",type="core_db"

        Type: CORE_DB

        Last used: 3

        Total used: 16

        Flags: Unlocked, Detached(0)

        Creator: sofia_glue.c:2174

        Last User: sofia_glue.c:2399

db="sofia_reg_external",type="core_db"

        Type: CORE_DB

        Last used: 3

        Total used: 16

        Flags: Unlocked, Detached(0)

        Creator: sofia_glue.c:2174

        Last User: sofia_glue.c:2399

5 total. 2 in use.

 

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andre Demattia
Sent: Saturday, August 16, 2014 11:50 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] high pdd

 

Oh the log mod are commented off however I type console log level debug. Only errors that up are after the high pdd that say can't create more sessions or can't create more events for the pop code for the cdrs.
I have the config set to 30,000 sessions for testing but the problem happens about 3000 sessions and only 300 connected.

Thanks 

  _____  

From: Andre Demattia <mailto:andretodd at verizon.net> 
Sent: ‎8/‎16/‎2014 9:48 AM
To: FreeSWITCH Users Help <mailto:freeswitch-users at lists.freeswitch.org> 
Subject: Re: [Freeswitch-users] high pdd

Hmm, I have the cdrs going to a rabbit mq on the same box but I did try disabling the cdrs totally and got the same results.

For the SQL db I'd like to turn them off. The only one I need I the limit db however the Sofia reg internal still gets created. But it is in a Ram drive if that helps.

The switch is just bypass media and I write my own IP auth so no need to register.

Is there a way I can disable all dbs to see if that is the problem? I use no SQL now.

Thanks so much for your advice.
Andre 

  _____  

From: Steven Ayre <mailto:steveayre at gmail.com> 
Sent: ‎8/‎16/‎2014 9:20 AM
To: FreeSWITCH Users Help <mailto:freeswitch-users at lists.freeswitch.org> 
Subject: Re: [Freeswitch-users] high pdd

What about logging levels (debug?) and CDRs? Are they going to disk that might be causing high I/O?

 

Also consider trying something more powerful than SQLite for the database to see if that helps - eg PostgreSQL/MySQL

 

On 16 August 2014 14:03, Andre Demattia <andretodd at verizon.net <mailto:andretodd at verizon.net> > wrote:

Any other hints that might help me figure out what could be the issue?
Thanks 

  _____  

From: Andre <mailto:andretodd at verizon.net> 
Sent: ‎8/‎15/‎2014 3:52 PM


To: 'FreeSWITCH Users Help' <mailto:freeswitch-users at lists.freeswitch.org> 
Subject: Re: [Freeswitch-users] high pdd

I run it now with no sql and the sqllite db in a ram drive. Should I run the entire process in ram drive? I’ve done that in the past but I can try again.

 

From: freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>  [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Michael Jerris
Sent: Friday, August 15, 2014 3:42 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] high pdd

 

depends what its doing, but i suspect you are hitting some I/O wait of some sort.

 

On Aug 15, 2014, at 3:38 PM, Andre <andretodd at verizon.net <mailto:andretodd at verizon.net> > wrote:

 

What would cause very high pdd 12 seconds + after 3000 ports.  Wireshark shows reinvites.

 

I have tried many profiles and even many console apps both seem to have the same results after 2500 to 3000 ports (only 300 are connected)

The server cpu and memory are ½ the server limits.

 

Any ideas where to look would be great.

 

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com




FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 

 

[The entire original message is not included.]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140816/dda55c22/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list