Date: Sun, 4 Apr 2021 08:36:33 GMT From: Peter Holm <pho@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 332a6001389f - main - stress2: Add note about problems found. Message-ID: <202104040836.1348aXLZ045491@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=332a6001389f2b7e547fe24f02568a32f993bfa2 commit 332a6001389f2b7e547fe24f02568a32f993bfa2 Author: Peter Holm <pho@FreeBSD.org> AuthorDate: 2021-04-04 08:27:53 +0000 Commit: Peter Holm <pho@FreeBSD.org> CommitDate: 2021-04-04 08:27:53 +0000 stress2: Add note about problems found. --- tools/test/stress2/misc/maxvnodes.sh | 9 ++++++--- tools/test/stress2/misc/maxvnodes2.sh | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/test/stress2/misc/maxvnodes.sh b/tools/test/stress2/misc/maxvnodes.sh index b962310cbb0e..e53c378fa762 100755 --- a/tools/test/stress2/misc/maxvnodes.sh +++ b/tools/test/stress2/misc/maxvnodes.sh @@ -33,9 +33,12 @@ # "panic: vm_fault_hold: fault on nofault entry, addr: 0xfffffe00b1b3c000" # seen: https://people.freebsd.org/~pho/stress/log/kostik1175.txt +# https://people.freebsd.org/~pho/stress/log/log0084.txt +# Fixed by: dc532884d582 + . ../default.cfg -kldstat | grep -q tmpfs.ko || notloaded=1 +kldstat | grep -q tmpfs && loaded=1 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint mount -o size=2g -t tmpfs tmpfs $mntpoint || exit 1 chmod 777 $mntpoint @@ -59,12 +62,12 @@ min=1000 max=$((oldmx * 4)) while kill -0 $! 2>/dev/null; do sysctl kern.maxvnodes=`jot -r 1 $min $max` > /dev/null - sleep `jot -r 1 1 3` + sleep .2 done wait while mount | grep $mntpoint | grep -q tmpfs; do umount $mntpoint || sleep 1 done -[ $notloaded ] && kldunload tmpfs.ko +[ $loaded ] && kldunload tmpfs.ko exit 0 diff --git a/tools/test/stress2/misc/maxvnodes2.sh b/tools/test/stress2/misc/maxvnodes2.sh index 798eff1bffd6..b0923f55d0a6 100755 --- a/tools/test/stress2/misc/maxvnodes2.sh +++ b/tools/test/stress2/misc/maxvnodes2.sh @@ -32,6 +32,9 @@ # https://people.freebsd.org/~pho/stress/log/mjguzik005.txt # Fixed by r309067. +# Watchdog fired: +# https://people.freebsd.org/~pho/stress/log/log0083.txt + oldmx=`sysctl -n kern.maxvnodes` trap "sysctl kern.maxvnodes=$oldmx > /dev/null" EXIT SIGINT
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104040836.1348aXLZ045491>