-
Notifications
You must be signed in to change notification settings - Fork 377
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
Propagating error upstream + Random eviction Fix #531
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 😃
Notes:
- we have to enable, host swap so container can use it directly
- enabling swap may degrade performance, https://docs.docker.com/engine/install/troubleshoot/#kernel-cgroup-swap-limit-capabilities
Host swap should be already enabled at OS level. Do we need to add any particular capability/permission to docker or the two conf flags are enough? |
I see, on the servers that swap is not enabled, we may to enable swap before deploying these changes |
We are currently running interactsh server with this branch at hackwithautomation.com |
Description
This PR implements the following changes:
atomic.Value
state change that caused asynchronous server read to face early eviction due to the state beingPolling
at iteration check, but turned toIdle/Closed
viaStopPolling()
/Close()
(Closes investigate and fix correlation id was not found #525)