[Haskell-cafe] "too many open files" using snap

Gregory Collins greg at gregorycollins.net
Mon Jan 9 07:29:40 CET 2012


2012/1/9 Eric Wong <wsysdu at gmail.com>

> 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.
>

CLOSE_WAIT indicates that the other side has closed its side of the
connection and the OS is waiting for you to close() the socket. At this
point I'd start looking at your database layer.

G
-- 
Gregory Collins <greg at gregorycollins.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120109/634658d7/attachment.htm>


More information about the Haskell-Cafe mailing list