After transferring a MODx 0.9.2.1 site to his host, I’m experiencing a lot of this errors (they came for ten or twenty seconds, then leave, then return after some time):
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_connect(): Too many connections
Error type/ Nr.: Warning - 2
File: /home/ageinf8g/public_html/manager/includes/extenders/dbapi.mysql.class.inc.php
Line: 85
Line 85 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd))) {
Parser timing
MySQL: 0.0000 s s (0 Requests)
PHP: 0.0268 s s
Total: 0.0268 s s
It’s strange, because it is the same host I was using for developing, only now it isn’t on a subdirectory. All the paths are right, I’m pretty sure.
What can trigger them?