commit 860390bf190372c50f8904f006f39c6aa1bdd8ab Author: Oliver Pinter Date: Fri Mar 1 16:08:38 2013 +0100 added td_name to maxproc limits warning diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 9af4a04..db5eabc 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -929,8 +929,9 @@ fork1(struct thread *td, int flags, int pages, struct proc **procp, fail: sx_sunlock(&proctree_lock); if (ppsratecheck(&lastfail, &curfail, 1)) - printf("maxproc limit exceeded by uid %i, please see tuning(7) and login.conf(5).\n", - td->td_ucred->cr_ruid); + printf("maxproc limit exceeded by uid %i td_name %s, " + "please see tuning(7) and login.conf(5).\n", + td->td_ucred->cr_ruid, td->td_name); sx_xunlock(&allproc_lock); #ifdef MAC mac_proc_destroy(newproc);