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

Memory leak in Windows reading from the EventChannel #2450

Closed
chemamartinez opened this issue Jan 24, 2019 · 0 comments
Closed

Memory leak in Windows reading from the EventChannel #2450

chemamartinez opened this issue Jan 24, 2019 · 0 comments
Labels
module/agent Issues related to the agent daemon module/logcollector type/bug Something isn't working
Projects

Comments

@chemamartinez
Copy link
Contributor

Bug report

OS
Windows

Wazuh version
3.8.0-3805

Install type
agent

Install method
packages/sources

Log sample

ossec-agent: CRITICAL: (1102): Could not acquire memory due to [(12)-(Not enough space)].

Bug description

This is a bug reported in the Wazuh mailing list (https://groups.google.com/forum/?nomobile=true#!topic/wazuh/wMDY942F20A).

It consists of a memory leak when parsing Windows events read from the Event-channel which makes the agent lost memory until it crashes. It has been introduced in Windows agents v3.8.0 in the Logcollector component when monitoring the EventChannel with the following configuration sample:

<localfile>
  <log_format>eventchannel</log_format>
  ...
</localfile>

Really appreciated the feedback from users who reported the error.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/agent Issues related to the agent daemon module/logcollector type/bug Something isn't working
Projects
No open projects
Wazuh 3.8.1
  
Done
Development

No branches or pull requests

2 participants