git: 5682eee1efd3 - main - devd: raise the maximum allowed client to 50
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Mar 2025 09:01:36 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/src/commit/?id=5682eee1efd35fb65751641181ae2a50d86efaab
commit 5682eee1efd35fb65751641181ae2a50d86efaab
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-03-20 08:53:16 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-03-20 08:56:51 +0000
devd: raise the maximum allowed client to 50
since the creation of libudev-devd, but also with powerd, recent libusb
changes etc. 10 client is not enough anymore to cover the desktop needs
and end users often ends up with:
sonewconn: pcb 0xfffff8004dd43780 (local:/var/run/devd.seqpacket.pipe)...
raise the maximum allowed client to 50, which should be enough to cover
user requirements.
MFC After: 1 week
---
sbin/devd/devd.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc
index 8d621e42a232..d7a3fee57870 100644
--- a/sbin/devd/devd.cc
+++ b/sbin/devd/devd.cc
@@ -938,7 +938,7 @@ create_socket(const char *name, int socktype)
return (fd);
}
-static unsigned int max_clients = 10; /* Default, can be overridden on cmdline. */
+static unsigned int max_clients = 50; /* Default, can be overridden on cmdline. */
static unsigned int num_clients;
static list<client_t> clients;