Database Server keepalives = X

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Database Server keepalives = X

Postby optimusvoice2012 » Sun Sep 30, 2012 10:17 pm

Hi Guys,

Is it right to configure Database Server keepalives = X?

We are using 3 Web/Asterisk at the same server.
And separate DB Server.

vicidial 2.6
asterisk 1.4.39


Thanks!
Last edited by optimusvoice2012 on Tue Oct 23, 2012 6:37 am, edited 2 times in total.
optimusvoice2012
 
Posts: 7
Joined: Thu Sep 06, 2012 2:07 pm

Re: Database Server keepalives = X

Postby mflorell » Mon Oct 01, 2012 8:21 am

yes that is allright
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Database Server keepalives = X

Postby optimusvoice2012 » Wed Oct 24, 2012 11:21 am

Thanks for the reply matt!
Right now we are encountering a different issue. All of a sudden we are encountering database overload issues in the middle of the shift. We already transfer our database to different server but still doing it. Our servers are all configured EST -5.00.. On our analysis, this things happen during 8AM to 930AM EST time. . then it continues to have issues until the end of the shift. We are looking on crontab -e.. We don't see any script running at those times..

Hope you could help us shed some light on this. It is causing us our production to go low.
Thanks!
optimusvoice2012
 
Posts: 7
Joined: Thu Sep 06, 2012 2:07 pm

Re: Database Server keepalives = X

Postby mflorell » Thu Oct 25, 2012 2:07 pm

I would suggest using mtop or enabling slow query logging in mysql to take a look at what queries are causing this, then it should be easy to see what's causing it.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Database Server keepalives = X

Postby williamconley » Sun Oct 28, 2012 8:00 pm

It may also be a very good idea to "describe" these database overload issues.

And "show processlist" is a good tool to quickly observe the situation while it is happening (same command issued by mtop ...).

Also: Post your installation method and the cluster method as these can have a huge impact on these situations (and Matt can often "guess" at your problem based on those facts alone! LOL)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 21 guests