[erlang-questions] About error enfile?

yaohui yaohui1984@REDACTED
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 <yaohui1984@REDACTED> 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 
 800000
 cat /proc/sys/fs/file-max 
 2215800 
  
 {error,enfile} is this error means other problem?

_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110517/294eef4e/attachment.htm>


More information about the erlang-questions mailing list