Re: How to admin a server that currently has too many connections?

2004-09-01 Thread Egor Egorov
Justin Swanhart [EMAIL PROTECTED] wrote:

 The problem is that another application has been issuing queries
 against the table and those queries have never timed out.  So now I
 can't kill the connections, because I can't make a database connection
 to mysql to even see their thread ids:
 
 [EMAIL PROTECTED] mysql]$ mysqladmin -u root -p processlist
 Enter password:
 mysqladmin: connect to server at 'localhost' failed
 error: 'Too many connections'
 
 I don't want to kill the mysqld process, because that would stop my
 index creation.
 
 Is there anything you can do in this situation?  I don't think
 connections from mysqladmin should ever be denied.  Is this a feature
 request that I should make?

You only have to wait for some connections to free. Next time enlarge max_connections 
variable. 

 





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: How to admin a server that currently has too many connections ?

2004-08-31 Thread Victor Pendleton
Is there already a mysql privileged account logged in? The database will
allow for an administrative account to login, if one is not already active,
in the event of too many connections. It sounds as if you may be running one
or more accounts with this privilege.

-Original Message-
From: Justin Swanhart
To: [EMAIL PROTECTED]
Sent: 8/31/04 11:43 AM
Subject: How to admin a server that currently has too many connections?

I am creating an index on a very large innodb table that is taking a
very long time to complete which I understand is a limitation of
innodb.

The problem is that another application has been issuing queries
against the table and those queries have never timed out.  So now I
can't kill the connections, because I can't make a database connection
to mysql to even see their thread ids:

[EMAIL PROTECTED] mysql]$ mysqladmin -u root -p processlist
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Too many connections'

I don't want to kill the mysqld process, because that would stop my
index creation.

Is there anything you can do in this situation?  I don't think
connections from mysqladmin should ever be denied.  Is this a feature
request that I should make?

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]