[Haskell-cafe] "too many open files" using snap
Eric Wong
wsysdu at gmail.com
Mon Jan 9 01:51:03 CET 2012
I run both of these commands and found out that there're sockets leaking.
Most of them are TCP connections in CLOSE_WAIT state. There're also some socket with "can't identify protocol".
So, What's the problem? Is it related to the timeout in the server config? I'm using the default value.
在 2012-1-8,下午10:56, Brandon Allbery 写道:
> On Sun, Jan 8, 2012 at 09:50, Felipe Almeida Lessa <felipe.lessa at gmail.com> wrote:
> If you're on Linux, then you may
>
> $ ls -lah /proc/PID/fd
>
> to see where these open files are pointing to.
>
> And on other systems lsof can determine this information.
>
> $ lsof -p PID
>
> --
> brandon s allbery allbery.b at gmail.com
> wandering unix systems administrator (available) (412) 475-9364 vm/sms
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120109/2dfa141f/attachment.htm>
More information about the Haskell-Cafe
mailing list