Re: RDS and NT holding a lock on a file

2000-11-13 Thread Justin Scott

If you're running MS IIS (like most CF people are) then try stopping that
service and restarting it.  I have run accross problems with file locking
where IIS will hold the file open for several minutes if the "Check if file
exists" attribute is set on the .cfm extention under the filter
configuration.  Unchecking this box may help with your locking problem, and
also may save a milisecond (or a little less) off your page load times
because ISS won't have to check for the file before it passes the request to
the CF processor.

___

Justin Scott :: [Staff Developer]
http://www.annex.com

- Original Message -
From: "Aidan Whitehall" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, November 12, 2000 7:03 AM
Subject: RE: RDS and NT holding a lock on a file


> If anyone has *any* info on how to eliminate this error message,
please
> let me know.
>
> I just can't t-t-t-take it any more *sob* *sob*
>
>
> > -Original Message-
> > From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
> > Sent: 08 November 2000 16:22
> > To: CF-Talk
> > Subject: RDS and NT holding a lock on a file
> >
> >
> > There was a thread a while ago about NT (I think) holding a
> -- It's actually an IIS thing, as someone mentioned --
> > lock on a file
> > for 60 seconds. I'm finding if request a .cfm file in a
> > browser and then try
> > and open the same file via RDS in Studio, Studio throws this error:
> >
> >Error attempting to read data from file
> > F:/pathtofile/file.cfm  Error
> > = There was a sharing violation.
> >
> > If you click OK, after about a minute you can open the file
> > and edit away.
> >
> > We're not having this problem with other servers and our
> > network admin has
> > just turned off "Keep Alives" on the server in question but no dice.
> >
> > Any suggestions? This is driving me mad (you want a file?
> > wait a minute,
> > then you can have it  ;-).
>
>
> --
> Aidan Whitehall <[EMAIL PROTECTED]>
> Netshopper UK Ltd
> Advanced Web Solutions & Services
>
> http://www.netshopperuk.com/
> Telephone +44 (01744) 648650
> Fax +44 (01744) 648651
> --
--
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: RDS and NT holding a lock on a file

2000-11-13 Thread Dave Watts

> If anyone has *any* info on how to eliminate this error 
> message, please let me know.

Sorry it took so long to reply, but this should help. It originally was
posted by Gregory Narain. The only one I've played with is ObjectCacheTTL,
so you'll want to test these things a bit.

> I just had to deal with this problem.  Unfortunately, it will force some
> drastic changes in the server.  There are several registry keys that can
> be added that effectively eliminate the caching -- the cache scavenger
> as M$ calls it.
>
> All of the entries go into the
> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters
> key
>
> ObjectCacheTTL (DWORD)
> --
> This thing supposedly tells IIS how long to hold on to the files.  They
> have a special value (as opposed to using just 0!) of 0x that
> supposedly disables the scavenger.
>
> Defaults to 10 minutes.
>
>
> ObjectFilesInCache (DWORD)
> --
> This reduces the total memory allowed to be in cache.  You can simply
> set this one to zero.
>
> Defaults to 1000 for every 32MB of memory.
>
>
> MemoryCacheSize (DWORD)
> ---
> This puppy caches system handles and other things for IIS (directory
> listings, etc.)  You can set this to 0 and eliminate the caching
> supposedly.
>
> Defaults to 3072000, 3MB.
>
>
> DisableMemoryCache (DWORD)
> --
> Well, this one I found from a reference to a knowledge book in the
> forums.  Apparently, setting MemoryCache to 0 wasn't intuitive enough so
> they made an an extra value.  Set this to 1 and it REALLY will work.  I
> tried this one yesterday and it's all good to go now. KB Article Q191742
> for reference.
>
> Defaults.. it wasn't ever meant to be used!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: RDS and NT holding a lock on a file

2000-11-12 Thread Jesse

I have the same problem on occasion, sometimes if I have the file open in my
browser at the same time


- Original Message -
From: "Aidan Whitehall" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, November 12, 2000 10:03 AM
Subject: RE: RDS and NT holding a lock on a file


