MySQL Too many connections

Discussion in 'General' started by Knot, Feb 4, 2011.

  1. Knot

    Knot New Member

    Hi!

    I sent a mass mail from my phpBB forum and the ispconfig show this error:

    Code:
    Warning: mysql_connect() [function.mysql-connect]: Too many connections in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72
    
    Warning: mysql_connect() [function.mysql-connect]: Too many connections in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 72
     
  2. pititis

    pititis Member

  3. flojo

    flojo New Member

    Edit /etc/mysql/my.cnf

    And change
    max_connections = 100

    To a higher number.

    HTH

    P.s. Make it 500
     
  4. Knot

    Knot New Member

    Thanks for the help. The problem occurred only when I send a mass mail, and then disappear. I will change the values and then I will test with a new mass mail.
     
  5. cyrus1977

    cyrus1977 New Member

    remember every mails makes an mysql connection. If you have a lot of (local) deliveries then .... well you found that out allready.. :)
     

Share This Page