In my opinion, the reason could be a network overload. Make sure you have a
fast network connection (Gigabit Ethernet for backbone connections and Fast
Ethernet for connecting your clients to the network), and enable the WINS
server of Samba. It will dramatically increase your network performance.
It's very easy to implement, just add "wins support = Yes" to the
[global]
section of smb.conf and make sure, your clients use the WINS server Samba
provides. (Set them up manually, or use DHCP option number 44 to tell them,
which name server should they use for NetBIOS name resolution.) Tell us, if
you need some help on how to implement this.
I see you have some settings regarding file locking. The smb.conf man page
says, you should never need to change those parameters by hand. If I was
you, I would remove all of the locking options from the config file. Another
thing to note: it's not necessary to set socket options manually, in case
you use a recent kernel (I assume, you have some Linux OS running on your
server).
I've just read in the smb.conf man page regarding level2 oplocks: "It
is
recommended that this parameter be turned on to speed access to shared
executables." Probably this will be the key for your problem, if I
understood you right.
Regardless, that it helped or not, it is still a good idea to segment your
network and use WINS for name resolution.
2008/7/29 Alejandro Paredes <aparedes@uepc.org.ar>
> Hello. I have an app running on a clipper Samba version 3.02319121616102
> . In my network there are approximately 80 clients Win98 and 20 clients
> NT-XP. By connecting customers begins to degrade the performance of the app
> very slow getting around. Any help? Thank you. Deputy smb.conf.
>
> Hola. Tengo una app en clipper ejecut?ndose sobre Samba version
> 3.02319121616102
> . En mi red hay aproximadamente 80 clientes Win98 y 20 clientes NT-XP. Al
> conectarse los clientes comienza a degradarse la performance de la app
> poni?ndose muy lento todo. Alguna ayuda? Gracias. Adjunto smb.conf.
>
> # Samba config file
> # Date: 2008/07/29 10:50:03
>
> [global]
> workgroup = UEPC
> netbios name = MENDIETA
> server string = Samba Server
> security = user
> null passwords = Yes
> pam password change = Yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password*
> %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*passwd:
> *all*authentication*tokens*updated*successfully*
> passwd chat debug = Yes
> unix password sync = Yes
> log level = 1
> log file = /var/log/samba/%m.log
> max log size = 50
> socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
> SO_RCVBUF=32768 SO_SNDBUF=32768
> printcap name = cups
> logon script = %G.bat
> domain logons = Yes
> os level = 64
> domain master = Yes
> time server = Yes
> dns proxy = No
> wins support = Yes
> idmap uid = 16777216-33554431
> idmap gid = 16777216-33554431
> winbind trusted domains only = Yes
> admin users = @adm
> cups options = raw
> interfaces = 10.1.3.2/16 127.0.0.1
> bind interfaces only = Yes
> kernel oplocks = No
> level2 oplocks = No
> lock spin count = 50
> lock spin time = 25
> oplocks = No
> add machine script = /usr/sbin/useradd -c Machine -d
> /var/lib/nobody -s /bin/false %m$
> local master = Yes
> preferred master = Yes
>
> [homes]
> comment = Home Directories
> read only = No
> browseable = No
>
> [netlogon]
> comment = Network Logon Service
> path = /home/netlogon
> force user = root
> force group = root
> read only = No
> guest ok = Yes
> browseable = No
> share modes = No
> write list = root
>
> [printers]
> comment = All Printers
> path = /usr/spool/samba
> printable = Yes
> browseable = No
>
> [sistemas]
> comment = Sistemas de UEPC
> writeable = yes
> path = /sistemas
> write list >
@autorizador,@optica,@faradm,@fardep,@fardom,@farinv,@farvta,@sistemas,@csrecodo
>
> [autorizador]
> browseable = no
> comment = Autorizador para Imed
> writable = yes
> path = /sistemas/farmacia
>
> [compartido]
> comment = Para transferencia de archivos en la red
> browseable = no
> writable = yes
> path = /sistemas/compartido
>
> [cola_sistemas]
> comment = Cola de Impres. del Depto. Sistemas
> path = /sistemas
> guest ok = Yes
> printable = Yes
> use client driver = Yes
> force printername = Yes
>
> [cola_optica]
> comment = Cola de Impresion de Optica
> path = /sistemas
> guest ok = Yes
> printable = Yes
> use client driver = Yes
> force printername = Yes
>
> [cola_faradm]
> comment = Cola de Impresion de Administracion de Farmacia
> path = /sistemas
> guest ok = Yes
> printable = Yes
> use client driver = Yes
> force printername = Yes
>
> [cola_farvta]
> comment = Cola de Impresion de Ventas de Farmacia
> path = /sistemas
> guest ok = Yes
> printable = Yes
> use client driver = Yes
> force printername = Yes
>
> [cola_fardep]
> comment = Cola de Impresion de Deposito de Farmacia
> path = /sistemas
> guest ok = Yes
> printable = Yes
> use client driver = Yes
> force printername = Yes
>
> [cola_csrecodo]
> comment = Cola de Impresion de Recepci?n de Odontolog?a
> path = /sistemas
> guest ok = Yes
> printable = Yes
> use client driver = Yes
> force printername = Yes
>
>
>
>
> Ing. Alejandro Paredes
> Gte. de Sistemas
> U.E.P.C.
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>