Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I'm having some problems with a samba server. Here is what I have: a samba server (3.2.5) running on debian lenny with windows vista clients. The problem is that, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    13

    Weird Samba slowness problem


    Hello, I'm having some problems with a samba server.
    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
    but it will be extremely fast with a file like this:
    Code:
    -rw-rw---- 1 user1 group1 93K 2009-11-07 01:32 somefile
    this is absolutely reproducible: if I change the file ownership with chown it will be fast, and if I revert it it will be slow again.

    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.

  2. #2
    mzv
    mzv is offline
    Just Joined!
    Join Date
    Aug 2009
    Location
    Evil Empire
    Posts
    33
    Are there any errors in samba logs? maybe in /var/log/messages?

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    13
    Quote Originally Posted by mzv View Post
    Are there any errors in samba logs? maybe in /var/log/messages?
    No, it's just some lines about normally opened and closed connections...
    also /var/log/messages is empty

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •