errors:
2019-07-19 16:51:31 url:[http://www.everychina.net/cd-cast_forged-1907] entry:[/index.php] args:[] get:[Array ( [r] => index/plevel [catecode] => 19070000 [catename] => cast_forged ) ] ip:[54.92.148.165] 0.029 [Exception:PDOException],errstr:[exception 'PDOException' with message 'SQLSTATE[08004] [1040] Too many connections' in /data/www/libs/frbiz/db.php:63 Stack trace: #0 /data/www/libs/frbiz/db.php(63): PDO->__construct('mysql:host=db2;...', 'search', 'searchmc', Array) #1 /data/www/everychina/libs/everychina/db2.php(30): Frbiz_Db->_createPdo(Array) #2 /data/www/everychina/libs/everychina/db2.php(18): EveryChina_Db2->__construct() #3 /data/www/everychina/libs/ec/tran/mytcate.php(21): EveryChina_Db2::instance() #4 /data/www/everychina/libs/ec/tran/mytcate.php(16): Ec_Tran_MytCate->__construct() #5 /data/www/everychina/landing/protected/controllers/IndexController.php(179): Ec_Tran_MytCate::instance() #6 /data/www/libs/yii/web/actions/CInlineAction.php(49): IndexController->actionPlevel() #7 /data/www/libs/yii/web/CController.php(308): CInlineAction->runWithParams(Array) #8 /data/www/libs/yii/web/CController.php(286): CController->runAction(Object(CInlineAction)) #9 /data/www/libs/yii/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #10 /data/www/libs/yii/web/CWebApplication.php(282): CController->run('plevel') #11 /data/www/libs/yii/web/CWebApplication.php(141): CWebApplication->runController('index/plevel') #12 /data/www/libs/yii/base/CApplication.php(180): CWebApplication->processRequest() #13 /data/www/everychina/landing/www/index.php(98): CApplication->run() #14 {main}],errfile:[/data/www/libs/frbiz/db.php:63] 0060 : } 0061 : //打开长链接 0062 : //@$this->_attributes[PDO::ATTR_PERSISTENT]=true; 0063 * $pdo = new $pdoClass($info['connectionString'], $info['username'], $info['password'], $this->_attributes); 0064 : if($info['charset'] !== null) { 0065 : $driver = strtolower($pdo->getAttribute(PDO::ATTR_DRIVER_NAME)); 0066 : if(!in_array($driver, array('sqlite', 'mssql', 'dblib', 'sqlsrv'))) { 0067 : $pdo->exec('SET NAMES ' . $pdo->quote($info['charset'])); trace: #0 LibsErrorReport::exception_handler([PDOException]) called at [:]