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

Eric Wong wsysdu at gmail.com
Mon Jan 9 08:17:33 CET 2012

Forget to mention it, I am using HTTPS to serve all the APIs. And int the error.log file, I got lots of ConnectionAbruptlyTerminated exceptions, which I think is defined in OpenSSL.

在 2012-1-9,下午2:48, Gregory Collins 写道:

> 2012/1/9 Eric Wong <wsysdu at gmail.com>
> Yes, I know it's not related to the static files now. But do I have to close socket in snap monad? Shouldn't it be closed by snap-server? 
> Without knowing what your code looks like one way or the other, it's hard to tell. Snap does close the sockets it opens, of course.
> G
> -- 
> Gregory Collins <greg at gregorycollins.net>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120109/2dd705ec/attachment.htm>

More information about the Haskell-Cafe mailing list