Home »
Public Forums »
archive »
FILE_SEARCH() issue.
FILE_SEARCH() issue. [message #39711] |
Fri, 04 June 2004 11:24 |
Jonathan Joseph
Messages: 69 Registered: September 1998
|
Member |
|
|
Hello.
I'm seeing some intermittent problems with file_search() not returning
the full list of files.
I'm running IDL on solaris 8. I have some filesystems that are NFS
mounted (they are on another solaris 8 box). I'm using file_search() to
get a list of all of a certain type of file from a particular directory
on one of the NFS mounted disks (currently on the order of 10000 files).
What happens is that on rare occasion (though frequently enough to
cause problems), file_search() does not return the complete list of
files. It doesn't seem to complain or crash or anything, just returns a
partial list. I have also seen this occur with a smaller list (on order
100 files).
I don't know if this is being caused by a temporary NFS hiccup or what.
A simple solution is just to make the call twice and check to make
sure I get the same result, but since I don't know exactly what is
causing the problem, this solution may not work. It may give the wrong
result 2 or many times in a row before giving the correct result.
I wrote a test program to make the call to file_search many times in a
row, but was not able to reproduce the problem.
Any suggestions on what to do to feel better about the file_search()
result being correct?
Thanks.
-Jonathan
|
|
|
Current Time: Wed Oct 08 13:05:17 PDT 2025
Total time taken to generate the page: 0.00586 seconds