Samba - slow as hell
hey
someone an idea what's going wrong in the following setup? We are running a basic samba on ubuntu 5.10. when one person connects, it's going very very slow, maximum 300kBps. When a second user starts a filetransfer while user1 is busy with his filetransfer, he gets high speeds, and the first one, with his slow connection, has also a speedboost to full speed (8MBps). When one of the 2 users disconnect, the other one drops again to very low speeds... verrrry strange. We do not use rocket-science configfiles, the default one, with following extension: [fileserver] comment = A office fileserver guest ok = yes guest only = yes path = /fileserver browseable = yes writable = yes create mask = 0700 directory mask = 0700 |
you need to post the "global" section of your file.....
|
hey
hope this is helpfull. thx. Quote:
|
could you maybe do "grep -v "#" smb.conf on the file... so we can see without all the comment lines....
|
Quote:
|
Let's hope that was "^#" ... ;)
(and yes, I have nothing constructive to contribute) |
just wondering why you're using "share level" security....
what version of samba is it? i'm not sure about the "obey pam restrictions" and how that is relevant to share level security. |
Quote:
i am working with version 3.0.14a, distributed with ubuntu 5.10. we are using share level cause everyone in the office has full access on it. i have commented out following params, without any success: encrypt passwords = true passdb backend = tdbsam guest obey pam restrictions = yes socket options = TCP_NODELAY |
it does seem very strange...... i really can't offer much insight. sorry....
|
I advice you to try this.
Put on [global] ok? Code:
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 |
Yes, I was going to focus on sockets and oplocks, but stormrider beat me to it.
|
hey guys, thx for the replies! unfortunatly, it did not fix the problem...
|
Did you restarted samba after making those changes?
|
just a thought What duplex mode is your NIC? might be on half
do this just to see if its set on half duplex Code:
ethtool eth0 Code:
ethtool -s eth0 speed 100 duplex full autoneg off |
yes, i've restarted samba everytime i made some changes to the config.
output of ethtool: Quote:
should it be a bug in samba, or something else? thx guys for all of your advices! |
All times are GMT -5. The time now is 08:25 PM. |