[ https://issues.apache.org/jira/browse/SOLR-6480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128327#comment-14128327 ]
Ugo Matrangolo commented on SOLR-6480: -------------------------------------- Saw first time the 'Too Many Open Files' while trying to fix the thousands of events spamming the /overseer/queue. All these events where triggering a 'try to ask a replica to recover' operations but they were so much that in the 60 secs of their timeout SOLR filled all the available connections. > Too Many Open files trying to ask a replica to recover > ------------------------------------------------------ > > Key: SOLR-6480 > URL: https://issues.apache.org/jira/browse/SOLR-6480 > Project: Solr > Issue Type: Bug > Affects Versions: 4.7.2 > Reporter: Ugo Matrangolo > Attachments: SOLR-6480.patch > > > After the DistributedUpdateProcessor tries to ask multiple times a replica to > recover it eventually starts to fail with the following error: > {code} > 2014-08-28 22:42:46,285 [updateExecutor-1-thread-2334] ERROR > org.apache.solr.update.processor.DistributedUpdateProcessor - > http://10.140.4.246:9765: Could not tell a replica to > recover:org.apache.solr.client.solrj.SolrServerException: IOException occured > when talking to server at: http://10.140.4.246:9765 > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:507) > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:199) > at > org.apache.solr.update.processor.DistributedUpdateProcessor$1.run(DistributedUpdateProcessor.java:685) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.net.SocketException: Too many open files > at java.net.Socket.createImpl(Socket.java:397) > at java.net.Socket.getImpl(Socket.java:460) > at java.net.Socket.setSoTimeout(Socket.java:1017) > at > org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:116) > at > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178) > at > org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) > at > org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610) > at > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445) > at > org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) > at > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:395) > ... 5 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org