HP3000-L Archives

June 1995, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kirk Whelan <[log in to unmask]>
Reply To:
Date:
Thu, 29 Jun 1995 07:59:32 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
How large does the file have to get to which FLOCK and FUNLOCK are applied
have to be before performance starts to suck.
 
Also, I have encountered a few instances when unusually so a customers hp3000
has gone down only to find when they bring it back up one of our files had
quiet a few entries missing, how can this be so if every fwrite is covered
with an FLOCK and FUNLOCK and all the buffers get posted to disk, or does
phenomina only occur on ix and not on previous mpe releases.
 
I have put code in to force to EOF and buffers to be flushed to disc, just in
case the machine goes down. I have as yet not had a customer go down on ix
but I am now concerned as to what will happen to the end of this file because
it does flock and funlock around the writes to the end of the file.
 
Any further comments on the above would be most welcome.
--
+----------------------------------------------------------------------------+
|Kirk Whelan         Tel: 784-436234   SMM Software Limited, 42a High Street,|
|Technical Director  Fax: 784-433315   Egham, Surrey, UK.  TW20 9DP.         |
+----------------------------------------------------------------------------+

ATOM RSS1 RSS2