Jump to content

error log - php fatal error - too many connections


kokod

Recommended Posts

Hi,

I am having trouble with my prestashop site. it doesn't respond. My hosting site says there are too many processes running.

When I looked at the error log.. I see this happening again and again

[22-Nov-2024 18:55:25 Etc/GMT] PHP Fatal error:  Uncaught PDOException: SQLSTATE[08004] [1040] Too many connections in /home/shop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Stack trace:
#0 /home/shop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=loca...', 'kokodesi_shoppe...', 'D1ggly2015?', Array)
#1 /home/shop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(25): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=loca...', 'kokodesi_shoppe...', 'D1ggly2015?', Array)
#2 /home/shop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'kokodesi_shoppe...', 'D1ggly2015?', Array)
#3 /home/shop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(422): Doctrine\DBAL\Connection->connect()
#4 /home/shop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(382): Doctrine\DBAL\ in /home/shop/vendor/doctrine/doctrine-bundle/ConnectionFactory.php on line 79

Have I got an infected site or what is going wrong? I haven't made any changes to the site other than uploading stock over the past months.

Any help or advice would be greatly appreciated

 

I'm running version 1.7.8.7

Edited by kokod
include version of prestashop (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...