lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (SOLR-6146) Leak in CloudSolrServer causing "Too many open files"
Date Tue, 10 Jun 2014 12:40:02 GMT


ASF subversion and git services commented on SOLR-6146:

Commit 1601622 from in branch 'dev/branches/branch_4x'
[ ]

SOLR-6146: Incorrect configuration such as wrong chroot in zk server address can cause CloudSolrServer
to leak resources

> Leak in CloudSolrServer causing "Too many open files"
> -----------------------------------------------------
>                 Key: SOLR-6146
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java, SolrCloud
>    Affects Versions: 4.7
>            Reporter: Jessica Cheng
>            Assignee: Shalin Shekhar Mangar
>              Labels: solrcloud, solrj
>         Attachments: SOLR-6146.patch, SOLR-6146.patch, SOLR-6146.patch, SOLR-6146.patch
> Due to a misconfiguration in one of our QA clusters, we uncovered a leak in CloudSolrServer.
If this line throws:
> then the instantiated ZkStateReader is leaked.
> Here's the stacktrace of the Exception (we're using a custom build so the line numbers
won't quite match up, but it gives the idea):
> at org.apache.solr.client.solrj.impl.CloudSolrServer.connect(
at org.apache.solr.client.solrj.impl.CloudSolrServer.requestWithRetryOnStaleState(
at org.apache.solr.client.solrj.impl.CloudSolrServer.request( at
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$
at Caused by: org.apache.zookeeper.KeeperException$NoNodeException:
KeeperErrorCode = NoNode for /live_nodes at org.apache.zookeeper.KeeperException.create(
at org.apache.zookeeper.KeeperException.create( at org.apache.zookeeper.ZooKeeper.getChildren(
at$6.execute( at$6.execute(
at at
at org.apache.solr.client.solrj.impl.CloudSolrServer.createZkStateReader(
at org.apache.solr.client.solrj.impl.CloudSolrServer.connect( ...
10 more

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message