From owner-freebsd-bugs Sat May 18 01:00:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA06436 for bugs-outgoing; Sat, 18 May 1996 01:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA06400; Sat, 18 May 1996 01:00:03 -0700 (PDT) Resent-Date: Sat, 18 May 1996 01:00:03 -0700 (PDT) Resent-Message-Id: <199605180800.BAA06400@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:"from pcpsj.pfcs.com (harlan.fred.net [205.252.219.31]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA06178 for" ; Sat, 18 May 1996 00:55:24.-0700 (PDT) Received: (from root@localhost) by pcpsj.pfcs.com (8.6.12/8.6.9) id DAA18130; Sat, 18 May 1996 03:54:28 -0400 Message-Id: <199605180754.DAA18130@pcpsj.pfcs.com> Date: Sat, 18 May 1996 03:54:28 -0400 From: Harlan.Stenn@pfcs.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1212: ppp eventually runs out of file descriptors Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1212 >Category: bin >Synopsis: ppp eventually runs out of file descriptors >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 18 01:00:01 PDT 1996 >Last-Modified: >Originator: Harlan Stenn >Organization: PFCS Corporation >Release: FreeBSD 2.1-STABLE i386 >Environment: FreeBSD 2.1.0 >Description: After a demand-dial ppp has been running for a while it runs out of file descriptors, leaving log messages like this: ... 05-18 02:25:28 [8656] *Connected! 05-18 02:25:28 [8656] Phase: Authenticate 05-18 02:25:28 [8656] his = 0, mine = 0 05-18 02:25:28 [8656] Phase: Network socket: Too many open files 05-18 02:25:28 [8656] OsLinkup: 111.222.333.444 can't open /etc/ppp/ppp.linkup. can't open /etc/ppp/ppp.linkup. can't open /etc/ppp/ppp.linkup. socket: Too many open files However: -rw-r--r-- 1 root wheel 1080 Sep 9 1995 /etc/ppp/ppp.linkup Eventually, I have noticed I can't make connections to new sites and I have to manually kill and restart ppp. >How-To-Repeat: Fire up a demand-dial ppp link, use it, and wait. >Fix: >Audit-Trail: >Unformatted: