We are using Spring Session management using Pivotal GemFire in our application.
In production, when the load increases the application is not responding (completely hangs). We are getting an error like the client is blacklisted. We checked the request count and it's like 15k.
The application is deployed in containers. The protocol used is Http11AprProtocol
and the max thread count is set at 200
. We checked the Thread Dump. Error is given below.
We are not sure whether the amount of load cannot be handled by the containers or by GemFire. In GemFire, is there any specific parameter which determines the number of Threads it can handle. Any help is appreciated.
Cache Client Updater Thread on server Id=14397 in RUNNABLE (running in native)
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
- locked java.lang.Object@2f2e340
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
- locked sun.security.ssl.AppInputStream@1ce48525
at org.apache.geode.internal.cache.tier.sockets.Message.fetchHeader(Message.java:809)
]