I checked the gemfire server log and found the following statements in my log file. :
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
....
What are the possible causes? How do i find the root cause?
I using Gemfire 9.8.6, and most of the regions are replicated. Clients are connected to the server regions through Caching Proxy by Spring Data Gemfire.
gemfire.properties [Server]
Based on the Cache Server Log File, i found out that my Handshaker max Pool Size: 4 and max-connections=800 and max-threads=0
Handshaker max Pool size: 4
CacheServer Configuration: port=51XX max-connections=800 max-threads=0 notify-by-subscription=true socket-buffer-size=1250000
I changed the file descriptors for redhat soft limit to 8192, and the hard limit to 81920, and number of processes (nproc) soft limit to 501408, with an unlimited hard limit.
- Total Number of Server : 2
- Total Number of Locator : 2
- Total Number of Client: 15
Thank you for your help