List:General Discussion« Previous MessageNext Message »
From:Daniel Koch Date:June 30 1999 8:25pm
Subject:Re: Too Many Connections
View as plain text  
Lisa Thompson wrote:

> Hello,
> I'm receiving the message "Too many Connections" when I try to connect
> to a mysql database.  I'm running Apache 1.3.6, ModPerl 1.20, and Mysql
> version 3.22.22.
> When I do a mysqladmin processlist, there are a lot of sleep processes.
> What is a sleep process?  Could this be causing the problem?
> ---------------------------------------------------------------------
> Please check "" before
> posting. To request this thread, e-mail mysql-thread6311@stripped
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.

"Sleep process" means that it's connected to a client application, but it's
not currently running a query.  If you're using mod_perl with Apache::DBI,
each httpd process will maintain a separate connection to MySQL.

You need to increase the max_connections variable when you start up mysqld,

    safe_mysqld -O max_connections=300

will allow 300 connections.

Dan Koch
American City Business Journals

Too Many ConnectionsLisa Thompson30 Jun
  • Re: Too Many ConnectionsDaniel Koch1 Jul
  • Re: Too Many ConnectionsBenjamin Pflugmann1 Jul