[Samba] Error on SMB Packages

Simon.Harris at nationwide.co.uk Simon.Harris at nationwide.co.uk
Fri Jan 9 14:34:25 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----

********************************************************************
The contents of this email are intended exclusively for the
addressee. If you are not the addressee you must not read
use or disclose the email contents ; you should notify us
immediately [ by clicking "Reply" ] and delete this email.

Nationwide monitors e-mails to ensure its systems operate
effectively and to minimise the risk of viruses.  Whilst it has
taken reasonable steps to scan this email, it does not
accept liability for any virus that may be contained in it.
********************************************************************

Trying to get to the bottom of a Samba performance issue myself on a SunFire
V880 running Solaris 9. 

These are all similar messages as you get if you turned-up the logging level
through Samba (bit more readable through samba logs), with request for SMB
open/close/locking/transactions. Doesn't appear to be much wrong but I'm no
expert here.

Try setting the log level of samba to 3 and consulting these logs. Can set
it in the smb.conf or on the fly using the smbcontrol command. Be careful as
these logs will grow quickly...

- From these logs you will be able to see what functions are being called and
what there doing. I looked in http://samba.org/doxygen/samba/files.html at
the source code for these to get an idea of what they were doing.

Playing with the idea of taking oplocks off myself as I have many processes
trying to get to the same files (in read-only). I think the oplock
processing is slowing me down.

If you find anything out let me know!

Cheers,

Simon

- -----Original Message-----
From: pablo.jejcic at smartweb.rgu.ac.uk
[mailto:pablo.jejcic at smartweb.rgu.ac.uk] 
Sent: 09 January 2004 12:44
To: samba at lists.samba.org
Subject: [Samba] Error on SMB Packages

List,
	I have been having a few problems with a couple of machines accesing
my Samba server (SunOS zeusv480 5.9 Generic_112233-02 sun4u sparc
SUNW,Sun-Fire-480R running Samba version 2.2.2). I have been playing with
the parameters on smb.conf for a while now (sockets, oplocks, etc) and I
couldn't improve the performance, so I decide to go for an snoop on the
network card serving samba and I'm getting a few messages that I don't
understand (see below); Anyone could give me a hand to get this?

