From bff439345cafa59a4bd72c2a20591e7bd8441b47 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 2 May 2025 17:04:50 +0000 Subject: Increase default kbufsz to 1 MiB; don't die on ENOBUFS (but spam) Signed-off-by: Laurent Bercot --- doc/mdevd.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/mdevd.html') diff --git a/doc/mdevd.html b/doc/mdevd.html index ca39b02..7c2a869 100644 --- a/doc/mdevd.html +++ b/doc/mdevd.html @@ -119,9 +119,9 @@ cause a loop by chaining two separate instances of mdevd. mdevd will protect you against accidents, not against intentional stupidity.)
  • -b kbufsz : try and reserve a kernel buffer of kbufsz bytes for the netlink queue. Too large a buffer wastes kernel memory; -too small a buffer risks losing events. The default is 512288, -meaning 500 kB, which should be -enough for most systems; if you're getting "No buffer space available" errors +too small a buffer risks losing events. The default is 1048576, +meaning 1 MiB, which should be +enough for most systems; if you're getting "missed events" warnings from mdevd at coldplug time, try increasing this number.
  • -n : dry run. mdevd will not create or delete device nodes, and it will not spawn commands. Instead, it will print to stdout -- cgit v1.3.1