From owner-freebsd-isp Wed Oct 8 23:18:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA11580 for isp-outgoing; Wed, 8 Oct 1997 23:18:49 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA11573 for ; Wed, 8 Oct 1997 23:18:45 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id PAA11977; Thu, 9 Oct 1997 15:48:32 +0930 (CST) Message-ID: <19971009154831.12840@lemis.com> Date: Thu, 9 Oct 1997 15:48:31 +0930 From: Greg Lehey To: xiyuan qian Cc: freebsd-isp@FreeBSD.ORG Subject: Re: maximum file descriptors? References: <199710091337.NAA18634@npc.haplink.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <199710091337.NAA18634@npc.haplink.com.cn>; from xiyuan qian on Thu, Oct 09, 1997 at 01:37:52PM +0000 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Oct 09, 1997 at 01:37:52PM +0000, xiyuan qian wrote: > Hi, Here I have a MUD game running on FreeBSD, when there are more than 59 > users connected in, it will get an error message with appending to a log > file. The source code is as followings: > > if (( fopen(fname,"a") == NULL){ > fprintf(stderr,"Error opening logfile\n") > } What's the error message? Greg