If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > too many connection

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-23-08, 09:16
GongXi GongXi is offline
Registered User
 
Join Date: Jun 2004
Posts: 57
too many connection

Hi,

We are using mysql 3 version database, and now keep get "too many connection" . We still tracing our code on the problem. For temporary solve the problem, we try to kill connection using mysqladmin process list, however, we found that after kill the connection, it still pending on the list with status ="killed", and user still get "too many connection".
Only after we restart mysql services, then the problem solved.

do we able to restart mysql services from remote side?

any help on this?

Last edited by GongXi; 10-23-08 at 09:34.
Reply With Quote
  #2 (permalink)  
Old 10-23-08, 09:28
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
depends on what front end you are using. check to see if the front end allows the sharing/pooling of connections
check that your front end is closing connections as soon as they have finished with it

if all else fails investigate if you can increase the number of connections

Unless you know you have that many users Id be very reluctant to alter the max_connections parameter in the MySQL setup on the grounds that you are fixing the symptoms without curing the problem.
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 10-23-08, 21:47
GongXi GongXi is offline
Registered User
 
Join Date: Jun 2004
Posts: 57
sorry, i not quite familiar on that.

What do you mean for "frontend"? mean our program or server?

again, thanks for your fast response.
Reply With Quote
  #4 (permalink)  
Old 10-24-08, 03:41
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
what is the software that you are using to connect to MySQL. is it PHP, ASP, VC, VB, .NET........
what is it that is creating the connection(s) in the first place.
the front end is the application software that the users interacts with, the back end is the server(s) that provide the data
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On