Skip to content

Add a kqueue based directory monitor#5022

Merged
HofiOne merged 7 commits intosyslog-ng:masterfrom
HofiOne:add-kqueue-based-dir-monitor
Jul 23, 2024
Merged

Add a kqueue based directory monitor#5022
HofiOne merged 7 commits intosyslog-ng:masterfrom
HofiOne:add-kqueue-based-dir-monitor

Conversation

@HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Jul 18, 2024

wildcard-file() sources are using a directory monitor as well to aid detection of changes in the folders of the followed files. The new kqueue-based directory monitor uses far fewer resources than the poll based version on BSD-based systems.

Signed-off-by: Hofi [email protected]

@HofiOne HofiOne changed the title Added a kqueue based directory monitor Add a kqueue based directory monitor Jul 18, 2024
@HofiOne HofiOne force-pushed the add-kqueue-based-dir-monitor branch 5 times, most recently from 2a84bc4 to c93dd23 Compare July 19, 2024 12:11
@HofiOne HofiOne force-pushed the add-kqueue-based-dir-monitor branch from c93dd23 to 45034a3 Compare July 19, 2024 12:12
@HofiOne HofiOne marked this pull request as ready for review July 19, 2024 12:12
@HofiOne HofiOne requested a review from kovgeri01 July 19, 2024 12:13
@HofiOne HofiOne force-pushed the add-kqueue-based-dir-monitor branch from 45034a3 to 0857961 Compare July 19, 2024 12:27
@HofiOne HofiOne force-pushed the add-kqueue-based-dir-monitor branch from 798bd3b to fe3011d Compare July 19, 2024 13:15
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Jul 19, 2024
@HofiOne HofiOne force-pushed the add-kqueue-based-dir-monitor branch from f61c005 to 94ca9c2 Compare July 19, 2024 13:49
HofiOne added a commit to HofiOne/syslog-ng.github.io that referenced this pull request Jul 19, 2024
HofiOne added a commit to syslog-ng/syslog-ng.github.io that referenced this pull request Jul 22, 2024
@czanik
Copy link
Collaborator

czanik commented Jul 23, 2024

Tested on FreeBSD: 👍

@HofiOne HofiOne merged commit 7f1b52b into syslog-ng:master Jul 23, 2024
@HofiOne HofiOne deleted the add-kqueue-based-dir-monitor branch July 23, 2024 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants