Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 53992 invoked from network); 15 Dec 2008 22:50:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 22:50:05 -0000 Received: (qmail 23776 invoked by uid 500); 15 Dec 2008 22:50:17 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 23734 invoked by uid 500); 15 Dec 2008 22:50:17 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 23723 invoked by uid 500); 15 Dec 2008 22:50:17 -0000 Delivered-To: apmail-incubator-couchdb-dev@incubator.apache.org Received: (qmail 23719 invoked by uid 99); 15 Dec 2008 22:50:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 14:50:17 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 22:50:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B3DA234C350 for ; Mon, 15 Dec 2008 14:49:44 -0800 (PST) Message-ID: <152284246.1229381384306.JavaMail.jira@brutus> Date: Mon, 15 Dec 2008 14:49:44 -0800 (PST) From: "Damien Katz (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Resolved: (COUCHDB-45) Error when concurrently hitting HTTP. Seems that it doesn't honor Connection: Close In-Reply-To: <2109037324.1209075562193.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damien Katz resolved COUCHDB-45. -------------------------------- Resolution: Fixed Fix Version/s: 0.9 Assignee: Damien Katz This might have been fixed by an earlier fix to mochiweb library dealing with closing http connections. I'm going to assume this was fixed too as well, but please reopen if the symptoms remain. > Error when concurrently hitting HTTP. Seems that it doesn't honor Connection: Close > ----------------------------------------------------------------------------------- > > Key: COUCHDB-45 > URL: https://issues.apache.org/jira/browse/COUCHDB-45 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Environment: linux > Reporter: Jeff Davey > Assignee: Damien Katz > Fix For: 0.9 > > > While doing some load testing against couch, i've noticed that it throws errors when sending concurrently with more than 40 threads. > I'm guessing that it's trying to send something back to the client after the socket has already been closed. I'm using Connection: Close in the headers on the http client. > {mochiweb_socket_server,221, > {child_error,{{case_clause,{error,enotconn}}, > [{mochiweb_request,get,2}, > {couch_httpd,handle_request,2}, > {mochiweb_http,headers,4}, > {proc_lib,init_p,5}]}}} > [error] [<0.4889.0>] {error_report, > <0.22.0>, > {<0.4889.0>, > crash_report, > [[{pid,<0.4889.0>}, > {registered_name,[]}, > {error_info, > {{case_clause,{error,enotconn}}, > [{mochiweb_request,get,2}, > {couch_httpd,handle_request,2}, > {mochiweb_http,headers,4}, > {proc_lib,init_p,5}]}}, > {initial_call, > {mochiweb_socket_server, > acceptor_loop, > [{<0.53.0>,#Port<0.125>,#Fun}]}}, > {ancestors,[couch_httpd,couch_server_sup,<0.1.0>]}, > {messages,[]}, > {links,[<0.53.0>,#Port<0.3453>]}, > {dictionary, > [{mochiweb_request_body, > <<"{ \"sender\" : \"bob\", \"recipient\" : \"test1\", \"flagNew\" : true }">>}]}, > {trap_exit,false}, > {status,running}, > {heap_size,6765}, > {stack_size,21}, > {reductions,5351}], > []]}} > [error] [<0.53.0>] {error_report, > <0.22.0>, > {<0.53.0>, > std_error, > {mochiweb_socket_server, > 221, > {child_error, > {{case_clause,{error,enotconn}}, > [{mochiweb_request,get,2}, > {couch_httpd,handle_request,2}, > {mochiweb_http,headers,4}, > {proc_lib,init_p,5}]}}}}} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.