> If anyone has *any* info on how to eliminate this error message,
please
> let me know.
>
> I just can't t-t-t-take it any more *sob* *sob*
>
>
> > -Original Message-
> > From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
> > Sent: 08 November 2000 16:22
> > To: CF-Talk
> > Subject: RDS and NT holding a lock on a file
> >
> >
> > There was a thread a while ago about NT (I think) holding a
> -- It's actually an IIS thing, as someone mentioned --
> > lock on a file
> > for 60 seconds. I'm finding if request a .cfm file in a
> > browser and then try
> > and open the same file via RDS in Studio, Studio throws this error:
> >
> >Error attempting to read data from file
> > F:/pathtofile/file.cfm  Error
> > = There was a sharing violation.
> >
> > If you click OK, after about a minute you can open the file
> > and edit away.
> >
> > We're not having this problem with other servers and our
> > network admin has
> > just turned off "Keep Alives" on the server in question but no dice.
> >
> > Any suggestions? This is driving me mad (you want a file?
> > wait a minute,
> > then you can have it  ;-).
>
>
> --
> Aidan Whitehall <[EMAIL PROTECTED]>
> Netshopper UK Ltd
> Advanced Web Solutions & Services
>
> http://www.netshopperuk.com/
> Telephone +44 (01744) 648650
> Fax +44 (01744) 648651
> --
--
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: RDS and NT holding a lock on a file

2000-11-12 Thread Aidan Whitehall

If anyone has *any* info on how to eliminate this error message, please
let me know.

I just can't t-t-t-take it any more *sob* *sob*


> -Original Message-
> From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
> Sent: 08 November 2000 16:22
> To: CF-Talk
> Subject: RDS and NT holding a lock on a file
> 
> 
> There was a thread a while ago about NT (I think) holding a 
-- It's actually an IIS thing, as someone mentioned --
> lock on a file
> for 60 seconds. I'm finding if request a .cfm file in a 
> browser and then try
> and open the same file via RDS in Studio, Studio throws this error:
> 
>Error attempting to read data from file 
> F:/pathtofile/file.cfm  Error
> = There was a sharing violation.
> 
> If you click OK, after about a minute you can open the file 
> and edit away.
> 
> We're not having this problem with other servers and our 
> network admin has
> just turned off "Keep Alives" on the server in question but no dice.
> 
> Any suggestions? This is driving me mad (you want a file? 
> wait a minute,
> then you can have it  ;-).


-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: RDS and NT holding a lock on a file

2000-11-08 Thread Steve Bernard

It is the behaviour of IIS, not the OS. It retains a hold on files for 60
sec. to optimize performance. I remember seeing the topic come up before
but, I don't remember if there is a registry/metabase hack for it or not.

They use a lot of NT over at Figleaf ... Dave?

Steve

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 12:32 PM
To: CF-Talk
Subject: RE: RDS and NT holding a lock on a file


I wonder if it has to do with CF being set up as a script engine? I don't
see this problem (though I have seen it with straight HTML files) on my
servers where CF is configured as a script engine.

-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 11:22 AM
To: CF-Talk
Cc: Paul Edwards
Subject: RDS and NT holding a lock on a file


There was a thread a while ago about NT (I think) holding a lock on a file
for 60 seconds. I'm finding if request a .cfm file in a browser and then try
and open the same file via RDS in Studio, Studio throws this error:

   Error attempting to read data from file F:/pathtofile/file.cfm  Error
= There was a sharing violation.

If you click OK, after about a minute you can open the file and edit away.

We're not having this problem with other servers and our network admin has
just turned off "Keep Alives" on the server in question but no dice.

Any suggestions? This is driving me mad (you want a file? wait a minute,
then you can have it  ;-).


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: RDS and NT holding a lock on a file

2000-11-08 Thread mherbene

I wonder if it has to do with CF being set up as a script engine? I don't
see this problem (though I have seen it with straight HTML files) on my
servers where CF is configured as a script engine.

-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 11:22 AM
To: CF-Talk
Cc: Paul Edwards
Subject: RDS and NT holding a lock on a file


There was a thread a while ago about NT (I think) holding a lock on a file
for 60 seconds. I'm finding if request a .cfm file in a browser and then try
and open the same file via RDS in Studio, Studio throws this error:

   Error attempting to read data from file F:/pathtofile/file.cfm  Error
= There was a sharing violation.

If you click OK, after about a minute you can open the file and edit away.

We're not having this problem with other servers and our network admin has
just turned off "Keep Alives" on the server in question but no dice.

Any suggestions? This is driving me mad (you want a file? wait a minute,
then you can have it  ;-).

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RDS and NT holding a lock on a file

2000-11-08 Thread Aidan Whitehall

There was a thread a while ago about NT (I think) holding a lock on a file
for 60 seconds. I'm finding if request a .cfm file in a browser and then try
and open the same file via RDS in Studio, Studio throws this error:

   Error attempting to read data from file F:/pathtofile/file.cfm  Error
= There was a sharing violation.

If you click OK, after about a minute you can open the file and edit away.

We're not having this problem with other servers and our network admin has
just turned off "Keep Alives" on the server in question but no dice.

Any suggestions? This is driving me mad (you want a file? wait a minute,
then you can have it  ;-).



Thanks in advance

-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]