-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Auditbeat 7.7.x Poor Performance: 100%+ CPU Usage with System Module Socket Dataset Enabled #19141
Comments
Pinging @elastic/siem (Team:SIEM) |
I'm running into the exact same issue too with Auditbeat 7.7.1 - running on Ubuntu 16.04. |
It looks like you're running into the issue fixed by #19033. The fix was too late for 7.7.1, but it will make it into 7.8.0. |
Fix available in 7.8.0 |
I have that version installed and I am still seeing this problem:
According to
As this call stack suggests, removing the --- auditbeat.yml.cpuhog 2020-06-23 09:22:49.122378568 +0200
+++ auditbeat.yml 2020-06-23 09:22:58.938317272 +0200
@@ -59,7 +59,7 @@
- host # General host information, e.g. uptime, IPs
- login # User logins, logouts, and system boots.
- process # Started and stopped processes
- - socket # Opened and closed sockets
+ # - socket # Opened and closed sockets
- user # User information
# How often datasets send state updates with the |
I have upgraded a client to auditbeat 7.8.0 and am still experiencing the same issue (on Ubuntu 16.04.6 LTS). One client upgraded from 7.6.1 (without the socket issue) to 7.8.0 and is now getting high CPU usage. Still the workaround is to uncomment the socket dataset. |
@adriansr could this issue be reopened as the issue does not appear to be fixed in 7.8.0? |
Reopening. Can someone please provide the output of running Auditbeat with |
@adriansr Here are 3 servers with the issue. Attached zip file contains the 3 profiles: Server A:
Server B:
Server C:
|
Hello Thanks |
same. |
@wixaw & @vinnytroia what versions of |
Oh. I don’t have 781. Let me try. I will get back thanks
Vinny Troia
www.nightlion.com
www.vinnytroia.com
…________________________________
From: Andrew Stucki <[email protected]>
Sent: Tuesday, August 4, 2020 10:31:40 AM
To: elastic/beats <[email protected]>
Cc: Vinny Troia <[email protected]>; Mention <[email protected]>
Subject: Re: [elastic/beats] Auditbeat 7.7.x Poor Performance: 100%+ CPU Usage with System Module Socket Dataset Enabled (#19141)
@wixaw<https://github.com/wixaw> & @vinnytroia<https://github.com/vinnytroia> what versions of auditbeat are you running? The fix for the bug I found was shipped in 7.8.1 which was release on July 27th--trying to determine if this is another issue or if you just need to upgrade the patch version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#19141 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAMY7T5SYXWOGKUQV6G7J3LR7ASVZANCNFSM4N3WETXA>.
|
Hello |
I still see this problem in version 7.9.3 |
I still have the problem (with version 7.9.1) on machines with a lot of network traffic (e.g squid, webserver), too. |
Auditbeat 7.7.x with the System Module Socket Dataset enabled, will randomly start using 100%+ CPU on some servers. This was not an issue prior to 7.7.x.
Restarting the Auditbeat services causes CPU usage to go back to normal for a bit, but it will eventually start having issues again.
This issue doesn't seem to happen on every server, running Auditbeat on ~100 servers with the same config (below), the issue appears to occur on 10-15% of the servers. I see the issue on both OpenSUSE and CentOS servers, on multiple different kernels, and running different apps.
Screenshot showing issue (Percentages on the graph are of total CPU, not of individual cores, this example server has 4 cores, meaning Auditbeat is using one of them completely for itself):
Version Output:
System versions:
Configuration:
For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: