Multiple Platform remote CPU load issue in Samba 1.x and 2.x

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Tue Jun 13 23:40:33 GMT 2000


Mmmm, I still can't repoduce this. Note I found a "netcat" program here:
/usr/lib/linuxconf/lib/netcat. Is this acceptable? It looks like it's doing
the trick but smbd seems to drop the conn. Pls advise.

PS whats the options for tcpdump to print out more of the packets contents.
I want to see zeros flying by. I was trying:

tcpdump -x -s 500 port 139

but was only printing like 60 bytes which doesn't appear to make it past
uninteresting headers.

Michael B Allen
http://jcifs.samba.org

[root at prodlinux lib]# ./netcat localhost 139 < /dev/zero 

[1]+  Stopped                 ./netcat localhost 139 </dev/zero
[root at prodlinux lib]# bg
[1]+ ./netcat localhost 139 </dev/zero &
[root at prodlinux lib]# uptime
  6:45pm  up 4 days, 21:59,  8 users,  load average: 0.00, 0.00, 0.00
[root at prodlinux lib]# uptime
  6:46pm  up 4 days, 22:00,  8 users,  load average: 0.00, 0.00, 0.00
[root at prodlinux lib]# 

tcpdump output in other window

[root at prodlinux /root]# tcpdump port 139 
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on all devices
18:49:06.801047   lo > localhost.3152 > localhost.netbios-ssn: S
2867545154:2867545154(0) win 31072 <mss 3884,sackOK,timestamp 42497277
0,nop,wscale 0> (DF)
18:49:06.801047   lo < localhost.3152 > localhost.netbios-ssn: S
2867545154:2867545154(0) win 31072 <mss 3884,sackOK,timestamp 42497277
0,nop,wscale 0> (DF)
18:49:06.801089   lo > localhost.netbios-ssn > localhost.3152: S
2864971592:2864971592(0) ack 2867545155 win 31072 <mss 3884,sackOK,timestamp
42497277 42497277,nop,wscale 0> (DF)
18:49:06.801089   lo < localhost.netbios-ssn > localhost.3152: S
2864971592:2864971592(0) ack 2867545155 win 31072 <mss 3884,sackOK,timestamp
42497277 42497277,nop,wscale 0> (DF)
18:49:06.801111   lo > localhost.3152 > localhost.netbios-ssn: . 1:1(0) ack
1 win 31072 <nop,nop,timestamp 42497277 42497277> (DF)
18:49:06.801111   lo < localhost.3152 > localhost.netbios-ssn: . 1:1(0) ack
1 win 31072 <nop,nop,timestamp 42497277 42497277> (DF)


> -----Original Message-----
> From:	rreiner at fscinternet.com [SMTP:rreiner at fscinternet.com]
> Sent:	Tuesday, June 13, 2000 6:40 PM
> To:	Michael_B_Allen at ml.com
> Subject:	RE: Multiple Platform remote CPU load issue in Samba 1.x and
> 2.x
> 
> > > (i.e. netcat target.machine 25 < /dev/zero), the machine 
> > will remain in a
> > > resource consuming loop, and drive the CPU load to somewhere between
> > > 90-100%
> > 	[Allen, Michael B (RSCH)]  
> > 
> > 	With 2.0.6 on RH 6.2 I get:
> > 
> > 	[root at prodlinux lib]# ./netcat localhost 25 < /dev/zero 
> > 	Can't connect (Connection refused)
> 
> The "25" was a generic example.  Try 139 instead.
> 



More information about the samba-technical mailing list