You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Matt Conway (JIRA)" <ji...@apache.org> on 2010/06/14 19:45:15 UTC

[jira] Commented: (CASSANDRA-1188) multiget_slice calls do not close files resulting in file descriptor leak

    [ https://issues.apache.org/jira/browse/CASSANDRA-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878656#action_12878656 ] 

Matt Conway commented on CASSANDRA-1188:
----------------------------------------

I ran my tests against this patch and they pass, looks like this cleared up the leak.  Thanks! 

BTW, oddly enough, my tests never fail (i.e. lsof never balloons up) on OS X even before the fix for CASSANDRA-1178, any ideas why that might be?  I'm guessing implementation details of GC or underlying OS are to blame, but don't know enough to say for sure.  Not important, just curious.


> multiget_slice calls do not close files resulting in file descriptor leak
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1188
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1188
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>         Environment: Ubuntu 10.04
>            Reporter: Matt Conway
>            Assignee: Matthew F. Dennis
>            Priority: Critical
>             Fix For: 0.7
>
>         Attachments: 0001-trunk-1188.patch
>
>
> Insert  1000 rows into a super column family. Read them back in a loop using multiget_slice. Note leaked file descriptors with lsof:
> lsof -p `ps ax | grep [C]assandraDaemon | awk '{print $1}'` | awk '{print $9}' | sort | uniq -c | sort -n | tail -n 5
> Looks like SSTableNamesIterator is never closing the files it creates via the sstable ...?
> This is similar to CASSANDRA-1178 except for use of multiget_slice instead of get_slice

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.