linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: AUDITD issues
Date: Fri, 17 Mar 2017 14:13:35 -0400	[thread overview]
Message-ID: <1746991.hrpdOgsfzT@x2> (raw)
In-Reply-To: <CAJdJdQ=XrONeaZP-7QQD1pNPOz1XXCE5XT=DwY-rD4V-b-RO7w@mail.gmail.com>

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

      reply	other threads:[~2017-03-17 18:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17 17:59 AUDITD issues warron.french
2017-03-17 18:13 ` Steve Grubb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1746991.hrpdOgsfzT@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).