Author: bpapez
Date: Thu Sep 13 15:30:34 2007
New Revision: 18433
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18433&repname=
=3Djahia
Log:
Better default values for the server overload handling
Modified:
branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/settings/SettingsB=
ean.java
branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/WEB-INF/etc/config/jahia.s=
keleton
Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/settings/Set=
tingsBean.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/core/src/java/org/jahia/settings/SettingsBean.java&rev=3D18433&repn=
ame=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/settings/SettingsB=
ean.java (original)
+++ branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/settings/SettingsB=
ean.java Thu Sep 13 15:30:34 2007
@@ -365,11 +365,11 @@
private int searchMaxHitsByPage =3D 10;
=
// Core engine page generation queue configuration parameters
- private int maxParallelProcessings =3D 10;
- private long pageGenerationWaitTime =3D 120000; // in milliseconds
- private long pageGenerationWaitTimeOnStartup =3D 0; // in milliseconds
+ private int maxParallelProcessings =3D 40;
+ private long pageGenerationWaitTime =3D 30000; // in milliseconds
+ private long pageGenerationWaitTimeOnStartup =3D 10000; // in millisec=
onds
private int suggestedRetryTimeAfterTimeout =3D 60; // in seconds
- private int suggestedRetryTimeAfterTimeoutOnStartup =3D 10; // in seco=
nds
+ private int suggestedRetryTimeAfterTimeoutOnStartup =3D 15; // in seco=
nds
=
private int editModeSessionTimeout =3D 2*60*60; // 2 hours
=
Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/WEB-INF/etc/config/j=
ahia.skeleton
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/core/src/webapp/WEB-INF/etc/config/jahia.skeleton&rev=3D18433&repna=
me=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/WEB-INF/etc/config/jahia.s=
keleton (original)
+++ branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/WEB-INF/etc/config/jahia.s=
keleton Thu Sep 13 15:30:34 2007
@@ -525,10 +525,10 @@
#
# This variable controls how many threads are allowed to do heavy weight =
# processing (page creation not served from the cache)
-maxParallelProcessings =3D 10
+maxParallelProcessings =3D 40
# This variable controls how long threads are waiting to be able to start
# generating pages in heavy load situations (value in milliseconds)
-pageGenerationWaitTime =3D 120000
+pageGenerationWaitTime =3D 30000
# This variable controls the setting of the HTTP Retry-After header, which=
is sent
# back to the client with a HTTP status code 503 (Service temporarily unav=
ailable). =
# It could be used also to trigger an automatic reload (value in seconds).
@@ -536,7 +536,7 @@
# This variable controls how long threads are waiting to be able to start
# generating pages, when load is coming during server startup =
# (value in milliseconds)
-pageGenerationWaitTimeOnStartup =3D 0
+pageGenerationWaitTimeOnStartup =3D 10000
# This variable controls the setting of the HTTP Retry-After header, which=
is sent
# back to the client with a HTTP status code 503 (Service temporarily unav=
ailable), =
# when it was triggered during server startup. It could be used also to tr=
igger =
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list