thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Molinaro <>
Subject erlang server/client closing connections
Date Fri, 13 Aug 2010 05:22:54 GMT

  I'm trying to use pg2 to cache several thrift client connections so I
can spread load across them.  This seems to work great however, the
connections seem to go stale, I think the server is dropping them, however
looking through the thrift code is seems like keepalive is true, so I'm
not sure why this would be the case.

I start my server with


and the client processes are started with


The process stays alive fine on the client, but goes away after about
30 seconds or so on the server (probably less they seem to go away
quick).  Since the client is alive, when I do a call I get this


Is there anyway to keep this from happening?



Anthony Molinaro                           <>

View raw message