postgres - FATAL: sorry, too many clients already
访问量: 3968
1. 修改配置文件中的
# by dashi
max_connections = 1000
2. 重启数据库
3. 验证:
postgres=# SELECT * FROM pg_stat_activity; postgres=# SELECT COUNT(*) from pg_stat_activity;
访问量: 3968
1. 修改配置文件中的
# by dashi
max_connections = 1000
2. 重启数据库
3. 验证:
postgres=# SELECT * FROM pg_stat_activity; postgres=# SELECT COUNT(*) from pg_stat_activity;