Click to See Complete Forum and Search --> : Samba preformance (Slack to Win2k in wgrp)


Alex Merek
03-18-2002, 01:56 PM
Hello,

Running samba 2.2.3a on a slackware 8.0 machine with apache 1.3.23 php 4.1.2 and mysql 3.23.49a. The box is set up to be a test server to which I drop things off my win2k pro design machine via samba. Experiencing a bit of a delay every time I want to access the server(not too long.. about 5-7 seconds). This happens only after a small period of inactivity (several minutes). Was wondering if anyone knows of a fix for this? Or is that the way it should be?

We're on a LAN(WGRP) of 10 workstations, mainly win2k, some 98/me machines... (yeah tell me about it :D ) SWAT is disabled, here's my smb.conf:



[global]
workgroup = WGRP
netbios name = SLACK
server string = Slackware Linuxboxen Extraordinaire
encrypt passwords = yes

[share]
commend = dev share
path = /my/dev/share
valid user = root
read only = no
public = no
printable = no
writable = yes



that's that. any thoughts? thanks!

SuperHornet
03-18-2002, 09:46 PM
What other services are you running.

Try using the command "top" to view how your resources are being used.

Alex Merek
03-19-2002, 10:03 AM
top shows about 8 httpd's and 3 mysqld's running, even though I know for a fact noone is looking at the pages... is that the way it usually runs? it pretty much eats up all the memory on the machine, so I suppose that could be the answer..

thanks :D

linux01
03-29-2002, 10:24 PM
Here is part of the global section of my smb.conf file change your socket options to what I have and try it. I know of the delay you're talking about...very annoying
#smb.conf file
workgroup = workgroup
netbios name = COMMANCHE
server string = Samba Server on %h
encrypt passwords = Yes
update encrypted = Yes
map to guest = Bad User
null passwords = Yes
passwd program = /usr/bin/passwd
unix password sync = Yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=40
6
character set = ISO8859-15
domain admin group = admin
logon script = logon.cmd
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U\profiles
domain logons = Yes
os level = 64
preferred master = True
domain master = True
# end of file

Good Luck!