Re: Overwhelming Disk Cache?
Re: Overwhelming Disk Cache?
- Subject: Re: Overwhelming Disk Cache?
- From: Shawn Erickson <email@hidden>
- Date: Wed, 6 Apr 2005 11:53:58 -0700
On Apr 6, 2005, at 11:26 AM, Charles Jolley wrote:
Hi:
I have a little command line utility that scans through some files,
calling fstat on each of them. The problem is when I test this with a
large number of files (about 180,000), I start having problems
thoughout my system while the scan in running. Copying files in the
Finder will sometimes fail; apps will die while accessing files and so
on. Even the scanner's stat calls will failnow and then.
I suspect the problem is that my scanner is exhausting the file caches
or something like that causing file system calls to fail. But I'm not
sure.
Has anyone else run into this kind of problem? Do you know why a
tight loop calling fstat on files would be causing this problem? What
is the best way to fix this?
Also what file systems types (local or remote?) and version of Mac OS X
are involved?
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden