cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Conway (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1188) multiget_slice calls do not close files resulting in file descriptor leak
Date Mon, 14 Jun 2010 19:49:15 GMT

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

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

I wasn't really watching it while it was running, just checking the count of open files after.

No idea about memmapped IO in OS X, I didn't explicitly set anything up w.r.t. it anyway...



> 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.


Mime
View raw message