From owner-freebsd-questions Sun Mar 24 11:04:43 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA18574 for questions-outgoing; Sun, 24 Mar 1996 11:04:43 -0800 (PST) Received: from buffnet4.buffnet.net (root@buffnet4.buffnet.net [205.246.19.13]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA18568 for ; Sun, 24 Mar 1996 11:04:40 -0800 (PST) Received: from buffnet1.buffnet.net (mmdf@buffnet1.buffnet.net [205.246.19.10]) by buffnet4.buffnet.net (8.6.12/8.6.9) with SMTP id OAA16091 for ; Sun, 24 Mar 1996 14:06:39 GMT Received: from buffnet1.buffnet.net by buffnet1.buffnet.net id aa02240; 24 Mar 96 14:11 EST Date: Sun, 24 Mar 1996 14:11:40 -0500 (EST) From: Superuser To: freebsd-questions@freebsd.org Subject: signal 11 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Im having troubles with 2.1R with apache 1.0.0 and 1.0.3 with segmentation violations. The counter we used under 2.0R andd CERN http will suddenly stop working and gen this violation error - and after a while other programs like ftpd will start doing this. I suspect it has something to do with opening files. The counter programn was so simple/basic that it wasnt checking for a successful open of the file it keeps the count in. All the think does is read in the last count, incriment it, print it, and write it back to the file. No fancy pointer stuff, just basic simple C. How can I determine the number of available file handles at any one moment? (not the limit info, but the actual available counts). -------------------------------------------------- Stephen Hovey shovey@buffnet.net root@buffnet.net