I have a Java application which exposes REST.
I have a master and 2 slaves. (jboss7.1.1)
Apache-modcluster takes care of load balancing.
I have queues maintained in my application which gets filled up at times, when there are no consumers. Hence I get OutOfMemory and the slave node goes down.
Is there any configuration in apache modcluster to check the load and block incoming requests, inspite of just routing?
Or any different suggestion?