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?
在 2012-1-9,下午2:29, Gregory Collins 写道: > 2012/1/9 Eric Wong <wsy...@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 <g...@gregorycollins.net>
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe