Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 1995 13:07:52 +0200 (SAT)
From:      R Bezuidenhout <rbezuide@mikom.csir.co.za>
To:        bugs@freebsd.org
Subject:   Possible TCP/UDP routing kernel bug?
Message-ID:  <199512221107.NAA27283@zibbi.mikom.csir.co.za>

next in thread | raw e-mail | index | archive | help
Seasons Greetings ...


I have the following senario and I don't know what is going wrong ??

All machines are running FreeBSD 2.1 and are connected with a 10MB 
ethernet (test setup)


    PC1 ---------- Router1 ----------------- Router2 ----- PC2

I am using netcat wich basically can do a TCP or UDP stream from
one machine to the other.

On PC1 start netcat:
./nc -v -v -l -p 6789

On PC2 start netcat:
yes AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | ./nc -v -v <PC1 IP number> 6789



Router2 starts to degrade, almost immediately in such a fashion
that even pressing ENTER on a console (all machines are running in 
console mode) does not return a prompt.

I can't even get a load average, but I know it is more or less 1.5

The two routers are running the followin:
gated, xntpd.

I have tried using different motherboards (all machines are 486DX2-66
with 8 meg ram and 16 meg swap).  There doesn't seem to be any hardware
defects.

If I unplug the network cable, the Router2 starts doing what every I 
might have typed, until I replug the ether net.

As far as I know FreeBSD should be able to and have previously
handled the load??

This is true for both UDP and TCP ....

With an ftp "loop" of ftp'ing the kernel from PC1 to PC2 the samething
happens, only that the kernel doesn't degrade that much .. systat
shows almost NO idle time and all other processes go up in %CPU (this
means the kernel is using up most of the CPU because the processes
have a weighted CPU % ?)

On Router2  +/- 850 iterrupts between ed0 and ed1, remember this is
with ftp, when using netcat I CAN'T DO ANYTHING !!!

Any suggestions ??

Thanx

-- 
########################################################################
#                                                                      #
#   Reinier Bezuidenhout             Company: Mikomtek CSIR, ZA        #
#                                                                      #
#   Network Engineer - NetSec development team                         #
#                                                                      #
#   Current Projects: NetSec - Secure Platform firewall system         #
#                     http://www.mikom.csir.co.za                      #
#                                                                      #
#   E-mail: rbezuide@mikom.csir.co.za                                  #
#                                                                      #
########################################################################



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512221107.NAA27283>