我尝试通过文章在数字海洋(https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-on-postgresql-on-an-ubuntu-12-04-vps)上设置“主-2从站”配置。
第一个从成功地连接到主人和工作良好。第二个从站无法连接。来自postgresql (第二个从站)日志:
2015-11-02 11:17:35 MSK [14198-1] FATAL: could not connect to the primary server: FATAL: too many connections for role "rep"从主服务器日志:
2015-11-02 11:17:32 MSK [18981-1] rep@[unknown] FATAL: too many connections for role "rep"每个奴隶都需要不同的用户?
发布于 2015-11-02 08:49:06
https://unix.stackexchange.com/questions/240215
复制相似问题