I have a Vicidial cluster with 6 dialers, 1 web and 1 database server. Since 2-3 days, I am seeing a problem where almost every time the hopper script runs, the dialing ceases until the hopper script completes. Upon investigation, I found that there are a couple of queries that the script executes out of which one is taking almost 4-5 minutes to complete. I have copied the query into Pastebin for your review:
http://pastebin.com/LK11qg75The database size was about 25GB due to piled up logs. I cleared it out yesterday and brought it down to 9GB hoping that would resolve this issue but it hasn't.
All servers have the following Vicidial installation:
Vicibox Preload 4.0.3 x64
SVN Version: 2176
DB Schema Version: 1386
VERSION: 2.10-451a
BUILD: 140902-0816
DB Hardware Specs:
2x X5650 @ 2.67 GHz
24GB RAM
4x Samsung 850 Pro SSD in RAID 10 configuration
I have other servers with similar database sizes and in fact slower servers that don't have this problem, the hopper script completes within 1-5 seconds on these other servers. Please help me figure this one out.