Samba Slow ?


 
Thread Tools Search this Thread
Special Forums IP Networking Samba Slow ?
# 1  
Old 10-07-2001
Samba Slow ?

Ok, i got samba up and running and can see the directories i want to be able to see on my network, but it is really slow. From a windows to windows transfer or file open it is just a little under a 100 mb connection. However it takes minutes just to open a file on the linux box.I have attached my conf file, but i do no think in it lies the answer...Please help Op RH 7.1

[global]
interfaces = 192.168.1.2
security = SHARE
null passwords = Yes
unix password sync = Yes
load printers = No
lm announce = True
domain master = Yes
unix realname = Yes
#ssl CA certDir=/usr/share/ssl/certs
ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
socket options = TCP_NODELAY
hosts allow = 192.198.1.2 192.168.1.3
log file = /var/log/samba/%m.log
dns proxy = no -

Last edited by macdonto; 10-08-2001 at 05:13 PM..
# 2  
Old 10-08-2001
How about other network application protocols between the two platforms such as FTP and telnet ? How is the connection speed for these applications?
# 3  
Old 10-08-2001
No problems with telnet or ftp proto's. Good idea I had not tried that. I looked around and it is a common problem with most of the linux systems. I went to the samba documentation and they explain the problem but dont give any answers.
# 4  
Old 10-08-2001
Example config works fast for us.....

Here is our working samba conf file /etc/smb.conf

Quote:

[global]
workgroup = UNIX
encrypt passwords = yes
domain logons = yes
server string = Samba on UNIX
netbios name = ATHLON
hosts allow = 192.168.0.169 localhost
interfaces = 192.168.0.155/255.255.255.0
log level = 2
default service = data
local master = yes
wins support = yes
name resolve order = wins lmhosts hosts bcast
dns proxy = yes
security = user
os level = 34
preferred master = yes
domain master = yes

[homes]
browsable = no
writable = yes

[unix]
path = /usr/local/unix_files
valid users = unix, nobody, root
browseable = yes
comment = UNIX Disk on WWW.UNIX.COM
volume = UNIX-Disk
guest ok = yes
writeable = yes

[data]
path = /usr/local
browseable = yes
comment = Data Disk on WWW.UNIX.COM
volume = Data-Disk
guest ok = yes
writeable = yes

[netlogon]
comment = Domain Logon Service
path = /usr/local/samba/login
public = no
writeable = no
browsable = no
This configuration works fine (very fast).... is only one master controller (samba server) with a bunch of clients on the SAME subnet (ethernet segment). I would suggest you try something like this (without SSL) first to see if this is fast for you.
# 5  
Old 10-09-2001
That worked...I just need to figure out what is wrong with mine now.

Thanks
# 6  
Old 10-09-2001
My first guest would be a problem with the way SSL is working within Samba.
# 7  
Old 05-04-2008
I'm reviving this ancient thread because I couldn't easily find an answer to this problem myself, so I hope this answer will help some people out.

I fixed the very slow loading of folders by adding this line:
Code:
name resolve order = wins lmhosts hosts

If you look in the Samba HOWTO Collection, you'll see that the default order is host, lmhost, wins, bcast. I think the crucial thing is to have wins first. Try for yourself, hope it helps, cheers.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

VM becomes slow every 3-4 days

Hi, I have RHEL 6.1 on VM, where Big data is installed. Every 3-4 days, its web interface become very slow and I had to reboot this VM. I was checking with "top" and that shows that free memory is less. Can this be a reason for slowness ? No big load on CPU. # free -m total ... (6 Replies)
Discussion started by: solaris_1977
6 Replies

2. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

3. AIX

SLOW mksysb

Hello. I am running AIX 5.2 on a 9131-52A I am trying to run a mksysb. I ran one on a similar 9131 and it did not take long at all. But this one is taking forever. My output is as follows: ********************************************************* AIX:/ # mksysb -i /dev/rmt0 Creating... (2 Replies)
Discussion started by: mhenryj
2 Replies

4. UNIX and Linux Applications

e-mail is slow

The problem is between 2:00 and 5:00 PM. The email (procmail) proccess load up big time. If I do a prstat at 8:00 AM I have about 100 proccess and 30 mails in mailq. Now at 3:50 PM, I have over 1000 proccess from prstat and 600 e-mail in mailq. Some mail takes 2 hours to get out or in. ... (1 Reply)
Discussion started by: photon
1 Replies

5. IP Networking

Samba Slow to Connect Xp to Solaris

Hi everyone, I posted this on the Solaris forums but so far no one has been able to help... I'm new to solaris and I've installed 10, update 5. I've configured samba (very badly I believe) so that I can access my solaris box from my XP 64 computer. Both are on a local network (connected via... (1 Reply)
Discussion started by: ciscocbee
1 Replies

6. Shell Programming and Scripting

Cut too slow

Hi I am using a cut command in the script which is slowing down the performance of the script .can anyone suggest the other ways of doing the same cut command Record_Type=`echo "$line" | cut -c19-20` *******this is slowing down********* i have 4 more cut commands 2 in one loop and 2 in inner... (3 Replies)
Discussion started by: pukars4u
3 Replies

7. SCO

Slow cd response

Hi All We have one SCO Server here and it never gives us any trouble. Until Now!! Well its not earth shattering but we have one user who is complaining of a very slow response time when changing to his Home Directory. Other users who have similar profiles are OK. I have su'd to this user and I can... (0 Replies)
Discussion started by: JohnOB
0 Replies

8. UNIX for Advanced & Expert Users

ls -l over NFS slow

I have an HP-UX server with a Network Appliance Filer attached over Gigabit Ethernet. I am noticing very slow response time when using "ls -l" on one directory on one of the several NFS mounted filesystems. The "ls" command by itself does not seem to be a problem. Typically I get a response within... (3 Replies)
Discussion started by: keelba
3 Replies

9. Post Here to Contact Site Administrators and Moderators

Slow

The site has gone slow for quite some time... Can you do somethin abt it (2 Replies)
Discussion started by: DPAI
2 Replies
Login or Register to Ask a Question