[Bug 191002] [openbsm] auditdistd 1.2-alpha3 leaves kqueue handles open, hits system maxfiles limit

2014-06-13 Thread bz-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191002

--- Comment #1 from Ryan Steinmetz z...@freebsd.org ---
Created attachment 143745
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=143745action=edit
procstat -fa|grep auditdistd

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 191002] [openbsm] auditdistd 1.2-alpha3 leaves kqueue handles open, hits system maxfiles limit

2014-06-13 Thread bz-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191002

--- Comment #2 from Ryan Steinmetz z...@freebsd.org ---
mjg reviewed this and believes that for each new file there is new kqueue
descriptor opened (/bin/auditdistd/sender.c - read_thread_wait -
wait_for_file_init) ... and that always calls kqueue.  It appears as if the
kqueue descriptors aren't being closed when this happens.

On the systems where this is an issue for me, they are ones that would have
higher-than-usual audit log sizes.  (nagios host, etc.).

A hack-patch might look like this: http://pastebin.com/5SaBUuqF

Although, he recommended that we remove the old watchers as a more proper fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org


[Bug 191002] [openbsm] auditdistd 1.2-alpha3 leaves kqueue handles open, hits system maxfiles limit

2014-06-13 Thread bz-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191002

Ryan Steinmetz z...@freebsd.org changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|p...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org