[erlang-questions] About error enfile?

yaohui <>
Tue May 17 08:32:13 CEST 2011

It's a problem 800000 < 1000K,  but connections are less than 540k 
 cat /proc/sys/fs/file-nr result
 416     0       4821388
  ulimit -n 800000? 
  800000 < 1000K. 
 Is this the problem?
 What about cat /proc/sys/fs/file-nr?

 On Tue, May 17, 2011 at 9:38 AM, yaohui <> wrote:
  I do a test C1000k, when connections reach to 540k, I got a error {badmatch,{error,enfile}}. 
 {error,enfile} this error represents the files tables is full (for the entire OS)
 but my kernel 
 ulimit -n 
 cat /proc/sys/fs/file-max 
 {error,enfile} is this error means other problem?

erlang-questions mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110517/294eef4e/attachment.html>

More information about the erlang-questions mailing list