From owner-freebsd-hackers Thu Dec 18 20:02:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA18552 for hackers-outgoing; Thu, 18 Dec 1997 20:02:07 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA18537 for ; Thu, 18 Dec 1997 20:02:00 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id UAA22657; Thu, 18 Dec 1997 20:01:29 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma022653; Thu Dec 18 20:01:01 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id UAA23662; Thu, 18 Dec 1997 20:01:01 -0800 (PST) From: Archie Cobbs Message-Id: <199712190401.UAA23662@bubba.whistle.com> Subject: Re: close() on a modem taking a long time? In-Reply-To: from Erik E Rantapaa at "Dec 18, 97 08:39:55 pm" To: rantapaa@uswest.net (Erik E Rantapaa) Date: Thu, 18 Dec 1997 20:01:00 -0800 (PST) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Erik E Rantapaa writes: > > I've been tracking down a problem we've been having with sendpage > and it appears that close() on a serial line attached to a modem > can sometimes take a long time (like 20 minutes or more). > Can anyone think of a reason why this might be happening > (and more importantly, how to get around it)? Serial ports usually wait for output to finish on a close (I think). You may be able to disable this feature.. see man termios (HUPCL?). -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com