Database Load average and Load spike

All installation and configuration problems and questions

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

Database Load average and Load spike

Postby ruben23 » Thu Nov 01, 2012 3:28 am

Multi Server- 2DBRelication M/S(HA,HearBeat/MON),Web(Proxmox_VMs-LoadBalance),3-telephony
ASterisk 1.4.27-vici
Dahdi-current
2.4 svntrunk
Ubuntu server 10.04 LTS
Scracth Install
VERSION: 2.6
© 2012 ViciDial Group

Guys any idea how to prevent Database load spike and somehow lagging because of very huge leads data causing the vicidial_list table to lagged in every query, Update, insert.Any suggestion what can be done_im having leads files for almost 4 years and every cronjob script runs like

Code: Select all
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl


Code: Select all
1 1,7 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt


Image

Image

hoping for any advice somehow. Thanks
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Re: Database Load average and Load spike

Postby mflorell » Thu Nov 01, 2012 3:43 am

Looks like you have a lot of leads, and your DB might be forcing the Lists display in the admin.php to go to a temp table when it tries to display that screen. If you upgrade there is a new system settings feature to no do the lead counts on that page. If you enable that option this problem will go away.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Database Load average and Load spike

Postby ruben23 » Thu Nov 01, 2012 3:50 am

@mflorell

Thanks for your prompt reply, on what particular setting its located on the campaign..? is it on the system setting or on the server_ whats the name of the exact feature settings.thanks
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Re: Database Load average and Load spike

Postby mflorell » Thu Nov 01, 2012 11:00 am

It's a "System Settings" option: "Admin List Counts"
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Database Load average and Load spike

Postby ruben23 » Mon Nov 05, 2012 9:09 am

@Mark Flynn

Thank you so much for the great help and resolving this issue really a vici_expert and a good man too.Thanks again..
Also acknowledge Omar_your always helping
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Re: Database Load average and Load spike

Postby williamconley » Mon Nov 05, 2012 11:00 am

ruben23 wrote:@Mark Flynn

Thank you so much for the great help and resolving this issue really a vici_expert and a good man too.Thanks again..
Also acknowledge Omar_your always helping

Not a Vicidial Expert. THE Vicidial Expert. 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!)

Re: Database Load average and Load spike

Postby mark_flynn » Tue Nov 06, 2012 4:30 am

No probs :)
VERSION: 2.4-362a
BUILD: 120316-1203
mark_flynn
 
Posts: 78
Joined: Fri Sep 23, 2011 8:15 am
Location: Manchester, UK


Return to Support

Who is online

Users browsing this forum: No registered users and 149 guests