Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 33274 invoked from network); 14 Jun 2010 14:38:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jun 2010 14:38:44 -0000 Received: (qmail 55939 invoked by uid 500); 14 Jun 2010 13:36:43 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 55747 invoked by uid 500); 14 Jun 2010 13:36:42 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 55737 invoked by uid 99); 14 Jun 2010 13:36:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jun 2010 13:36:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jun 2010 13:36:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5EDaHu8025549 for ; Mon, 14 Jun 2010 13:36:17 GMT Message-ID: <9545189.77911276522577522.JavaMail.jira@thor> Date: Mon, 14 Jun 2010 09:36:17 -0400 (EDT) From: "Karl Wright (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1951) extractingUpdateHandler doesn't close socket handles promptly, and indexing load tests eventually run out of resources In-Reply-To: <23480677.77811276522335091.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright updated SOLR-1951: ------------------------------ Attachment: solr-1951.zip This is the test code I'm using. > extractingUpdateHandler doesn't close socket handles promptly, and indexing load tests eventually run out of resources > ---------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-1951 > URL: https://issues.apache.org/jira/browse/SOLR-1951 > Project: Solr > Issue Type: Bug > Components: update > Affects Versions: 1.4.1, 1.5 > Environment: sun java > solr 1.5 build based on trunk > debian linux "lenny" > Reporter: Karl Wright > Attachments: solr-1951.zip > > > When multiple threads pound on extractingUpdateRequestHandler using multipart form posting over an extended period of time, I'm seeing a huge number of sockets piling up in the following state: > tcp6 0 0 127.0.0.1:8983 127.0.0.1:44058 TIME_WAIT > Despite the fact that the client can only have 10 sockets open at a time, huge numbers of sockets accumulate that are in this state: > root@duck6:~# netstat -an | fgrep :8983 | wc > 28223 169338 2257840 > root@duck6:~# > The sheer number of sockets lying around seems to eventually cause commons-fileupload to fail (silently - another bug) in creating a temporary file to contain the content data. This causes Solr to erroneously return a 400 code with "missing_content_data" or some such to the indexing poster. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org