[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[McIDAS #XOE-622682]: Problem with Lose of Area Definitions

Hi Fred,

> I have been experimenting to see if I can find the cause of the RESOLV.SRV
> content disappearance.

I could not make this happen here at the UPC...

> The file would still be there, but it would be empty
> after the error occurred.  The error seemed to occur when the computer was 
> busy
> with multiple programs from multiple satellites processing at the same time.  
> I
> made a copy of the dsserve.pgm for experimentation.  I tried putting in flush
> after the last write, unlocks (rather than the program close default unlock), 
> and
> taking out the initial file blanking on first use.  None of these had any
> effect.  I then tried putting in a 1/2 second sleep just before the exit of 
> the
> main dsserve program.  It ran over the weekend without failure after I put in 
> the
> sleep.

Wow!  This is reminiscent of the problem we found while writing object modules
created during a McIDAS build to the McIDAS library.  I found that putting in
a sleep of 1 second after each 'ar' would insure that all of the object modules
being written to the library were actually put in the library.  This started 
on more recent versions of Linux when the machine in question was fast.  SSEC
eventually ran into the same problem and adopted the same approach as I did, and
GEMPAK showed the same behavior.  We never really got to the bottom of the 
but suspected that it had(has) something to do with file timestamps only being 
down to the second.

> It still has my other changes in it, so I will be taking them out one by
> one this week to ensure it still works.  I believe the problem is the 
> operating
> system buffering of files.

Great sleuthing!  Thanks for the update, and please keep us apprised of your 


Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
Unidata HomePage                       http://www.unidata.ucar.edu

Ticket Details
Ticket ID: XOE-622682
Department: Support McIDAS
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.