Date: Fri, 9 Dec 2016 08:41:57 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r309730 - user/pho/stress2/misc Message-ID: <201612090841.uB98fvpr056090@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612090841.uB98fvpr056090>