Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 59322 invoked from network); 1 Nov 2010 16:03:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Nov 2010 16:03:15 -0000 Received: (qmail 27954 invoked by uid 500); 1 Nov 2010 16:03:46 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 27886 invoked by uid 500); 1 Nov 2010 16:03:46 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 27879 invoked by uid 99); 1 Nov 2010 16:03:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 16:03:45 +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, 01 Nov 2010 16:03:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA1G3OE5014003 for ; Mon, 1 Nov 2010 16:03:25 GMT Message-ID: <10259132.175151288627404789.JavaMail.jira@thor> Date: Mon, 1 Nov 2010 12:03:24 -0400 (EDT) From: "Kevan Miller (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-5668) Use fewer acceptor threads for Jetty In-Reply-To: <5801149.118241288256765327.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927022#action_12927022 ] Kevan Miller commented on GERONIMO-5668: ---------------------------------------- Nice. Is there an outlook for Jetty 7.2.1 release? We're getting pretty close to a G 2.2.1 release, I think. Would be great to see this problem fixed in 2.2.1, but would hate to see a Jetty release holding up the 2.2.1 release... Trygve, many thanks for tracking this issue down! > Use fewer acceptor threads for Jetty > ------------------------------------ > > Key: GERONIMO-5668 > URL: https://issues.apache.org/jira/browse/GERONIMO-5668 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: Jetty > Affects Versions: 2.2.1 > Environment: Only tested on OS X 1.6 with Java 1.6 > Reporter: Trygve Sanne Hardersen > Attachments: geronimo-2.2-1027647-jetty-acceptors.patch, geronimo-2.2-1028765-jetty-trunk.patch > > > Geronimo applies the maxThreads parameter as the number of acceptor threads in Jetty, with a default value of 50. With newer versions (7.2.0) of Jetty this gives the following warning during startup: > # Acceptors should be <=2*availableProcessors > Server shutdowns are also very slow, it takes about 1 second to stop each acceptor thread. > The attached patch sets the number of acceptor threads to 2 per connector (HTTP, HTTPS and AJP), and exposes this and the acceptor queue size (50) as a parameter in config-substitutions.properties. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.