2012/1/8 Eric Wong <[email protected]>: > 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. > >
Since they're sockets, it could be either the database connections or the HTTP connections, right? Is there some way you can insert a fake database layer to see if that makes your problem go away, to try and isolate the problem? Antoine > 在 2012-1-8,下午10:56, Brandon Allbery 写道: > > On Sun, Jan 8, 2012 at 09:50, Felipe Almeida Lessa <[email protected]> > 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 [email protected] > wandering unix systems administrator (available) (412) 475-9364 vm/sms > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > > > > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
