无法连接数据库:Too many connections

>  /app/base/lib/db/connections.php:198
#0trigger_error(...string(42) "无法连接数据库:Too many connections" ,'256')connections.php:198
#1base_db_connections->_connect('db-master.local.com','ecstore','oU2py8NzZkbz','ecstore')connections.php:187
#2base_db_connections->_rw_conn()connections.php:172
#3base_db_connections->_ro_conn()connections.php:112
#4base_db_connections->select(...string(46) "select app, `key`, value from sdb_base_setting" )setting.php:12
#5base_syscache_setting->get_data()ego.php:71
#6base_ego_syscache->_reload()ego.php:61
#7base_ego_syscache->__construct('setting')ego.php:42
#8base_ego_syscache::instance('setting')setting.php:69
#9base_setting->get_conf('sitemaps')app.php:136
#10app->getConf('sitemaps')router.php:80
#11site_router->__construct(object(appobject(app)#2 (21) { ["__render":"app":private]=> NULL ["__router":"app":private]=> NULL ["__define":"app":private]=> NULL ["__taskrunner":"app":private]=> NULL ["__checkVaryArr":"app":private]=> array(0) { } ["__langPack":"app":private]=> array(0) { } ["__installed":"app":private]=> NULL ["__actived":"app":private]=> NULL ["__setting":"app":private]=> object(base_setting)#4 (4) { ["app"]=> *RECURSION* ["__source_file_path"]=> NULL ["__app_conf":"base_setting":private]=> array(0) { } ["__app_setting":"base_setting":private]=> array(0) { } } ["app_id"]=> string(4) "site" ["app_dir"]=> string(25) "/srv/www/default/app/site" ["res_url"]=> string(50) "http://www.mctmall.cn:8080/public/app/site/statics" ["res_full_url"]=> string(50) "http://www.mctmall.cn:8080/public/app/site/statics" ["lang_url"]=> string(47) "http://www.mctmall.cn:8080/public/app/site/lang" ["lang_full_url"]=> string(47) "http://www.mctmall.cn:8080/public/app/site/lang" ["widgets_url"]=> string(50) "http://www.mctmall.cn:8080/public/app/site/widgets" ["widgets_full_url"]=> string(54) "http://www.mctmall.cn:8080/public/app/app/site/widgets" ["res_dir"]=> string(33) "/srv/www/default/app/site/statics" ["widgets_dir"]=> string(33) "/srv/www/default/app/site/widgets" ["lang_dir"]=> string(30) "/srv/www/default/app/site/lang" ["_lang_resource"]=> NULL } ))app.php:84
#12app->router()kernel.php:166
#13kernel::boot()index.php:5