At 12:49 PM 10/7/2002 -0400, John Leonard wrote:
>I'm having the following problems-
>
>1) File modification time changes 60 seconds after file is created.
>
>cd to a sharity mounted directory
>Create a new file e.g. echo some stuff > newfile
>stat newfile
>wait a minute of two
>stat newfile again - and the modify/change time is exactly 60 seconds 
>later than the original stat shows. I first noticed this when I would edit 
>a newly created file (using nedit) and the editor complained that the file 
>had been changed.
>
>2) During a compile using absoft f90 for linux, output files from a 
>previous step are not ready in time for subsequent steps.
>
>f90 file1 # result OK
>f90 file2 # result OK
>f90 file3 # depends on output of file1 and file2 compiles, fails as if 
>output from file1 and file2 do not exist.
>If I put a sleep 3s before each of the f90 commands the compile will succeed.
>
>We're using sharity 2.7, RH linux 7.3, W2K pro SP2 as servers. Sharity is 
>mounting the servers using nfs3. I've tried setting 
>Microsecondfiletimes=yes (by itself) and also datacachetimenolock=0 and 
>requestoplock=no, but none of those settings seemed to improve the 
>behaviour. Also tried setting NFSkernelattributecachetime to 0 (default=2) 
>but that didn't help either. I don't see any sharity error messages in the 
>system logs, and otherwise sharity works great. Any suggestions on how to 
>diagnose/fix this?. Thanks. -John

I've tried setting the following -

#                       closeDelayBatchLock = 60000;    /* in ms */
#                       closeDelayExclusiveLock = 2000; /* in ms */
#                       closeDelayNoLock = 500;                 /* in ms */
                         closeDelayBatchLock = 0;        /* in ms */
                         closeDelayExclusiveLock = 0;    /* in ms */
                         closeDelayNoLock = 0;                   /* in ms */

which seemed to cure problem 1) and change problem 2) so that I only need a 
1 second delay. But no delay between f90 commands will still fail. Not sure 
what other side effects this will have. Have also tried nfs2 vs. nfs3 but 
no change. -John


_______________________________________________
Sharity-talk mailing list
[EMAIL PROTECTED]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk

Reply via email to