From owner-freebsd-isp Thu Oct 9 02:07:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA18732 for isp-outgoing; Thu, 9 Oct 1997 02:07:00 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from npc.haplink.com.cn ([202.96.192.53]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA18707 for ; Thu, 9 Oct 1997 02:06:49 -0700 (PDT) (envelope-from xiyuan@npc.haplink.com.cn) Received: (from xiyuan@localhost) by npc.haplink.com.cn (8.8.4/8.6.9) id RAA20239; Thu, 9 Oct 1997 17:15:07 GMT Date: Thu, 9 Oct 1997 17:15:07 GMT From: xiyuan qian Message-Id: <199710091715.RAA20239@npc.haplink.com.cn> To: grog@lemis.com Subject: Re: maximum file descriptors? Cc: freebsd-isp@freebsd.org Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Try ulimit: > > ulimit -n 100 > > This should give you 100 open descriptors. ulimit -a will probably > show that you have only 64 at the moment. > > Alternatively, take a look at the man page for login.conf for a way of > setting the values from login. Hi, thanks a lot. When I login as root and enter the command limit openfiles unlimited the error message goes away. But how can I auto do that when my host turns up? Now, the host is running with 64M memory, how can I increase the maxinum openfiles limited? recompile the kernel and increase the MAXUSERS to a larger num? Best regaurds! --xiyuan