Re: Leaked FDs

2009-11-12 Thread Jonathan Ellis
This is fixed in trunk and the 0.4 branch but did not make 0.4.2. On Thu, Nov 12, 2009 at 6:28 PM, elsif wrote: > Hello.  I am testing out Cassandra and ran out of file descriptors while > attempting to scan through the key space.  I have ~180 million unique > keys, 10 nodes, and a replication fa

RE: Leaked FDs

2009-11-12 Thread Freeman, Tim
-user@incubator.apache.org Subject: Re: Leaked FDs This is fixed in trunk and the 0.4 branch but did not make 0.4.2. On Thu, Nov 12, 2009 at 6:28 PM, elsif wrote: > Hello.  I am testing out Cassandra and ran out of file descriptors while > attempting to scan through the key space.  I have ~180 million unique

Re: Leaked FDs

2009-11-13 Thread elsif
I am running a version compiled from the trunk (835077) that I checked out yesterday with 'svn checkout http://svn.apache.org/repos/asf/incubator/cassandra/trunk cassandra-trunk'. Jonathan Ellis wrote: > This is fixed in trunk and the 0.4 branch but did not make 0.4.2. > >

Re: Leaked FDs

2009-11-13 Thread elsif
I did some more testing on this. The file descriptor leaks do not occur on a single node configuration under 0.4.2 or trunk. The leaks do occur when you have at least two nodes. I was able to reproduce this with just 220,000 keys on both 0.4.2 and trunk.

Re: Leaked FDs

2009-11-13 Thread Jonathan Ellis
what operations are you doing? On Fri, Nov 13, 2009 at 1:15 PM, elsif wrote: > I did some more testing on this.  The file descriptor leaks do not occur > on a single node configuration under 0.4.2 or trunk. > > The leaks do occur when you have at least two nodes.  I was able to > reproduce this w

Re: Leaked FDs

2009-11-13 Thread elsif
Here is my test program: public class CClient { public static void main(String[] args) throws TException, InvalidRequestException, UnavailableException, UnsupportedEncodingException, NotFoundException { TTransport tr = new TSocket("localhost", 9160); TProtocol proto =

Re: Leaked FDs

2009-11-13 Thread Jonathan Ellis
can you try the patch on https://issues.apache.org/jira/browse/CASSANDRA-552 against trunk? thanks, -Jonathan On Fri, Nov 13, 2009 at 1:33 PM, elsif wrote: > Here is my test program: > > public class CClient > > { >    public static void main(String[] args) >    throws TException, InvalidReques

Re: Leaked FDs

2009-11-13 Thread elsif
Wow, that was fast! The patch fixes the problem. Thanks, elsif Jonathan Ellis wrote: > can you try the patch on > https://issues.apache.org/jira/browse/CASSANDRA-552 against trunk? > > thanks, > > -Jonathan > >

Re: Leaked FDs

2009-11-13 Thread Jonathan Ellis
can you leave a comment on jira to that effect? On Fri, Nov 13, 2009 at 2:25 PM, elsif wrote: > Wow, that was fast!  The patch fixes the problem. > > Thanks, > elsif > > Jonathan Ellis wrote: >> can you try the patch on >> https://issues.apache.org/jira/browse/CASSANDRA-552 against trunk? >> >> t