|
Posted by Silvio Porcellana on 02/07/05 22:13
Richard Lynch wrote:
>
> <snip />
>
> Actually, you want a few SPARE MySQL connections, so you can use the mysql
> command line monitor to do things -- Particularly in case of a run-away
> PHP/MySQL script which slams the server into over-drive... If you don't
> have a connection available cuz they're all used up by Apache/_pconnect,
> you can't log into mysql monitor and you can't use mysqladmin to bring it
> down nicely and... Don't do that. :-)
>
> <snip />
>
Actually, MySQL already takes care of that as it allows 'max_connections + 1' clients to
connect, leaving the '+1' connection for the user(s) with SUPER privilege (that can
therefore issue a "SHOW PROCESSLIST" or nicely bring down the server).
http://dev.mysql.com/doc/mysql/en/too-many-connections.html
Back to lurking, cheers everybody.
Silvio
Navigation:
[Reply to this message]
|