Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2001 11:28:14 -0400
From:      "Mary Kay" <mkay1971@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Problems accepting TCP connections
Message-ID:  <LAW2-F544SvcDfSDGAI00001225@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to setup a FreeBSD box to serve as an anonymous ftp server.  
Everything works well, but at some point (8-12 hours or so) I  start having 
unexplained problems with connectivity to the FreeBSD box.  These do not 
seem to be load issues as the box is normally under very low load.

Specifics of the problem follow:

Release:
FreeBSD p100.ne.mediaone.net 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 
10:5 4:49 GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  
i386

Box:
x86 P100, ISA, 3c509, 80MB RAM

Here is a tcpdump of a couple incoming ftp connections.  Note that the 
3-way-handshake does not complete for some reason and FreeBSD resets the 
connections.

09:17:17.434468 10.10.10.104.1874 > 10.10.10.2.ftp: S 
3730349325:3730349325(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
09:17:17.434903 10.10.10.2.ftp > 10.10.10.104.1874: S 
3786888360:3786888360(0) ack 3730349326 win 17520 <mss 1460> (DF)
09:17:17.435181 10.10.10.104.1874 > 10.10.10.2.ftp: . ack 1 win 17520 (DF)
09:18:17.452217 10.10.10.104.1874 > 10.10.10.2.ftp: R 
3730349326:3730349326(0) win 0 (DF)
09:18:20.246318 10.10.10.104.1881 > 10.10.10.2.ftp: S 
3746393118:3746393118(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)
09:18:20.246735 10.10.10.2.ftp > 10.10.10.104.1881: S 
4294600260:4294600260(0) ack 3746393119 win 17520 <mss 1460> (DF)
09:18:20.246991 10.10.10.104.1881 > 10.10.10.2.ftp: . ack 1 win 17520 (DF)
09:19:20.264378 10.10.10.104.1881 > 10.10.10.2.ftp: R 
3746393119:3746393119(0) win 0 (DF)

inetd in debug shows the following:
p100# inetd: someone wants ftp
inetd: accept, ctrl 11
inetd: + closing from 10
inetd: 382 execl /usr/libexec/ftpd
inetd: handling signal flag C
inetd: 382 reaped, status 0x100

I can ping the box fine.  I can connect to it using telnet although it takes 
a painfully long time to get the login prompt (1-2 minutes).  Also of note 
when the box gets into this state is that a "netstat -a" or
"arp -a" will also take an excruciatingly long time to complete.  A warm 
boot does not seem to clear the problem but a cold boot does. Does this 
sound like some sort of NIC/driver combination issue?

Any hints on what to try or what else to do to get more information to help 
debug would be greatly appreciated.

Thanks.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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