[Samba] IIS cache and change notify timeout...

S. J. van Harmelen sander.vanharmelen at isp.solcon.nl
Mon Aug 14 11:04:44 GMT 2006


Hi ho there...

Environment: IIS 6.0 with everything mapped to aspnet_isapi.dll and the
webiste files on a Debian Sarge Samba 3.0.23a-1 server.

Problem: When a file is changed on the Samba server, IIS keeps serving
the old content as long as you keep requesting the file.

What I know so far: Because everything is mapped to aspnet_isapi.dll,
everything is cached in the kernel-mode-cache on the Windows machine.
When changing the change notify timeout to 5 seconds it takes 5 seconds
for the content to change...

BUT!!! But when I don't wait 5 seconds en keep refreshing/requesting the
page every 2 seconds, the content never changes?!?! Only when I stop
refreshing for at least the time set as the change notify timeout, the
content will be updated...

Any advice on this? If not I'm affraid I'll have to set the change
notify timeout to 1 second which is quit costly for my system (if I
understand correctly that is)...

Regards,

Sander



More information about the samba mailing list