1) Increase the number of connections in /etc/my.cnf  (the MySQL Config
file).
example:

max_connections=300

(300 to 1000 might be a good working range)

I run mine at 1000.

The default number of MySQL connections without a configuration directive is
much to low.

The DbMail imap daemon connections are sleeping connections and do not bloat
resources but are of benefit in responding to client requests in a hurry.


best... Mike



----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "DBMail mailinglist" <dbmail@dbmail.org>
Sent: Thursday, August 12, 2004 3:14 PM
Subject: [Dbmail] DBMail and IMAP - too many connections


> I tried to start the IMAP daemon that comes with DBMail 1.2.9, it started
> up correctly and I was able to connect to a mailbox via IMAP and create
> folders and move messages around but then I found after a minute I
> couldn't connect to my MySQL database any longer.  I kept getting the
> message ( "Too many connections" ).
>
> So I rebooted my Linux mail server and just connected to the MySQL system
> with my SQL front end, and after about 1 minute I got the same error.  So
> it's like the IMAP daemon is spawning database connections until the limit
> is reached.
>
> Has anyone experienced this and does anyone have an insight as to how I
> might be able to solve this?
>
> Thanks.
>
> Bryan
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to