Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Cache Issue

  • 24-04-2012 12:34pm
    #1
    Registered Users, Registered Users 2 Posts: 37


    Hi all

    One of our customers is having comms issues. Using NeoRouter as VPN to connect from one branch office to another, same as all other branch offices.

    While investigating his issue, I was connecting to our FTP server to get new programs etc but noticed the contents aren't being refreshed. Even after clearing out all IE data and rebooting, the new files on our FTP server still aren't appearing (through windows explorer). It asks me to log in etc but it's not showing the live directory listing. Other branch offices can see the updated directory whenever I add a file etc. The server logs record the connection so a connection IS being established, but it's displaying an old file list. From debugging our software it seems as though this is what it's doing to the branch office too - establishing a connection but not actually reading the remote files.

    So it sounds like it's caching content but I can't seem to figure out where or why. I've also noticed I can browse to the other branch office using it's IP address, but not it's name - but I can ping the name and it resolves correctly (entry in hosts file).

    I'm ready to tear my hair out at this stage. Any ideas?

    Windows XP Pro connecting to Windows 2003 Server.

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 357 ✭✭Ctrl Alt Del


    Try using an FTP client and see if works from there with a third party software.

    Bypass the VPN !?

    What is the default gateway,do a trace route to see how you reach the FTP server from the client side !


  • Registered Users, Registered Users 2 Posts: 37 Born To Be Mild


    Thanks for that. A trace route follows some Eircom servers then gets request timed out.

    If I connect with an FTP client, again I get the old directory listing. Connecting through command line, old listing again.

    I put a text file on the server last night and called it AAA.txt. I later changed it to A.txt and this morning changed it to abc.txt - when I connect with FTP client, I can see AAA.txt and A.txt but not abc.txt
    Also, I can actually download the two files that no longer exist and their contents are as they were when the files did exist (aaa.txt contains "test1", a.txt contains "test2").


  • Registered Users, Registered Users 2 Posts: 357 ✭✭Ctrl Alt Del


    May help you !??


    MORE INFORMATION The following registry information may also be helpful in regards to this issue.

    Please be aware that by adding the following registry information, you may negatively impact the performance of the FTP server.

    If you want to completely disable file caching on your server, set the following parameter:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters\DisableMemoryCache DWORD 1
    If you want to set a time value for caching set:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Parameters\ObjectCacheTTL DWORD <value_in_seconds>
    You can set these parameters under the following as well:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSFTPSVC\Parmeters
    However, here is the hierarchy:

    If a value is set under Inetinfo, then that is the value that is used, as this is the host for W3svc.dll and Ftpsvc2.dll. If you set the value under W3SVC, then this is used not only for W3SVC but also MSFTPSVC. Therefore, if you set the W3SVC ObjectCacheTTL to 120 (seconds) and the MSFTPSVC DisableMemoryCache to 1, then everything is cached for 120 seconds.

    Try checking for these parameters (particularly a time value for ObjectCacheTTL) and test by adding the DisableMemoryCache key under Inetinfo to see if that resolves the issue.


  • Registered Users, Registered Users 2 Posts: 37 Born To Be Mild


    Good stuff. Thanks for that.


Advertisement