Page 1 of 1

Reports take a long time and freeze calls

PostPosted: Thu Jul 13, 2017 4:36 pm
by saulortega
In some reports, like Inbound by DID, the queries with a filter of only one day take a long time, until one or two minutes, and after first 30 seconds (aproximately) Asterisk freezes and inbound calls are dropped or remain silent for several seconds. The mysqld pid is in more than 100%.

I consider that the operation is soft for the server:

All campaigns in Inbound.
20 calls simultaneusly.
25 agents.
Intel 12 cores 2,2 GHz
8 GB ram
HDD 15K rpm.

VERSION: 2.14-601a
BUILD: 170315-0633

Is it possible to optimize this?

Re: Reports take a long time and freeze calls

PostPosted: Thu Jul 13, 2017 5:36 pm
by mflorell
Either archive your old logs or get a separate slave database server to run your reports on.