Well, I unmangled the script - basically an infinite write loop in perl.
I then ran it on a test box, and the end result was this:
[root@lord /xfs]# ./spew
File size limit exceeded (core dumped)
This produced 2Gbyte output file, I suspect perl is not compiled with LFS
support on my box. No system errors and no other problems - apart from
a non-responsive box during the file writing.
I would recommend you try a later kernel, 2.4.10 is supposed to be a bit
iffy. Try 2.4.13 and see what happens.
> This script will cause some issues on Linux running XFS.
> Currently the kernel is a 2.4.10 vanilla + xfs patch. That's it.
> There are no other drivers, etc. I'm going to test with other filesystems
> but it seems to be a buffering issue. If anyone could test with this script
> on a box
> they can reboot readily, cuz typing 'reboot' at a prompt is sure lilo
> or library corruption most times. The only way we've been able to ensure the
> system will come
> back up with minimal damage is to do a hard reboot. Thanks for listening and
> I hope someone can
> help answer this terrible issue.