Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 17:44:58 +0100
From:      "Alexander N. Kabaev" <kan@sti.cz>
To:        freebsd-current@FreeBSD.ORG
Subject:   Filesystem deadlock
Message-ID:  <36D1898A.6D9C7B44@sti.cz>

next in thread | raw e-mail | index | archive | help
The following script reliably causes FreeBSD 4.0-CURRENT (and 3.1-STABLE
as of today) to lookup. Shortly after this script is started, all disk activity

stops and any attempt to create new process causes system to freese. While in DDB, ps command

shows, that all ten fgrep processes are sleeping on inode, all xargs are in waitpid and

all sh processes are in wait.

Unfortunately, I cannot run -g kernel on my box
at this time, so amount of useful information I can provide is pretty much
limited :(

#!/bin/sh
for j in 1 2 3 4 5 6 7 8 9 10; do
  echo -n $i $j
    nohup sh -c 'while :; do find /usr -type f | xargs fgrep zukabuka;
done' \
              >/dev/null 2>&1 &
    echo
done





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D1898A.6D9C7B44>