[Samba] 2.2.5 performanc issues...

Dunville, Barbara barbara_dunville at ameren.com
Thu Oct 9 18:16:11 GMT 2003


We are trying to troubleshoot slow performance.



A lot of my NT client log files show messages like this about oplock
break issues.

[2003/10/09 12:50:39, 0] smbd/oplock.c:(1008)
  request_oplock_break: no response received to oplock break request to
pid 2907 on port 61752 for dev = 40240002, inode = 29, file_id = 2
64
[2003/10/09 12:51:03, 0] smbd/oplock.c:(395)
  process_local_message: Received unsolicited break reply - dumping
info.
[2003/10/09 12:51:03, 0] smbd/oplock.c:(409)
  process_local_message: unsolicited oplock break reply from pid 982,
port 61752, dev = 40240002, inode = 29, file_id = 264
[2003/10/09 12:55:35, 0] smbd/oplock.c:(1008)
  request_oplock_break: no response received to oplock break request to
pid 9996 on port 61775 for dev = 40240002, inode = 29, file_id = 1
15
[2003/10/09 12:55:35, 0] smbd/open.c:(630)
  open_mode_check: exlusive oplock left by process 9996 after break !
For file arch/source/archfunc/arch.ini, dev = 40240002, inode = 29.
Deleting it to continue...
[2003/10/09 12:55:35, 0] smbd/open.c:(634)
  open_mode_check: Existent process 9996 left active oplock.
[2003/10/09 12:55:56, 0] smbd/oplock.c:(395)
  process_local_message: Received unsolicited break reply - dumping
info.
[2003/10/09 12:55:56, 0] smbd/oplock.c:(409)
  process_local_message: unsolicited oplock break reply from pid 982,
port 61775, dev = 40240002, inode = 29, file_id = 115
[2003/10/09 13:01:49, 0] smbd/oplock.c:(1008)
  request_oplock_break: no response received to oplock break request to
pid 13869 on port 61783 for dev = 40240002, inode = 29, file_id =
181
[2003/10/09 13:01:49, 0] smbd/open.c:(630)
  open_mode_check: exlusive oplock left by process 13869 after break !
For file arch/source/archfunc/arch.ini, dev = 40240002, inode = 29.
 Deleting it to continue...
[2003/10/09 13:01:49, 0] smbd/open.c:(634)



Here is my conf global settings & the share that we turned level2 locks
on..(It is all exe, dll, lib files)

# file name: /etc/opt/samba/smb.conf.DEV
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2001/01/02 11:36:07

# Global parameters
[global]
   security = server
        workgroup = AMEREN
        netbios name = SCSSD3
        server string = Samba Server
        interfaces = 10.81.1.44/255.0.0.0
        bind interfaces only = Yes
        encrypt passwords = yes
        password server = scssd3
        log file = /var/opt/samba/log.%m
        max log size = 1000
        name resolve order = hosts wins
        local master = No
        wins server = 10.101.1.32
        read only = No
        preserve case = yes
        short preserve case = No
        dos filetime resolution = Yes
        socket options = TCP_NODELAY IPTOS_THROUGHPUT
        syslog = 0
        oplocks = no
        level2 oplocks = no

[t5amprt4s]
        path = /t5amprt4/client
        writeable = yes
        force user = cssuser
        oplocks = yes
        level2 oplocks = yes



Are there other settings that I should look at adding ?  

We've taken care of all  dns reverse lookup issues that we've seen.
I don't understand the locking very well to know what to tune.

Thanks for your help.
Barb

*******************************
The information contained in this message may be privileged and/or confidential and 
protected from disclosure. If the reader of this message is not the intended recipient, 
or an employee or agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. Note that any views or opinions presented in this 
message are solely those of the author and do not necessarily represent those of Ameren. 
All emails are subject to monitoring and archival. Finally, the recipient should check 
this message and any attachments for the presence of viruses. Ameren accepts no liability 
for any damage caused by any virus transmitted by this email. If you have received this in 
error, please notify the sender immediately by replying to the message and deleting the 
material from any computer. Ameren Corporation 
*******************************



More information about the samba mailing list