-
Notifications
You must be signed in to change notification settings - Fork 81
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
Implement a strategy to handle OOM in direct memory #475
base: main
Are you sure you want to change the base?
Commits on Sep 27, 2023
-
Avoid to run Beats parser and Beats protocol handler in separate exec…
…utors group (beatsHandlerExecutorGroup)
Configuration menu - View commit details
-
Copy full SHA for dc8a8b0 - Browse repository at this point
Copy the full SHA dc8a8b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 700543c - Browse repository at this point
Copy the full SHA 700543cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e5f7b3 - Browse repository at this point
Copy the full SHA 8e5f7b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbabb78 - Browse repository at this point
Copy the full SHA dbabb78View commit details -
Update the flow control handler to avoid new reads if the channel bec…
…omes not writable, to excert backpressure to the sender system
Configuration menu - View commit details
-
Copy full SHA for ea7f14d - Browse repository at this point
Copy the full SHA ea7f14dView commit details -
Separated the logic to drop incoming connections into specific handler
On new channel registration (that correspond to a new client connection), verifies the direct memory stastus to understand if almost the totality max direct memory is reached and also if the majoproity of that space is used by pinned byte buffers. If the codition is verified that means direct memory avvailable is terminating, so no new connection would help in the situation, and the incoming new connections are closed.
Configuration menu - View commit details
-
Copy full SHA for 234569d - Browse repository at this point
Copy the full SHA 234569dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86e4445 - Browse repository at this point
Copy the full SHA 86e4445View commit details -
Removed tests using EmbeddedChannel because doesn't manage the writea…
…ble status due to that offload every message to the outbound list
Configuration menu - View commit details
-
Copy full SHA for 0148987 - Browse repository at this point
Copy the full SHA 0148987View commit details -
Configuration menu - View commit details
-
Copy full SHA for af04733 - Browse repository at this point
Copy the full SHA af04733View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd7aafe - Browse repository at this point
Copy the full SHA cd7aafeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6e775c - Browse repository at this point
Copy the full SHA c6e775cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e34bf25 - Browse repository at this point
Copy the full SHA e34bf25View commit details -
Raised up the log level level when dropping connections becuase of th…
…undering and going to OOM condition
Configuration menu - View commit details
-
Copy full SHA for 7a6982e - Browse repository at this point
Copy the full SHA 7a6982eView commit details -
Better actionable suggestion to user in case of OOM
Co-authored-by: João Duarte <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 299ee27 - Browse repository at this point
Copy the full SHA 299ee27View commit details -
Updated OOMConnectionCloser to monitor the consumption of memory also…
… during the read opeartion and not only on exception
Configuration menu - View commit details
-
Copy full SHA for e24f339 - Browse repository at this point
Copy the full SHA e24f339View commit details -
Re-introduce the beats handlers worker group to separata the Beats pr…
…otocol processing from the boss group that accepts and listed to new sockets
Configuration menu - View commit details
-
Copy full SHA for c7c54d9 - Browse repository at this point
Copy the full SHA c7c54d9View commit details -
Added feature flag named protect_direct_memory to control the usage o…
…f OOM checking or not. Enabled by default.
Configuration menu - View commit details
-
Copy full SHA for 16a76b8 - Browse repository at this point
Copy the full SHA 16a76b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d75a0df - Browse repository at this point
Copy the full SHA d75a0dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68f4967 - Browse repository at this point
Copy the full SHA 68f4967View commit details