Date: Thu, 03 Aug 2023 01:11:07 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 272357] rctl.conf(5) resourcing name error Message-ID: <bug-272357-9-dHpD3b6Q0B@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272357-9@https.bugs.freebsd.org/bugzilla/> References: <bug-272357-9@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=3D272357 --- Comment #2 from dewayne@heuristicsystems.com.au --- (In reply to Benedict Reuschling from comment #1) I performed testing as follows: # rctl -a loginclass:userhi:maxproc:deny=3D3/user # rctl loginclass:userlo:maxproc:deny=3D3/user Two simultaineous login sessions were initiated. One session ran top. The other session performed the following: $ cc /tmp/a.c -sh: Cannot fork: Resource temporarily unavailable $ top -sh: Cannot fork: Resource temporarily unavailable Obviously fourth process was denied. The audit log also captured: failure : Resource temporarily unavailable Apologies for using my "userlo" class, it should've been "testing", so a corrected suggestion is: loginclass:testing:maxproc:deny=3D100/user # At most 100 processes per user PS the man page for auditd incorrectly contains: asl, libauditd, launchd in= its 'See Also' section. They don't exit. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272357-9-dHpD3b6Q0B>