found the problem and the solution
Andrea Lanza
andrea.lanza at frameweb.it
Mon Dec 10 08:45:44 GMT 2007
I found what was my problem (cfr previous post about network crash copyng FROM
smb server TO local)
The problem is the buffersize.
I don't know how it could be, becouse it is declared as the buffer used in
send/transmit, but actually it heavily ipacts on receiving files.
Some tests:
b=1200: copied 8.3GB in 33 minutes
b=16380: copied 8.3GB in 6 minutes
b=32700: copied 8.3GB in 4 minutes
b=65000: crash !!!
default is 65535 so thats way I am getting crashes
i also put debuglevel to 3 and specified log to use: if you are interested,
look at the following files: they are the logs obtained using b=32000 (good)
and b=65000 (crash)
thanks all,
Andrea
---------------------------------------
srvvmware01:/vmware/test # cat log.smbclient.32700 [2007/12/10 09:26:40, 3]
param/loadparm.c:lp_load(5031)
lp_load: refreshing parameters
[2007/12/10 09:26:40, 3] param/loadparm.c:init_globals(1430)
Initialising global parameters
[2007/12/10 09:26:40, 3] param/params.c:pm_process(572)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2007/12/10 09:26:40, 3] param/loadparm.c:do_section(3770)
Processing section "[global]"
[2007/12/10 09:26:40, 2] param/loadparm.c:handle_include(3189)
Can't find include file /etc/samba/dhcp.conf [2007/12/10 09:26:40, 2]
lib/interface.c:add_interface(81)
added interface ip=192.168.69.12 bcast=192.168.69.255 nmask=255.255.255.0
[2007/12/10 09:26:40, 3] client/client.c:main(4094)
Client started (version 3.0.27-0.1.94-1598-SUSE-SL10.2).
[2007/12/10 09:26:40, 3] lib/util_sock.c:open_socket_out(874)
Connecting to 192.168.69.33 at port 445 [2007/12/10 09:26:43, 3]
libsmb/cliconnect.c:cli_session_setup_spnego(793)
Doing spnego session setup (blob length=113) [2007/12/10 09:26:43, 3]
libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 2 840 113554 1 2 2
[2007/12/10 09:26:43, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 2 840 48018 1 2 2
[2007/12/10 09:26:43, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 3 6 1 4 1 311 2 2 10
[2007/12/10 09:26:43, 3] libsmb/cliconnect.c:cli_session_setup_spnego(826)
got principal=cifs/srvlnx01.frameweb.it at FRAMEWEB.IT
[2007/12/10 09:26:43, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1018)
Got challenge flags:
[2007/12/10 09:26:43, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60898215
[2007/12/10 09:26:43, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1040)
NTLMSSP: Set final flags:
[2007/12/10 09:26:43, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60088215
[2007/12/10 09:26:43, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(338)
NTLMSSP Sign/Seal - Initialising with flags:
[2007/12/10 09:26:43, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60088215
[2007/12/10 09:26:43, 0] libsmb/clidfs.c:do_connect(167)
Domain=[FRAMEWEB] OS=[Unix] Server=[Samba 3.0.24] [2007/12/10 09:26:43, 3]
lib/util.c:dos_clean_name(578)
dos_clean_name []
[2007/12/10 09:26:43, 3] lib/util.c:unix_clean_name(615)
unix_clean_name []
[2007/12/10 09:26:48, 3] libsmb/clilist.c:cli_list_new(337)
received 10 entries (eos=1)
[2007/12/10 09:26:49, 3] libsmb/clilist.c:cli_list_new(337)
received 10 entries (eos=1)
[2007/12/10 09:26:49, 3] lib/util.c:dos_clean_name(578)
dos_clean_name [\ftproot\]
[2007/12/10 09:26:49, 3] lib/util.c:unix_clean_name(615)
unix_clean_name [\ftproot\]
[2007/12/10 09:26:53, 3] libsmb/clilist.c:cli_list_new(337)
received 4 entries (eos=1)
[2007/12/10 09:26:53, 3] lib/util.c:dos_clean_name(578)
dos_clean_name [\ftproot\\agnus.tar.gz] [2007/12/10 09:26:53, 3]
lib/util.c:unix_clean_name(615)
unix_clean_name [\ftproot\agnus.tar.gz] [2007/12/10 09:26:53, 1]
client/client.c:do_get(836)
getting file \ftproot\agnus.tar.gz of size 8436458024 as agnus.tar.gz
(34931.0 kb/s) (average 34931.0 kb/s)
---------------------------------------
srvvmware01:/vmware/test # cat log.smbclient.65000
[2007/12/10 09:32:51, 3] param/loadparm.c:lp_load(5031)
lp_load: refreshing parameters
[2007/12/10 09:32:51, 3] param/loadparm.c:init_globals(1430)
Initialising global parameters
[2007/12/10 09:32:51, 3] param/params.c:pm_process(572)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2007/12/10 09:32:51, 3] param/loadparm.c:do_section(3770)
Processing section "[global]"
[2007/12/10 09:32:51, 2] param/loadparm.c:handle_include(3189)
Can't find include file /etc/samba/dhcp.conf
[2007/12/10 09:32:51, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.69.12 bcast=192.168.69.255 nmask=255.255.255.0
[2007/12/10 09:32:51, 3] client/client.c:main(4094)
Client started (version 3.0.27-0.1.94-1598-SUSE-SL10.2).
[2007/12/10 09:32:51, 3] libsmb/namequery.c:resolve_lmhosts(966)
resolve_lmhosts: Attempting lmhosts lookup for name srvlnx01<0x20>
[2007/12/10 09:32:51, 3] libsmb/namequery.c:resolve_wins(863)
resolve_wins: Attempting wins lookup for name srvlnx01<0x20>
[2007/12/10 09:32:51, 3] libsmb/namequery.c:resolve_wins(866)
resolve_wins: WINS server resolution selected and no WINS servers listed.
[2007/12/10 09:32:51, 3] libsmb/namequery.c:resolve_hosts(1029)
resolve_hosts: Attempting host lookup for name srvlnx01<0x20>
[2007/12/10 09:32:52, 3] lib/util_sock.c:open_socket_out(874)
Connecting to 192.168.69.33 at port 445
[2007/12/10 09:32:56, 3] libsmb/cliconnect.c:cli_session_setup_spnego(793)
Doing spnego session setup (blob length=113)
[2007/12/10 09:32:56, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 2 840 113554 1 2 2
[2007/12/10 09:32:56, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 2 840 48018 1 2 2
[2007/12/10 09:32:56, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 3 6 1 4 1 311 2 2 10
[2007/12/10 09:32:56, 3] libsmb/cliconnect.c:cli_session_setup_spnego(826)
got principal=cifs/srvlnx01.frameweb.it at FRAMEWEB.IT
[2007/12/10 09:32:56, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1018)
Got challenge flags:
[2007/12/10 09:32:56, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60898215
[2007/12/10 09:32:56, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1040)
NTLMSSP: Set final flags:
[2007/12/10 09:32:56, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60088215
[2007/12/10 09:32:56, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(338)
NTLMSSP Sign/Seal - Initialising with flags:
[2007/12/10 09:32:56, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60088215
[2007/12/10 09:32:56, 3] libsmb/cliconnect.c:cli_session_setup(961)
SPNEGO login failed: Logon failure
[2007/12/10 09:32:57, 3] param/loadparm.c:lp_load(5031)
lp_load: refreshing parameters
[2007/12/10 09:32:57, 3] param/loadparm.c:init_globals(1430)
Initialising global parameters
[2007/12/10 09:32:57, 3] param/params.c:pm_process(572)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2007/12/10 09:32:57, 3] param/loadparm.c:do_section(3770)
Processing section "[global]"
[2007/12/10 09:32:57, 2] param/loadparm.c:handle_include(3189)
Can't find include file /etc/samba/dhcp.conf
[2007/12/10 09:32:57, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.69.12 bcast=192.168.69.255 nmask=255.255.255.0
[2007/12/10 09:32:57, 3] client/client.c:main(4094)
Client started (version 3.0.27-0.1.94-1598-SUSE-SL10.2).
[2007/12/10 09:32:57, 3] lib/util_sock.c:open_socket_out(874)
Connecting to 192.168.69.33 at port 445
[2007/12/10 09:33:01, 3] libsmb/cliconnect.c:cli_session_setup_spnego(793)
Doing spnego session setup (blob length=113)
[2007/12/10 09:33:01, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 2 840 113554 1 2 2
[2007/12/10 09:33:01, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 2 840 48018 1 2 2
[2007/12/10 09:33:01, 3] libsmb/cliconnect.c:cli_session_setup_spnego(818)
got OID=1 3 6 1 4 1 311 2 2 10
[2007/12/10 09:33:01, 3] libsmb/cliconnect.c:cli_session_setup_spnego(826)
got principal=cifs/srvlnx01.frameweb.it at FRAMEWEB.IT
[2007/12/10 09:33:01, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1018)
Got challenge flags:
[2007/12/10 09:33:01, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60898215
[2007/12/10 09:33:01, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1040)
NTLMSSP: Set final flags:
[2007/12/10 09:33:01, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60088215
[2007/12/10 09:33:01, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(338)
NTLMSSP Sign/Seal - Initialising with flags:
[2007/12/10 09:33:01, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60088215
[2007/12/10 09:33:01, 0] libsmb/clidfs.c:do_connect(167)
Domain=[FRAMEWEB] OS=[Unix] Server=[Samba 3.0.24]
[2007/12/10 09:33:01, 3] lib/util.c:dos_clean_name(578)
dos_clean_name []
[2007/12/10 09:33:01, 3] lib/util.c:unix_clean_name(615)
unix_clean_name []
[2007/12/10 09:33:08, 3] libsmb/clilist.c:cli_list_new(337)
received 10 entries (eos=1)
[2007/12/10 09:33:08, 3] lib/util.c:dos_clean_name(578)
dos_clean_name [\ftproot\]
[2007/12/10 09:33:08, 3] lib/util.c:unix_clean_name(615)
unix_clean_name [\ftproot\]
[2007/12/10 09:33:10, 3] libsmb/clilist.c:cli_list_new(337)
received 4 entries (eos=1)
[2007/12/10 09:33:10, 3] lib/util.c:dos_clean_name(578)
dos_clean_name [\ftproot\\agnus.tar.gz]
[2007/12/10 09:33:10, 3] lib/util.c:unix_clean_name(615)
unix_clean_name [\ftproot\agnus.tar.gz]
[2007/12/10 09:33:10, 1] client/client.c:do_get(836)
getting file \ftproot\agnus.tar.gz of size 8436458024 as agnus.tar.gz
Receiving SMB: Server stopped responding
[2007/12/10 09:33:37, 0] client/client.c:do_get(861)
Short read when getting file \ftproot\agnus.tar.gz. Only got 308100000
bytes.
[2007/12/10 09:33:37, 1] client/client.c:do_get(894)
(11264.2 kb/s) (average 11264.2 kb/s)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3092 bytes
Desc: not available
Url : http://lists.samba.org/archive/smb-clients/attachments/20071210/8ec5bc17/smime.bin
More information about the smb-clients
mailing list