Once again I have this problem.
Server specs:
Processor: Intel Core-i5
RAM: 8 GB DDR3
Hard drives: 2 x 1 TB Seagate 7200 RPM SATA 3 (software RAID mirror using mdadm)
System: Vicibox 5.0.3
SVN Version: 2038
Asterisk: 1.8.23.1-vici
24 agents, RATIO set to 5, only outgoing calls.
Problem:
When agents start calling CPU utilization gets higher and higher. The Process that consumes CPU is: AST_update.pl It increase from 5% to 100% in about 5-6 hours.
Somethimes a got this error in asterisk -r : "WARNING[2626]: chan_sip.c:4214 __sip_autodestruct: Autodestruct on dialog 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@xxxxxxxxxxxxxxxx' with owner SIP/xxxxxxxxxxxxxx in place (Method: BYE). Rescheduling destruction for 10000 ms"
When a check:
asterisk -rx "core show channels"
I got this result:
1003 active channels
3054 active calls
25625 calls processed
Also in web gui Admin/Servers/Modify/Live Channels there is 1003 live channels.
When this happens Load Average is: 3.81 4.15 4.45
Over time active channels and active calls are increasing.
When agents log out and there are "NO LIVE CALLS WAITING NO AGENTS ON CALLS" in real report i got this messages in asterisk -r:
Spawn extension (default, 9438435189, 2) exited non-zero on 'Local/9438435189@default-00004c47;2'
Only the number of telephone are getting changed.
In few minutes active channels and active calls are dropping to 0.
Can you help me with solution to this problem?