Error: 1040 too many connections

2005-01-12 Thread A Z


Hi,

MySQL 4.0.14

This may have been queried a lot here.

We get this error and after re-starting the server
(MySQL) it seems to go away for a while.

As per instructions we have changed the max connection
in the My.ini to 500 (max_connections=500). 
MySQLAdmin displays connections = 120.

Is there anything else we can do to deal with this
issue?

regards






___ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! 
http://uk.messenger.yahoo.com

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



Re: Error: 1040 too many connections

2005-01-12 Thread eben
I had the same error for quite some time, the issue seemed to be server
resources not being able to kill off connections quickly enough.  We had a lot
of traffic and some pretty slow queries.  Optimizing the queries bought us some
time, but ultimately we had to upgrade hardware.  This bought us about a year
and we are against the wall again now with the 1040 issue.  We are probably
going to get another server and set up replication. 

I'd be interested to hear anyone elses stories around this issue, it's been
quite a headache for us...
 
 

Quoting A Z [EMAIL PROTECTED]:

 
 
 Hi,
 
 MySQL 4.0.14
 
 This may have been queried a lot here.
 
 We get this error and after re-starting the server
 (MySQL) it seems to go away for a while.
 
 As per instructions we have changed the max connection
 in the My.ini to 500 (max_connections=500). 
 MySQLAdmin displays connections = 120.
 
 Is there anything else we can do to deal with this
 issue?
 
 regards
 
 
 
   
   
   
 ___ 
 ALL-NEW Yahoo! Messenger - all new features - even more fun!
 http://uk.messenger.yahoo.com
 
 -- 
 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]



Re: Error: 1040 too many connections

2005-01-12 Thread Gleb Paharenko
Hello.



There reason can be in  big queries wich consume the resources (temp space

for example). Turn on log_slow_queries to find the guilty queries.



See:

  http://dev.mysql.com/doc/mysql/en/Slow_query_log.html



You have old enough version of MySQL. Use the latest release.

  



A Z [EMAIL PROTECTED] wrote:

 

 

 Hi,

 

 MySQL 4.0.14

 

 This may have been queried a lot here.

 

 We get this error and after re-starting the server

 (MySQL) it seems to go away for a while.

 

 As per instructions we have changed the max connection

 in the My.ini to 500 (max_connections=500). 

 MySQLAdmin displays connections = 120.

 

 Is there anything else we can do to deal with this

 issue?

 

 regards

 

 

 







 ___ 

 ALL-NEW Yahoo! Messenger - all new features - even more fun! 
 http://uk.messenger.yahoo.com

 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [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: ERROR 1040: Too many connections

2001-01-23 Thread Filippo Carletti

 Filippo There must be a problem, then.
 Filippo It happens to me, often, that I cannot obtain a proc or ext with
mysqladmin
 Filippo as root.
 Filippo All accesses are through an unpriv username, I have
max_connections=1000 and
 Filippo a
 Filippo ps ax | grep mysqld | wc -l gives me a value lower than 1000, so
there must
 Filippo be room for one more connection.

 What error do you get?

No connection.

 Are you sure that your other users dosn't have the 'PROCESS_PRIV'
privilege?

Oops. You're right, obviously. Should have checked before, sorry.

Filippo



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: ERROR 1040: Too many connections

2001-01-22 Thread Michael Widenius


Hi!

 "Filippo" == Filippo Carletti [EMAIL PROTECTED] writes:

 Sometimes something bad happens in a server and it is hard to figure out
 what is going on because we can not get in. I'd like to suggest a change
Filippo for
 MySQL 4 protocol, such that a connection from localhost can still get
 through even if there are too many connections.
 
 It is already there - max_connections limit is actually for the user
Filippo without
 process_priv. For the user with process_priv, the limit is max_connections
Filippo +
 1. The trick is not to connect as root for your regular connections.

Filippo There must be a problem, then.
Filippo It happens to me, often, that I cannot obtain a proc or ext with mysqladmin
Filippo as root.
Filippo All accesses are through an unpriv username, I have max_connections=1000 and
Filippo a
Filippo ps ax | grep mysqld | wc -l gives me a value lower than 1000, so there must
Filippo be room for one more connection.

Filippo Filippo

What error do you get?

Are you sure that your other users dosn't have the 'PROCESS_PRIV' privilege?

Regards,
Monty

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php