* direct i/o problem with 2.4.20 and 2.4.21rc7
@ 2003-06-14 18:18 Larry Auton
0 siblings, 0 replies; only message in thread
From: Larry Auton @ 2003-06-14 18:18 UTC (permalink / raw)
To: linux-kernel
I have an application that requires direct i/o to thousands of files.
On 2.4.19 the open's would eventually fail (at around 7200 files).
On 2.4.20 and 2.4.21rc7 the machine hangs.
Here's a sample program to do the deed:
wget http://www.skarven.net/lda/crashme.c
cc -o crashme crashme.c # compile it
./crashme 4000 # OK
./crashme 9999 # CRASH
It's a little obfuscated to eliminate the need for root privileges to
mess with rlimit. It simply opens a bunch of files with O_DIRECT and,
when enough files are open, the system will hang.
The system hangs when '/proc/slabinfo' reports that 'kiobuf' reaches
just over 7230 active objects. I don't believe that this problem is
specific to any particular file system as the failure occurs when
using both ext2 and reiserfs.
Larry Auton
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-14 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-14 18:18 direct i/o problem with 2.4.20 and 2.4.21rc7 Larry Auton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).