MYSQL_DB load Spike
Posted: Wed Apr 25, 2012 4:15 am
Multi Server- 1DB,Web,telephony
ASterisk 1.4.27-vici
Dahdi-current
2.4 svntrunk
Ubuntu server 10.04 LTS
Scracth Install
VERSION: 2.4-357a
BUILD: 120125-2107
© 2012 ViciDial Group
Database Spec:
Inte QuadCore Xeon 2.6Ghz
16GB ram
HDD SAS
Asterisk Spec:
Intel Quad Core Xeon 2.4Ghz
4GB ram
SAS HDD
Web Server Spec
Intel Xeon Dual Core
4Gb ram
SAS hdd
hi guys i have issue with my sole Databased Server i have spike load while monitoring with htop on particular on some designated time which i come to isolate its realated to the cronjobs being executed on there givin schedule time:
--->/usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt
---> /usr/share/astguiclient/AST_DB_optimize.pl
---> /usr/share/astguiclient/AST_reset_mysql_vars.pl
And i dont know why this affecting so much on teh database whihc the load goes to 100 percent straight for few minutes and by the tie this occur agent cant login at all on the agent interface all seems freezing cant click even any button. the tie duration goes like 5-10 minutes then after all will be workign well back again.im confused why this happening i trid running single server before but this cronjob are not affecting at all on production, but now it is.On teh CPU core somehow like i got four cores
1----->5 percent
2--------------------------------------------->100 percent
3--1 percent
4--------------------------------------------->100 percent
i used this to optimized my databased ----> http://download.vicidial.com/conf/my-vicidb.cnf
Issue also almost all the hours of operation are fill in i got break 10-15 minutes only(For the meantime i put the cronjobs schedule on that time frame)
Any idea guys.Thanks in advance.
ASterisk 1.4.27-vici
Dahdi-current
2.4 svntrunk
Ubuntu server 10.04 LTS
Scracth Install
VERSION: 2.4-357a
BUILD: 120125-2107
© 2012 ViciDial Group
Database Spec:
Inte QuadCore Xeon 2.6Ghz
16GB ram
HDD SAS
Asterisk Spec:
Intel Quad Core Xeon 2.4Ghz
4GB ram
SAS HDD
Web Server Spec
Intel Xeon Dual Core
4Gb ram
SAS hdd
hi guys i have issue with my sole Databased Server i have spike load while monitoring with htop on particular on some designated time which i come to isolate its realated to the cronjobs being executed on there givin schedule time:
--->/usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt
---> /usr/share/astguiclient/AST_DB_optimize.pl
---> /usr/share/astguiclient/AST_reset_mysql_vars.pl
And i dont know why this affecting so much on teh database whihc the load goes to 100 percent straight for few minutes and by the tie this occur agent cant login at all on the agent interface all seems freezing cant click even any button. the tie duration goes like 5-10 minutes then after all will be workign well back again.im confused why this happening i trid running single server before but this cronjob are not affecting at all on production, but now it is.On teh CPU core somehow like i got four cores
1----->5 percent
2--------------------------------------------->100 percent
3--1 percent
4--------------------------------------------->100 percent
i used this to optimized my databased ----> http://download.vicidial.com/conf/my-vicidb.cnf
Issue also almost all the hours of operation are fill in i got break 10-15 minutes only(For the meantime i put the cronjobs schedule on that time frame)
Any idea guys.Thanks in advance.