我检查了gemfire服务器日志,并在日志文件中找到了以下语句。:
Rejected connection from Server connection from [client host address=XXX.XXX.XXX.XX; client port=XXXX1] because incoming request was rejected by pool possibly due to thread exhaustion
Rejected connection from Server connection from [client host address=XXX.XXX.XXX.XX; client port=XXXX2] because incoming request was rejected by pool possibly due to thread exhaustion
....可能的原因是什么?我要怎么找出根本原因?
我使用Gemfire 9.8.6,大部分区域都是复制的。客户端通过Spring数据Gemfire缓存代理连接到服务器区域。
gemfire.properties服务器

根据缓存服务器日志文件,我发现我的握手器max池大小:4和max-connections=800和max-线程=0
Handshaker max Pool size: 4
CacheServer Configuration: port=51XX max-connections=800 max-threads=0 notify-by-subscription=true socket-buffer-size=1250000我将redhat软限制的文件描述符更改为8192,硬限制为81920,进程数(nproc)软限制为501408,具有无限的硬限制。
谢谢你的帮助
发布于 2020-05-13 08:32:08
当GemFire服务器没有足够的资源来处理传入的请求时,它通常会记录该消息。我建议你看看微调客户端/服务器配置和确保你有足够的套接字。希望这能有所帮助。干杯。
https://stackoverflow.com/questions/61765826
复制相似问题