I upgraded to version 5.5.5 from 5.4.3 less than 48 hours ago and in that time the CRM has crashed now 2 times. System was not crashing before upgrade at all using 5.3.4.
In the error logs it indicates errors with MySQL going on.
This error simply repeats, after investigating i increase the max connections for mysql from 100 to 300 after the first crash, the 2nd it crashed time this error came back.
---- First time
[2019-01-16 14:11:01] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[08004] [1040] Too many connections" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 1040): SQLSTATE[08004] [1040] Too many connections at /var/www/espocrm/application/Espo/ORM/EntityManager.php:157)"} []
[2019-01-16 14:12:05] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [2002] No such file or directory" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /var/www/espocrm/application/Espo/ORM/EntityManager.php:157)"} []
---- Second time
[2019-01-17 14:31:02] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[08004] [1040] Too many connections" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 1040): SQLSTATE[08004] [1040] Too many connections at /var/www/espocrm/application/Espo/ORM/EntityManager.php:157)"} []
---- Third Time (Just now happened while composing this post!
[2019-01-17 14:56:01] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[08004] [1040] Too many connections" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 1040): SQLSTATE[08004] [1040] Too many connections at /var/www/espocrm/application/Espo/ORM/EntityManager.php:157)"} []
Any help would be appreciated.
In the error logs it indicates errors with MySQL going on.
MySQL Version | 5.6.33-0ubuntu0.14.04.1 |
---- First time
[2019-01-16 14:11:01] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[08004] [1040] Too many connections" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 1040): SQLSTATE[08004] [1040] Too many connections at /var/www/espocrm/application/Espo/ORM/EntityManager.php:157)"} []
[2019-01-16 14:12:05] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [2002] No such file or directory" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /var/www/espocrm/application/Espo/ORM/EntityManager.php:157)"} []
---- Second time
[2019-01-17 14:31:02] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[08004] [1040] Too many connections" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 1040): SQLSTATE[08004] [1040] Too many connections at /var/www/espocrm/application/Espo/ORM/EntityManager.php:157)"} []
---- Third Time (Just now happened while composing this post!
[2019-01-17 14:56:01] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[08004] [1040] Too many connections" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 157 {"exception":"[object] (PDOException(code: 1040): SQLSTATE[08004] [1040] Too many connections at /var/www/espocrm/application/Espo/ORM/EntityManager.php:157)"} []
Any help would be appreciated.
Comment