0.00052   10.32.3.36 -> zeusv480     SMB C Code=0xa2 Name=SMB NT_CreateX
FileName=???????????????????????????????c Error=0   0.00022     zeusv480 ->
10.32.3.36   SMB C Code=0x24 Name=SMBlockingX
FileID=0x136d #Unlocks=0x0 #Locks=0x0 Error=0   0.00024   10.32.3.36 ->
zeusv480     SMB C Code=0x24 Name=SMBlockingX
FileID=0x136d #Unlocks=0x0 #Locks=0x3 Error=0   0.00036     zeusv480 ->
10.32.3.36   SMB R Code=0x24 Name=SMBlockingX
Error=0   0.00017   10.32.3.36 -> zeusv480     SMB C Code=0x24
Name=SMBlockingX
FileID=0x136d #Unlocks=0x0 #Locks=0x0 Error=0   0.00023     zeusv480 ->
10.32.3.36   SMB R Code=0xa2 Name=SMB NT_CreateX
FileID=0x136e Error=0   0.00030   10.32.3.36 -> zeusv480     SMB C Code=0x32
Name=SMBtrans2
QueryFileInfo FileID=0x136e Error=0   0.00011     zeusv480 -> 10.32.3.36
SMB R Code=0x32 Name=SMBtrans2
Error=0   0.00025   10.32.3.36 -> zeusv480     SMB C Code=0x4 Name=SMBclose
FileID=0x136e Error=0   0.00017     zeusv480 -> 10.32.3.36   SMB R Code=0x4
Name=SMBclose Error=0   0.00029   10.32.3.36 -> zeusv480     SMB C Code=0x32
Name=SMBtrans2
QueryPathInfo File=????????????????????????????????????c Error=0   0.00020
zeusv480 -> 10.32.3.36   SMB R Code=0x32 Name=SMBtrans2
Error=0   0.00026   10.32.3.36 -> zeusv480     SMB C Code=0x32
Name=SMBtrans2
QueryPathInfo File=????????????????????????????????????c Error=0   0.00018
zeusv480 -> 10.32.3.36   SMB R Code=0x32 Name=SMBtrans2
Error=0   0.00041   10.32.3.36 -> zeusv480     SMB C Code=0xa2 Name=SMB
NT_CreateX
FileName=??????????????????????????p????c Error=0   0.00026     zeusv480 ->
10.32.3.36   SMB R Code=0xa2 Name=SMB NT_CreateX
FileID=0x136f Error=0   0.00026   10.32.3.36 -> zeusv480     SMB C Code=0x32
Name=SMBtrans2
QueryFileInfo FileID=0x136f Error=0   0.00011     zeusv480 -> 10.32.3.36
SMB R Code=0x32 Name=SMBtrans2
Error=0   0.00032   10.32.3.36 -> zeusv480     SMB C Code=0x4 Name=SMBclose
FileID=0x136f Error=0   0.00016     zeusv480 -> 10.32.3.36   SMB R Code=0x4
Name=SMBclose Error=0   0.00027   10.32.3.36 -> zeusv480     SMB C Code=0xa2
Name=SMB NT_CreateX
FileName=??????????????????????????p????c Error=0   0.00022     zeusv480 ->
10.32.3.36   SMB C Code=0x24 Name=SMBlockingX
FileID=0x1368 #Unlocks=0x0 #Locks=0x0 Error=0   0.00011     zeusv480 ->
10.32.3.36   SMB R Code=0xa2 Name=SMB NT_CreateX
FileID=0x1370 Error=0   0.00001   10.32.3.36 -> zeusv480     NBT C port=4462
0.00018   10.32.3.36 -> zeusv480     SMB C Code=0x32 Name=SMBtrans2
SetFileInfo FileID=0x1370 Error=0   0.00778     zeusv480 -> 10.32.3.36   SMB
R Code=0x32 Name=SMBtrans2
Error=0   0.00027   10.32.3.36 -> zeusv480     SMB C Code=0x4 Name=SMBclose
FileID=0x1370 Error=0   0.00018     zeusv480 -> 10.32.3.36   SMB R Code=0x4
Name=SMBclose Error=0   0.00073   10.32.3.36 -> zeusv480     SMB C Code=0x32
Name=SMBtrans2
QueryFileInfo FileID=0x136d Error=0   0.00012     zeusv480 -> 10.32.3.36
SMB R Code=0x32 Name=SMBtrans2
Error=0   0.00024   10.32.3.36 -> zeusv480     SMB C Code=0x32
Name=SMBtrans2
QueryFileInfo FileID=0x136d Error=0   0.00009     zeusv480 -> 10.32.3.36
SMB R Code=0x32 Name=SMBtrans2
Error=0   0.00086   10.32.3.36 -> zeusv480     SMB C Code=0xa2 Name=SMB
NT_CreateX
FileName=???????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????? Error=0
0.00023     zeusv480 -> 10.32.3.36   SMB R Code=0xa2 Name=SMB NT_CreateX
FileID=0x1372 Error=0   0.00030   10.32.3.36 -> zeusv480     SMB C Code=0x32
Name=SMBtrans2
QueryFileInfo FileID=0x1372 Error=0   0.00017     zeusv480 -> 10.32.3.36
SMB R Code=0x32 Name=SMBtrans2
Error=0   0.00024   10.32.3.36 -> zeusv480     SMB C Code=0x4 Name=SMBclose
FileID=0x1372 Error=0 



Thanks in advance.-

Pablo.-

- ---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 02/01/2004
 

- --
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.1.1 (C) 1997 Pretty Good Privacy, Inc.

iQEVAwUBP/678W4wJNdvwuyFAQFJ+Af8CYZogkxgyvqYDeYv1ecxtDD/+/8xFCLK
InYA/qIVhCxW0loCY8FSu9VfBrIOMj3f/EVXRp+rFXF2GC/sz0zwQ/+asGg/xtHx
ZVmZUBgNzQMDwz0ZZH/ochcyimGDAKZjLiAXHvvsYPjfVtJnWe0IjbRSRcm0+Eq/
oJ6d9fOsTO56nhmxZQEf5WoqgfxTicat5xAyeqRiAJHtx5RlMf6ztCmBVmUCqLXT
X+PCnPC7sFhFyqhG/5lSMxNI5XoFc72EEubqOXMqOdG+3Ynpt5Sr05qlqxzTx8UY
jVwru6bUtVLyxKSMlzMPD1JMJn5v1bQDaXxA1Iov+qLA7LqqO1C4ow==
=j7dP
-----END PGP SIGNATURE-----


More information about the samba mailing list