Error - Too many connections?


(Hotte) #1

Hi,

Piwik now runs for one week for my site and all seems fine.
But when i try to check i get an error message i don’t understand.

The site is very new and it is not possible to get more than 50 visits a day.
So how could there be this error?

SQLSTATE[08004] [1040] Too many connections
Backtrace:

#0 /mydomain.de/httpdocs/piwik/libs/Zend/Db/Adapter/Abstract.php(228): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /mydomain.de/httpdocs/piwik/core/Piwik.php(1212): Zend_Db_Adapter_Abstract->getConnection()
#2 /mydomain.de/httpdocs/piwik/core/FrontController.php(230): Piwik::createDatabaseObject()
#3 /mydomain.de/httpdocs/piwik/index.php(52): Piwik_FrontController->init()
#4 {main}

Thanks Hotte


(Hotte) #2

[quote=Hotte @ Jun 6 2009, 07:45 AM]Hi,

Piwik now runs for one week for my site and all seems fine.
But when i try to check i get an error message i don’t understand.

The site is very new and it is not possible to get more than 50 visits a day.
So how could there be this error?

SQLSTATE[08004] [1040] Too many connections
Backtrace:

#0 /mydomain.de/httpdocs/piwik/libs/Zend/Db/Adapter/Abstract.php(228): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /mydomain.de/httpdocs/piwik/core/Piwik.php(1212): Zend_Db_Adapter_Abstract->getConnection()
#2 /mydomain.de/httpdocs/piwik/core/FrontController.php(230): Piwik::createDatabaseObject()
#3 /mydomain.de/httpdocs/piwik/index.php(52): Piwik_FrontController->init()
#4 {main}

Thanks Hotte[/quote]

OK, now found that it is a server message.
But i still don’t understand because the web site is normal and fast loaded.
No server delay or something else.
And piwik runs on the same server…


(Hotte) #3

Next step!

when i try to login on my server account i get another db error.
It seems there is a general database problem of my provider and not of piwik.

So i have to wait…

Hotte