All of lore.kernel.org
 help / color / mirror / Atom feed
* Attempting to deal with " audispd: queue is full - dropping event" messages
@ 2010-10-07  0:50 Jim Richard
  2010-10-07 13:46 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Richard @ 2010-10-07  0:50 UTC (permalink / raw)
  To: linux-audit@redhat.com


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

All:

I'm getting several hundred of these each day on my servers. I'm using remote logging to a central sever via the audisp-remote plugin.
I've seen recommendations to up the following setting in audispd.conf to help minimize these errors:

priority_boost = 8

This seems to raise the priority of the audispd daemon, but I'm also using audisp-remote to a central log servers. This setting doesn't seem to effect the priority of the remote plugin, as evidenced for the following output from the top command:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
13498 root      11  -4 10096  844  684 S  0.0  0.0   0:00.01 audisp-remote
13497 root       3 -12 16268  768  624 S  0.0  0.0   0:00.00 audispd
13495 root      11  -4 27352  868  588 S  0.0  0.0   0:00.00 auditd

For the priority boost to be fully effective wouldn't it have to apply to the plugins as well?  Is there a way to boost priority on audisp-remote? If not, should there be a way to do this or should it be automatic?

Also are there any other settings that can be made to minimize/eliminate dropped events from audispd? I'm curious about the following:

*       Audispd.conf: q_depth
*       Audisp-remote.conf: queue_depth

How do these two relate to each other, should they be the same, or some specific ratio... etc?

Thanks in advance for any suggestions on this.

Best Regards,

Jim Richard


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

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



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

* Re: Attempting to deal with " audispd: queue is full - dropping event" messages
  2010-10-07  0:50 Attempting to deal with " audispd: queue is full - dropping event" messages Jim Richard
@ 2010-10-07 13:46 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2010-10-07 13:46 UTC (permalink / raw)
  To: linux-audit; +Cc: Jim Richard

On Wednesday, October 06, 2010 08:50:36 pm Jim Richard wrote:
> I'm getting several hundred of these each day on my servers. I'm using
> remote logging to a central sever via the audisp-remote plugin. I've seen
> recommendations to up the following setting in audispd.conf to help
> minimize these errors:
> 
> priority_boost = 8

You can go higher, too.


> This seems to raise the priority of the audispd daemon, but I'm also using
> audisp-remote to a central log servers. This setting doesn't seem to
> effect the priority of the remote plugin, as evidenced for the following
> output from the top command:

The child processes inherit the priority of the audit daemon. This is because 
you don't want the plugins fighting the parent process for time slots. The main 
issue is communication between auditd and audispd.

 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 13498 root      11  -4 10096  844  684 S  0.0  0.0   0:00.01 audisp-remote
> 13497 root       3 -12 16268  768  624 S  0.0  0.0   0:00.00 audispd
> 13495 root      11  -4 27352  868  588 S  0.0  0.0   0:00.00 auditd
> 
> For the priority boost to be fully effective wouldn't it have to apply to
> the plugins as well?  Is there a way to boost priority on audisp-remote?
> If not, should there be a way to do this or should it be automatic?

Yes, boost auditd's priority if you really want to.

 
> Also are there any other settings that can be made to minimize/eliminate
> dropped events from audispd? I'm curious about the following:
> 
> *       Audispd.conf: q_depth
> *       Audisp-remote.conf: queue_depth

The warning message you are getting is from audispd. You can increase its 
queue and priority.

 
> How do these two relate to each other, should they be the same, or some
> specific ratio... etc?

The audisp-remote queue is based on how many events you want it to queue for 
network latency or server reboots. You can make it as big as you want.

 
> Thanks in advance for any suggestions on this.
 
There is no hard and fast rule. It depends on your audit rules, system 
behavior, and network traffic.

-Steve

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

end of thread, other threads:[~2010-10-07 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07  0:50 Attempting to deal with " audispd: queue is full - dropping event" messages Jim Richard
2010-10-07 13:46 ` Steve Grubb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.