This is very helpful, I found currently almost all of the open files are 
sockets. But it don't have that much traffic. So it seems it's leaking socket 
file descriptors. 

在 2012-1-8,下午10:50, Felipe Almeida Lessa 写道:

> On Sun, Jan 8, 2012 at 12:27 PM, Gregory Collins
> <[email protected]> wrote:
>> A "too many open files" error is usually due to running out of file
>> descriptors for network sockets. On my Linux machine the per-process limit
>> for file descriptors defaults to 1024, and on my Mac the default is 256. You
>> can see your current limit by running "ulimit -a" from the terminal.
> 
> If you're on Linux, then you may
> 
>  $ ls -lah /proc/PID/fd
> 
> to see where these open files are pointing to.
> 
> HTH,
> 
> -- 
> Felipe.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to