From owner-freebsd-questions Mon Dec 7 14:00:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21711 for freebsd-questions-outgoing; Mon, 7 Dec 1998 13:59:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hera.webcom.com (hera.webcom.com [209.1.28.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21704 for ; Mon, 7 Dec 1998 13:59:40 -0800 (PST) (envelope-from graeme@echidna.com) Received: from kigal.webcom.com (kigal.webcom.com [209.1.28.57]) by hera.webcom.com (8.9.1/8.9.1) with SMTP id UAA13601 for ; Mon, 7 Dec 1998 20:59:36 -0800 Received: from [209.122.117.150] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 15702360; Mon Dec 07 13:57 PST 1998 Message-Id: <366C4FA4.C67199B0@echidna.com> Date: Mon, 07 Dec 1998 16:59:00 -0500 From: Graeme Tait Reply-To: graeme@echidna.com Organization: Echidna X-Mailer: Mozilla 4.02 [en]C-DIAL (Win95; U) Mime-Version: 1.0 To: FreeBSD-questions@freebsd.org Subject: ftpd doesn't always die with broken connections Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org Precedence: bulk X-Loop: FreeBSD.ORG I have a couple of FreeBSD servers (2.2.6R and 2.2.7S) to/from which large files are often transferred by users with dial-up ISP access. Inevitably the connections fail occasionally in mid-transfer. Most of the time the ftpd daemon goes away gracefully in a few minutes. But sometimes it hangs around much longer, or indefinitely: >From ps aux | grep ftpd (done today): open 3940 0.0 0.1 292 184 ?? Is 16Nov98 0:01.82 ftpd: ip219.tu open 10051 0.0 0.1 292 184 ?? Is 16Nov98 0:00.05 ftpd: ip-50-10 Running netstat shows connections ESTABLISHED on local ports 20 and 21 for the above two remote hosts. Obviously, I can kill these ftpd processes by hand, but I'm wondering why this happens. -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message