1. 集群说明

6台服务器。其中1台(rt67-1)运行GTM,其余5台均运行1个GTM_PROXY、1个Coordinator node、3个Data node。每个服务器连接到3组网络中,每个Data node分别处在一组网络中。

  1. 问题描述

    在连接入库并发数较高时,报错:

    ERROR: Failed to get pooled connections

    HINT: This may happen because one or more nodes are currently unreachable, either because of node or network failure.

    Its also possible that the target node may have hit the connection limit or the pooler is configured with low connections.

    Please check if all nodes are running fine and also review max_connections and max_pool_size configuration parameters

  2. 分析过程

    检查了网络、防火墙、max_connections、max_pool_size均没有问题。无意中发现data node的参数文件中gtm_host设置为rt67-1,好像哪里不对。于是在官网上查询对该参数的定义。

  3. 官方文档对gtm_host的说明

Configuring Datanodes

Configuring Coordinators

gtm_proxy

Postgres-XL Specific Parameters

  1. 问题修正

    通过对该参数定义的解读,发现可能是data node中该参数设置不当引起的错误。于是将该参数调整为当前服务器的gtm_proxy的IP和端口。再测试,问题得以修正。

  2. 其它

gtm_connect_retry_interval (integer)

Specifies how long in seconds GTM-Proxy waits between each retry to connect to GTM when communication error with GTM is detected. Default value is 60. Refer to gtm_connect_retry_count and gtm_connect_retry_idle.

最新文章

  1. pscp工具上传或取回文件、文件夹
  2. [LintCode] Sort Integers II 整数排序之二
  3. C#编程总结 字符转码
  4. BZOJ2905 : 背单词
  5. 解决Android SDK Manager更新下载速度慢
  6. Azkaban遇到的坑-installation Failed.Error chunking
  7. Linear Regression
  8. eclipse svn安装
  9. 爬虫入门系列(一):快速理解HTTP协议
  10. jdbc与java.sql
  11. 解决SpringMVC拦截器中Request数据只能读取一次的问题
  12. 如何使用JVisualVM进行性能分析
  13. linux软件管理 源码包
  14. Hibernate5笔记7--Hibernate缓存机制
  15. fd - 更好的 find 命令
  16. rabbitMQ高可用
  17. Linux实战教学笔记19:Linux相关网络知识梳理
  18. MyEclipse安装aptana插件, 8.5之前版本 和 之后版本, MyEclipse10安装aptana
  19. dll隐式链接延迟加载
  20. win7下配置JAVA环境变量

热门文章

  1. The difference between Virtual DOM and DOM
  2. Js 日期字符串分别截取 年 月 日 时 分 秒
  3. PHP函数file_get_contents()使用 https 协议时报错:SSL operation failed
  4. TopK问题及优化
  5. BDE在 win7 找不到存储过程myproc;1
  6. linux jar/war包 后台运行
  7. nginx之allow、deny
  8. Web Components 入门实例教程
  9. mysql优化查找执行慢的sql
  10. HTML a标签链接 设置点击下载文件