astguiclient processes bring down mysql too many connection

All installation and configuration problems and questions

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

astguiclient processes bring down mysql too many connection

Postby garfunct » Sat Dec 29, 2007 10:49 pm

Have been running 3 boxes for couple of months.

1 http and mysql on centos

2 asterisk 1.2.17 load balanced

guess we must have changed something...

now astguiclient processes bring down mysql with too many connections

have tried max wait time in my.cnf and up max connections to 300 but really the only thing that stops mysql from becoming non functional is to turn of options
1,5 and 7 in astguiclient.conf

phones eventually ring on client end but not before interface times out...
really weird.

hopin someone can help
garfunct
 
Posts: 38
Joined: Tue Aug 07, 2007 9:55 am

Postby williamconley » Sun Dec 30, 2007 12:01 am

The last time I had a sql crash on a vicidial install it was that sql didn't have room to run because the drive ran out of space. it looked like a sql problem, but "df" showed my hard drive was full. I had all my drive space taken up by log files. cleaned out the logs. *poof* system worked again.

may not be related, but i don't see any other responses and if it *is* related you could be up in 2 minutes.

Good luck.
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby mcargile » Sun Dec 30, 2007 5:39 pm

First off, I agree with williamconley, please make sure the parition where mysql is stored is not full. This can cause MySQL to crash.

Second, check that there is not something funny on the network. I once had a customer who's DNS server stopped resolving localhost to 127.0.0.1 (not your problem as you have a multi server setup). Had another customer in which it took three seconds to establish a connection to the DB even though the asterisk server and the DB were on the same switch. Come to find out they had a windows virus clogging their network.

If neither of those are the problem I would check that the scripts have not been altered in some way. Do a diff between source files and the ones that are running on the system. It is possible that there was file corruption or someone edited something they should not have.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Postby garfunct » Sun Dec 30, 2007 10:27 pm

I have been looking at all these points and have currently found nothing wrong.

My guess is I have not looked hard enough however so i will be looking again..

Thnx for the support however.
garfunct
 
Posts: 38
Joined: Tue Aug 07, 2007 9:55 am

Postby mflorell » Thu Jan 03, 2008 2:45 am

try starting mysql without name lookups:

/usr/local/mysql/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache &
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby garfunct » Thu Jan 03, 2008 5:47 am

consider this case closed the box was hacked...

any hooo gave me a chance to try the vicinow disk

and is great to see for users like ourselves

recommend it to all newbies and will try to post our experience on vicidialnow website
garfunct
 
Posts: 38
Joined: Tue Aug 07, 2007 9:55 am


Return to Support

Who is online

Users browsing this forum: No registered users and 135 guests