We have max spout pending enabled and it is set to 1000 and we have the back 
pressure system turned off. We did see increased latency for the processor 
which contributed to the queueing. Given what you are saying I assume that 1000 
messages are just too large to fit in memory we have assigned? Should we look 
at turning on back pressure and reducing max spout mending?

Thanks,

--
Tim


From: Roshan Naik <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Monday, May 1, 2017 at 2:26 PM
To: "[email protected]" <[email protected]>, "[email protected]" 
<[email protected]>
Subject: Re: Disruptor Queue Filling Memory

You are most likely experiencing back pressure and your max spout pending is 
not enabled. That is causing the overflow (unbounded) linked list inside stom's 
disruptor wrapper to swallow all the memory. You can try using max spout 
pending to throttle the spouts under such scenarios.

Get Outlook for iOS<https://aka.ms/o0ukef>



On Mon, May 1, 2017 at 11:56 AM -0700, "Tim Fendt" 
<[email protected]<mailto:[email protected]>> wrote:
We have been having an issue where after about a week of running our old gen on 
the JVM has troubles freeing space. I generated a heapdump during the last 
issue and found it to be filled with DisruptorQueue objects. Is there a memory 
leak with the disruptor queue or is there some configuration we are missing? We 
are running Storm version 1.0.2.

org.apache.storm.utils.DisruptorQueue$ThreadLocalBatcher and 
org.apache.storm.utils.DisruptorQueue classes fill the memory.
https://puu.sh/vCkQE/cda1f319ad.png

This is our config for the supervisors:
storm.local.dir: "/var/storm-local"
storm.zookeeper.servers:
    - “10.0.0.5”
storm.zookeeper.port: 2181

nimbus.seeds: ["10.0.0.6"]

supervisor.slots.ports:
    - 6700

worker.childopts: "-Xms3072m -Xmx3072m"


Thanks,

--
Tim

Confidentiality Notice: The information contained in this e-mail, including any 
attachment(s), is intended solely for use by the designated recipient(s). 
Unauthorized use, dissemination, distribution, or reproduction of this message 
by anyone other than the intended recipient(s), or a person designated as 
responsible for delivering such messages to the intended recipient, is strictly 
prohibited and may be unlawful. This e-mail may contain proprietary, 
confidential or privileged information. Any views or opinions expressed are 
solely those of the author and do not necessarily represent those of Virgin 
Pulse, Inc. If you have received this message in error, or are not the named 
recipient(s), please immediately notify the sender and delete this e-mail 
message.

Reply via email to