svn commit: r309730 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Fri Dec 9 08:41:58 UTC 2016


Author: pho
Date: Fri Dec  9 08:41:57 2016
New Revision: 309730
URL: https://svnweb.freebsd.org/changeset/base/309730

Log:
  Limit the number of open files to ulimit.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  user/pho/stress2/misc/fdgrowtable.sh

Modified: user/pho/stress2/misc/fdgrowtable.sh
==============================================================================
--- user/pho/stress2/misc/fdgrowtable.sh	Fri Dec  9 08:38:52 2016	(r309729)
+++ user/pho/stress2/misc/fdgrowtable.sh	Fri Dec  9 08:41:57 2016	(r309730)
@@ -34,7 +34,7 @@
 
 . ../default.cfg
 
-max=`sysctl kern.maxfilesperproc | sed 's/.*: //'`
+max=`ulimit -n`
 
 here=`pwd`
 cd /tmp


More information about the svn-src-user mailing list