Results 1 to 3 of 3
Thread: Weird Samba slowness problem
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
02-26-2010 #1
- Join Date
- Jul 2006
- Posts
- 13
Weird Samba slowness problem
Here is what I have: a samba server (3.2.5) running on debian lenny with windows vista clients.
The problem is that, while the server speed is quite fast (in MB/s), it sometimes has unusual latencies before the data transfers can start, something like 20-60 seconds.
I have been trying a lot of stuff to try to identify the source of the problem and I've narrowed it to something very specific: this latency only happens when the file being accessed is owned by a different user. To explain more, I'll give an example:
Say there are two users: user1 user2
both are in a group: group1
if user1 tries to access a file, it will be slow with files like this: (ls -lh output)
Code:-rw-rw---- 1 user2 group1 93K 2009-11-07 01:32 somefile -rw-rw---- 1 root group1 93K 2009-11-07 01:32 somefile
Code:-rw-rw---- 1 user1 group1 93K 2009-11-07 01:32 somefile
this server has been in use since about 2 years and I *think* the problem started when I upgraded its hard drives.
Any help will be greatly appreciated, as I've searched with no success for a long time.
-
02-27-2010 #2
- Join Date
- Aug 2009
- Location
- Evil Empire
- Posts
- 33
Are there any errors in samba logs? maybe in /var/log/messages?
-
03-01-2010 #3
- Join Date
- Jul 2006
- Posts
- 13