Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I checked through some of the old posts, but couldn't find anything that seemed to help with my current problem. I've been using Samba for years without any issues, until recently. At this particular site, we have two Slackware machines with Samba that act as file-servers. They've been running with no hitches for several years. Recently, we upgraded one office to newer PC's, they have Windows XP SP2 on them (I skipped Vista, because it's horrible).
What happens is that I open a share on the samba server, and everything looks okay. As soon as I try clicking on a file to copy, cut, check properties, etc in the explorer window - It freezes for like 2-3 minutes. Then it finally starts moving again. Sometimes the whole computer freezes up with the need of a cold restart. I compiled the newest version of Samba and installed it on my Slackware machine, made a config from scratch and still see the same issue. I notice this happens more with large files (100 mb+) more than smaller files.
I tried checking issues with CUPS, changing from USER security to SHARE, etc. I even tried tweaking the Windows machines to omit firewalling, virus-checking. Anybody have any ideas, or a thread that already addresses this topic. I'm about to shoot these stupid machines out the window!
Yeah, I'm afraid the current config is rather simple, because I'm trying to work this out before going to production. I am seeing the same problem with even the simplest config.
[global]
[Test]
path = /HDB/Bldg1
I did modify the buffer sizes as well and also turned off Large Read/Write once. I see the exact same symptom every time.
It's funny you mentioned WINS, because that's one thing I've been looking into myself. I'm going to try what you suggested, and also try a static IP. This of course will be impossible to implement for our office, but at least I could pinpoint the issue.
I just tried a static address and it didn't work. BTW, encrypted passwords is a default on my compilation of Samba, if you are wondering why it's not in global.
I think I figured out what's going on in my case. The new computers come with a trial version of Anti-Virus - When I uninstalled the software the samba shares updated much quicker than before. Just turning it off didn't make a difference. It seems to be connected with changes it makes to the windows explorer. FYI - This slowdown was also apparent on windows shares that had large files. This is what lead me to the conclusion that it was an application on the client.
The other problems seen with slow browsing (on other PC's) went away with the current version of Samba. Although these never froze up the client like the problem I was having with the new machines.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.