Solved

Samba share trough VPN is slow but only because of a bad winxp feature

Posted on 2007-04-08
4
1,736 Views
Last Modified: 2010-05-18
Hi there.
I have setup a openvpn solution where the server is a win2003, and clients are winxp.
I can connect just fine, and browsing the samba share seems fast.
BUT!
When I right click on a file to do something like copy, file open or what ever.
Winxp starts downloading the file, making the user have to wait until the whole file is downloaded, before it shows the menu!
This is a big problem when the file is big.

I have tried different explorer replacements, and infact the ones that do have it's own built right click menu, will seem fast, and the ones that shows the same right click menu as standard explorer will have the same slow sympthoms. problem is that I like to have features like open with, svn menu, svn icons, etc. Infact I like to have it just as the standard explorer, only that it dosen't download files before the right click menu is shown! by the way, if one right clicks a folder the problem is not there! (and if one selects two files, where one is 500MB and one is 1MB, and the mouse is located over the 1MB, and then do a right click, windows downloads only the 1MB file, and the menu is shown pretty fast )
I have to add, if the user use the edit menu from the menu bar of explorer, and for example click copy. no download happens before one paste the files. (offcource if one goes to the file menu there, it starts downloading again!)

so do anyone know of a solution for my problem?? (tweak, hack or whatever!)


Edit:
After inspecting some more. how come when the samba share is accessed trough LAN, it would not download on the right click, because if you right click on a 10GB file on LAN it goes fast!
0
Comment
Question by:thor918
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
Brain2000 earned 500 total points
ID: 18873372
Wow.

Try removing everything from the right click context menu, and see if it still downloads the file.  What if one of the programs (i.e. WinZip, symantec antivirus) downloads the file for analysis on a right click.

Try uninstalling antivirus.  Maybe it scans the whole file on a right click.

You mentioned Samba, yet also mentioned Windows 2003 server.  Are you using the regular 2003 sharing?  Or are you running this with Samba on a Linux box?
0
 
LVL 2

Author Comment

by:thor918
ID: 18873423
well I tried the same thing from a workstation where nothing special is installed.
only thing is avast antivirus.  I tried also to setup webdav, because I was thinking that would speed things up. using webdrive (webdav client), it goes faster but it will still start a download when it right clicks. Perhaps I'm mistaken on my conclusion that it downloads the file when using samba and right click, but it sure feels like it does. and it get's slower the bigger file one right clicks.

i'm using sharing functionality of the windows 2003 server.

using another webdav client "BitKinex" everything is like heaven, exept that one loses the simlicyty of the system. And using samba shares you have all the practical usermenues for (svn, winrar... etc)

thanks for the tip:
I will check out if it is the antivirus that is forcing it to download.
0
 
LVL 2

Author Comment

by:thor918
ID: 18878240
jupp. solution is found!
It was infact winzip and winrar that where the sinners....
removing those from the menu solved it

Thanks for the pointers.
I will leave the question open a day or two, and then you will get experts-points.
0
 
LVL 8

Expert Comment

by:Brain2000
ID: 18911488
Cool, glad you found it.  I'm surprised that Winzip would download the entire file just to give you some information about it.  That's good to know on a LAN environment as well when trying to locate a bottleneck on a file server.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question