Hello,

First of all, what is the exact version/build that is being used?

I would say that it is hard to precisely identify what is the issue, knowing 
only retained sizes of some objects, but there are several different 
assumptions that may have happened with the cluster. And this queue is not 
cache entries inserted with data streamer, they don’t fall into discovery 
RingMessageWorker as they don’t have to go across the whole server topology.

There are couple of issues in Ignite JIRA that are related to memory 
consumption in ServerImpl/ClientImpl, but the one that might possibly fit is: 
https://issues.apache.org/jira/browse/IGNITE-11058 , because others might not 
be related to TcpDiscoveryCustomEventMessage class.

If you still have your heap dump available, check for the messages and data 
stored in these custom messages, what kind of messages are there?

Since there are some large BinaryMetadata/Holder heap consumption, my guess 
would be that there is something like MetadataUpdateProposedMessage inside, and 
here is another ticket that might be useful to be checked for:
https://issues.apache.org/jira/browse/IGNITE-11531

And the last thing, data streamer tuning points are described in the javadoc, 
check for perNodeParallelOperations to do the throttling on the source side: 
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteDataStreamer.html

Regards,
Anton

From: Abhishek Gupta (BLOOMBERG/ 731 LEX)
Sent: Thursday, October 17, 2019 1:29 AM
To: [email protected]
Subject: Pending Requests queue bloating

Hello,
I'm using G1GC with 24G on each of the 6 nodes in my grid. I saw issue while 
ingesting large amounts of data (using DataStreamers) today where the old gen 
kept bloating and GC pauses kept going up until the point where the grid became 
unusable. Looking at the heap dump (attached) of one of the nodes it seems like 
the Pending Messages queue kept bloating to the point where the GC started to 
churn a lot. 

Questions - 
1. Given the only operation that were occurring on the grid at the time was 
ingestion using datastreamer, is this queue basically of those messages?

2. What is the recommended solution to this problem? 
a. The CPU usage on the server was very low throughout, so what could be 
causing this queue to bloat? (I'm not using any persistence) 
b. Is there a way to throttle these requests on the server such that the 
clients feel back pressure and this queue doesn't fill up?

Anything else you can recommend?

Thanks,
Abhishek







Reply via email to