Skip to content
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

Increase of memory usage by wazuh-modulesd #23304

Closed
MARCOSD4 opened this issue May 6, 2024 · 3 comments
Closed

Increase of memory usage by wazuh-modulesd #23304

MARCOSD4 opened this issue May 6, 2024 · 3 comments
Assignees
Labels
level/task type/bug Something isn't working

Comments

@MARCOSD4
Copy link
Member

MARCOSD4 commented May 6, 2024

Wazuh version Component Install type Install method Platform
4.8.0-rc1 Wazuh component Manager Packages CentOS

Description

During testing in Release 4.8.0 - RC 1 - Footprint Metrics - ALL it has been detected a high increase of memory usage by wazuh-modulesd. This has been seen in PSS, RSS_MAXMIN, RSS and USS metrics. Increase in wazuh-modulesd is expected as indicated here, but what we are seeing in this case is a much larger increase (more than threefold) so we think it should be investigated.

Plots are compared to #23174.

Release/Stage RSS Issue
4.8.0-rc1 image #23290
4.7.4-RC2 image #23174
Release/Stage PSS Issue
4.8.0-rc1 image #23290
4.7.4-RC2 image #23174
Release/Stage USS Issue
4.8.0-rc1 image #23290
4.7.4-RC2 image #23174

More information can be found on the issue and in this comment.

@Rebits
Copy link
Member

Rebits commented May 6, 2024

Related #22841

@Dwordcito
Copy link
Member

Probably related to: #23202

@Dwordcito
Copy link
Member

Dwordcito commented May 8, 2024

The requirements due for the refactor are different in comparison with 4.7.4, the new implementation uses a different cache for high-speed read access. Explained in #22841

Furthermore, we change in #23202 the write buffer to prevent high memory allocations. this may decrease the values ​​in the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task type/bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants