Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 1997 13:37:52 GMT
From:      xiyuan qian <xiyuan@npc.haplink.com.cn>
To:        freebsd-isp@FreeBSD.org
Subject:   maximum file descriptors?
Message-ID:  <199710091337.NAA18634@npc.haplink.com.cn>

next in thread | raw e-mail | index | archive | help
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")
}

Is there a maximum file descriptors limited? If so, how can I change it?

My OS is FreeBSD2.1 and the memory is 16M.

Best regaurds!

--xiyuan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710091337.NAA18634>