incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Grossman <richie...@gmail.com>
Subject Re: MultiThread Client problem with thrift
Date Tue, 22 Dec 2009 11:17:39 GMT
Hi

To all is interesting I've found a solution seems not recommended but
working.
When opening a Socket set this:
    tSocket.getSocket().setReuseAddress(true);
    tSocket.getSocket().setSoLinger(true, 0);

it's prevent to have a lot of connection TIME_WAIT state but not
recommended.

Mime
View raw message