That's a great bug report - you should be a professionsl ;-)
On this page, there's a description of how to optimise the server when
content it located on a remote (network connected) network share :
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b812633
It has lots of useful inside info, but in particular it notes that
this value when present in the server namespace file :
<node name="Only File Read Share" opcode="create" type="int32"
value="0x1" />
has the exact result that you've described - "opens files on the
remote share in a mode ... other users or applications cannot modify
this file"
It's probably a long shot, but if you've added this non-default
optimisation then try to revisit the settings to see if that's present
Obviously, intermittent bugs are a PITA to track down.
Something else to add : I've seen hard-or-impossible-to-delete files
before in this scenario : One of our servers had several possible
users as owner of a file.
For some reason - we suspected linux to windows fileshare
interoperability problems - inspecting the extended ownership
properties of the file Object, showed a username something like
S-I-S-<machineGUID>/Unknown, instead of the more usual
<machineName>/NetworkService account.
Once the file permissions were reassigned by resetting / taking
ownership on the top level / parent directory and cascading those to
contents, the ownership update seemed to remove this "unknown" user ID
on the files and allow for file handle to be manipulated (delete,
update, rename etc)
HTH
Cheers - Neil
>Dear microsoft.public.windowsmedia.server readers,
>
[quoted text clipped - 76 lines]
>
>Kokkers
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
Kokkers - 20 Oct 2008 11:34 GMT
Thanks for a thorough answer Neil.
I had seen the article regarding caching and shared mode when using
remote shares as a content source, problem might be that we source the
content from local disk.
The article has some background information though, I quote:
"When streaming from a file on the local disk, the OS file system
cache manager will buffer blocks of the file in memory. This helps
improve performance by reducing disk I/O operations. However, when
accessing content on a remote share, this OS file system caching
process may not always occur. This behavior occurs because WMS Server
allows files to be opened in a sharing mode. This sharing mode then
allows other applications to read, modify, and delete files while in
use by WMS."
Default when using local disk: Files are being cached in (file) system
cache.
Default when using remote share: Files are not being cached in (file)
system cache because of being opened in 'shared' mode.
The default mode is 'sharing mode', right? Which is the mode we
require because I want other processes to be able to delete the file
whenever they need.
This makes sense, however the article is unclear whether the "Only
File Read Share" parameter in the server namespace XML is applied to
local files on local disk as well. I assume this setting only affects
the way the server opens files on remote shares and not the ones
residing on local storage.
Regards,
Kokkers
On 18 okt, 22:40, "Neil Smith [MVP Digital Media]" <n...@nospam.com>
wrote:
> That's a great bug report - you should be a professionsl ;-)
>
[quoted text clipped - 120 lines]
>
> - Tekst uit oorspronkelijk bericht weergeven -