linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* AUDITD issues
@ 2017-03-17 17:59 warron.french
  2017-03-17 18:13 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: warron.french @ 2017-03-17 17:59 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 1499 bytes --]

Hi everyone, I work in an environment with Internet-isolated networks.

I am having a problem that presents the following in /var/log/messages:
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch err (pipe full) event lost
*auditd[787]: *dispatch error reporting limit reached - ending report
notification

While tailing the /var/log/audit/audit.log I notice a high volume of data
pouring into the file; looked like it was tied to the same "keyed" audit
rule, so I commented out all of the rules associated with that -k "key."

I restarted the audit daemon, and continued to monitor the
/var/log/audit/audit.log; and the speed at which records were pouring in
was drastically reduced; however, /var/log/messages is still reporting the
same dispatch errors.

The rules that are pegging audit.log (and forcing it to roll over every 2
minutes at a size of 36MB) were commented out, and /usr/sbin/ntpd (I think
through the adjtimex syscall) is what is now the more recent culprit.

Any suggestions on how to resolve this problem?

--------------------------
Warron French

[-- Attachment #1.2: Type: text/html, Size: 2004 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AUDITD issues
  2017-03-17 17:59 AUDITD issues warron.french
@ 2017-03-17 18:13 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2017-03-17 18:13 UTC (permalink / raw)
  To: linux-audit

On Friday, March 17, 2017 1:59:46 PM EDT warron.french wrote:
> Hi everyone, I work in an environment with Internet-isolated networks.
> 
> I am having a problem that presents the following in /var/log/messages:
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch err (pipe full) event lost
> *auditd[787]: *dispatch error reporting limit reached - ending report
> notification
> 
> While tailing the /var/log/audit/audit.log I notice a high volume of data
> pouring into the file; looked like it was tied to the same "keyed" audit
> rule, so I commented out all of the rules associated with that -k "key."
> 
> I restarted the audit daemon, and continued to monitor the
> /var/log/audit/audit.log; and the speed at which records were pouring in
> was drastically reduced; however, /var/log/messages is still reporting the
> same dispatch errors.
> 
> The rules that are pegging audit.log (and forcing it to roll over every 2
> minutes at a size of 36MB) were commented out, and /usr/sbin/ntpd (I think
> through the adjtimex syscall) is what is now the more recent culprit.
> 
> Any suggestions on how to resolve this problem?

In /etc/audisp/audispd.conf, raise the setting for q_depth. Out of the box, 
the audit system is configured for casual use and collecting selinux avcs. If 
you really are using the audit system and generating lots of events, then you 
need to tune it to survive bursts of events. I run with a value of 512 and do 
not get any overflows. YMMV.

-Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-17 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-17 17:59 AUDITD issues warron.french
2017-03-17 18:13 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).