[OpenAFS-devel] fsx.c

Cameron, Frank Cameron@ctc.com
Sat, 15 Dec 2001 00:29:46 -0500


A little while ago on the FreeBSD hacker mailing list Jordan
Hubbard posted fsx.c, a tool originally developed for NeXT OS
to find serious issues in its BSD-derived NFS implementation.
Using the tool Matt Dillon quickly tracked down and fixed a
number of bugs in FreeBSD including one right in the middle
of FreeBSD's VM system.

Details can be found at: http://kerneltrap.org/article.php?sid=415
And the code is at: http://kerneltrap.org/sup/415/fsx.txt

I thought it would be interesting to run the tool against AFS and
see if it can cause a failure.  So, I kicked it off on one of my test
systems.

OS: RedHat 7.1 stock
AFS: OpenAFS 1.2.2a (compiled from source)
fsx Switches: -c 100 -W -R (W & R disable memory-mapped files)
HW: Dell Workstation, 500 MHz, 256MB RAM

This machine is both the client and file / database server.

So far it's been about 10 minutes without any crash; though the
processor is pegged and the load average is up.

-frank