Date: Mon, 20 May 2024 13:29:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278936] mqueuefs: Crashes when removing queue as user Message-ID: <bug-278936-227-SBfKatAKkO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-278936-227@https.bugs.freebsd.org/bugzilla/> References: <bug-278936-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278936 --- Comment #3 from Ricardo Branco <rbranco@suse.com> --- I managed to crash -STABLE (didn't try -RELEASE) like this: $ sudo mount -t mqueuefs none /mnt $ touch /mnt/{1..101} # Needs Bash I think touch: /mnt/101: Resource temporarily unavailable $ sysctl kern.mqueue kern.mqueue.curmq: 100 kern.mqueue.maxmq: 100 kern.mqueue.maxmsgsize: 16384 kern.mqueue.maxmsg: 100 $ rm -f /mnt/* $ sysctl kern.mqueue kern.mqueue.curmq: 0 kern.mqueue.maxmq: 100 kern.mqueue.maxmsgsize: 16384 kern.mqueue.maxmsg: 100 $ for i in {1..101} ; do posixmqcontrol create -d /$i -s 1 -d 1; done posixmqcontrol: mq_open(create): Too many open files in system $ rm -f /mnt/* POSIX message queues seem broken on FreeBSD. There's no limit per-user. I t= ried this on Linux and it only allowed me to create only 10 messages queues as u= ser, without limiting root. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278936-227-SBfKatAKkO>