From 4c84930245835d28abde00608ac0f7f76ca7bb0b Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Thu, 20 Jan 2011 14:35:38 +0000
Subject: [PATCH] adjust eepsite thread limits

---
 installer/resources/jetty.xml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/installer/resources/jetty.xml b/installer/resources/jetty.xml
index 29900cb6b0..f6b135c3d2 100644
--- a/installer/resources/jetty.xml
+++ b/installer/resources/jetty.xml
@@ -12,7 +12,9 @@
 <!--           been patched to allow IPv6 addresses as well,                   -->
 <!--           enclosed in brackets e.g. [::1]                                 -->
 <!--   * port: Default 7658 in the addListener section                         -->
-<!--   * threads: Raise MaxThreads in the addListener section                  -->
+<!--   * docroot: Change the ResourceBase in the addContext section            -->
+<!--           to serve files from a different location.                       -->
+<!--   * threads: Raise MinThreads and/or MaxThreads in the addListener section -->
 <!--           if you have a high-traffic site and get a lot of warnings.      -->
 <!--   * Uncomment the addWebApplications section to use to enable             -->
 <!--           war files placed in the webapps/ dir.                           -->
@@ -23,7 +25,7 @@
 <!-- found in Jetty 5, you may install and run Jetty 6 in a different JVM,     -->
 <!-- or run any other web server such as Apache. If you do run another         -->
 <!-- web server instead, be sure and disable the Jetty 5 server for your       -->
-<!-- eepsite on http://127.0.0.1/configclients.jsp .                           -->
+<!-- eepsite on http://127.0.0.1:7657/configclients.jsp .                      -->
 <!--                                                                           -->
 <!-- Jetty errors and warnings will appear in wrapper.log, check there         -->
 <!-- to diagnose problems.                                                     -->
@@ -57,8 +59,8 @@
             <Set name="port">7658</Set>
           </New>
         </Arg>
-        <Set name="MinThreads">3</Set>
-        <Set name="MaxThreads">10</Set>
+        <Set name="MinThreads">1</Set>
+        <Set name="MaxThreads">16</Set>
         <Set name="MaxIdleTimeMs">60000</Set>
         <Set name="LowResourcePersistTimeMs">1000</Set>
         <Set name="ConfidentialPort">8443</Set>
-- 
GitLab