New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in com.facebook.presto.memory.ClusterMemoryManager#changeListeners
#10812
Comments
@findepi Piotr, I'm still seeing these failures. Do you have more fixes in the pipeline? :-) |
@mbasmanova i regret.. but i don't. The problem deserves some more investigation. |
@mbasmanova oh, i just found some lost commits #10866 & #10865 |
@mbasmanova i am glad to hear that, but this might still be incidental. I've seen a red build even with #10866. |
Recently the problem became more server and more easily reproducible locally.
that are never going to be removed. I am not entirely sure yet, since all info I got so far is the 10M instances of |
com.facebook.presto.memory.ClusterMemoryManager#changeListeners
I see now. 10M
I didn't dig why the executions queue up (might be a bottleneck, since the executor is single threaded, or some kind of a lock). |
@findepi Does this still need a fix? |
@raghavsethi |
The way listeners are setup in I was able to repro a similar issue locally by not closing the Here is what's happening: Say, a query transitions to the |
I ran multiple experiments by disabling |
Will definitely get to it today
…On Fri, Jul 20, 2018 at 10:23 AM Nezih Yigitbasi ***@***.***> wrote:
I ran multiple experiments by disabling TestMemoryAwareExecution and it
seems to help. Previously, I was getting 1/3 passes for presto-tests,
when I disabled it I got 3/3 passes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10812 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArsDJCwPcj8DSBdQHn5FVmd1XFADt6Bks5uIhIQgaJpZM4UkIG9>
.
|
Talked to @nezihyigitbasi and will have a fix by Monday. |
Previously, we would add a listener for state change *on* every state change. This could also cause listeners to be added in a loop in between failed state transitions. Fixes prestodb#10812.
@raghavsethi Can it be closed now? |
@dain has a PR that removes MemoryAwareExecution completely. |
Example log: https://api.travis-ci.org/v3/job/389838962/log.txt
Commit: 48ea8f3
Example PR: #10808
log: https://api.travis-ci.org/v3/job/390987547/log.txt
log tail:
Should we increase tests memory limit? Could there be some mem leak?
CC: @electrum
The text was updated successfully, but these errors were encountered: