svn commit: r309383 - stable/10/sys/kern
Julian Elischer
julian at FreeBSD.org
Fri Dec 2 05:24:52 UTC 2016
Author: julian
Date: Fri Dec 2 05:24:51 2016
New Revision: 309383
URL: https://svnweb.freebsd.org/changeset/base/309383
Log:
MFH: r306306
Give the user a clue as to which process hit maxfiles.
Sponsored by: Panzura
Modified:
stable/10/sys/kern/kern_descrip.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/kern/kern_descrip.c
==============================================================================
--- stable/10/sys/kern/kern_descrip.c Fri Dec 2 01:52:32 2016 (r309382)
+++ stable/10/sys/kern/kern_descrip.c Fri Dec 2 05:24:51 2016 (r309383)
@@ -1780,8 +1780,8 @@ falloc_noinstall(struct thread *td, stru
priv_check(td, PRIV_MAXFILES) != 0) ||
openfiles >= maxfiles) {
if (ppsratecheck(&lastfail, &curfail, 1)) {
- printf("kern.maxfiles limit exceeded by uid %i, "
- "please see tuning(7).\n", td->td_ucred->cr_ruid);
+ printf("kern.maxfiles limit exceeded by uid %i, (%s) "
+ "please see tuning(7).\n", td->td_ucred->cr_ruid, td->td_proc->p_comm);
}
return (ENFILE);
}
More information about the svn-src-stable
mailing list