Walter Willmertinger
2004-Oct-08 14:03 UTC
[Samba] XP SP2 and Samba 3.0.7 - Printing very slow
As mentioned in some other threads, printing is very slow with samba-printers after applying XSP2 to XP. What is especially slow is the point, when you press ctrl-p after working with some document in e.g. MS Word. It takes about 20 seconds on a fast 3 GHZ computer, before you see the printer dialogue. After setting log level to 10, I noticed some error message in the log file, as error packet at smbd/ipc.c(99) cmd=37 (SMBtrans) STATUS_BUFFER_OVERFLOW this message repeats 22 times for one pressing of ctrl-p If someone is interested, here is a small part of the debug log: send_trans_reply: buffer 1024 too large [2004/10/08 15:36:28, 3] smbd/error.c:error_packet(129) error packet at smbd/ipc.c(99) cmd=37 (SMBtrans) STATUS_BUFFER_OVERFLOW [2004/10/08 15:36:28, 5] smbd/ipc.c:copy_trans_params_and_data(62) copy_trans_params_and_data: params[0..0] data[0..1024] [2004/10/08 15:36:28, 5] lib/util.c:show_msg(439) [2004/10/08 15:36:28, 5] lib/util.c:show_msg(449) size=1080 smb_com=0x25 smb_rcls=5 smb_reh=0 smb_err=32768 smb_flg=136 smb_flg2=51201 smb_tid=1 smb_pid=1560 smb_uid=100 smb_mid=62977 smt_wct=10 smb_vwv[ 0]= 0 (0x0) smb_vwv[ 1]= 1024 (0x400) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 0 (0x0) smb_vwv[ 4]= 56 (0x38) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 1024 (0x400) smb_vwv[ 7]= 56 (0x38) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_bcc=1025 [2004/10/08 15:36:28, 10] lib/util.c:dump_data(1835) [000] 00 05 00 02 03 10 00 00 00 B4 04 00 00 03 00 00 ........ ........ [010] 00 9C 04 00 00 00 00 00 00 B8 BF D9 00 8C 04 00 ........ ........ [020] 00 70 04 00 00 64 04 00 00 00 00 00 00 00 00 00 .p...d.. ........ [030] 00 00 00 00 00 D4 07 0A 00 05 00 08 00 0D 00 24 ........ .......$ [040] 00 1C 00 00 00 1B 03 00 00 00 00 00 00 05 00 93 ........ ........ [050] 08 01 00 00 00 00 00 00 00 00 00 00 00 1B 03 00 ........ ........ [060] 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 ........ ........ [070] 00 4A 02 00 00 00 00 00 00 00 00 00 00 00 00 00 .J...... ........ Maybe this helps someone, as it is very boring to wait for printing! -- Regards Walter