dims 01/08/03 04:10:14 Modified: webapp cocoon.xconf sitemap.xmap Log: Follow Stuart's advice to add pool-max, pool-min, pool-grow to a few components to illustrate how this could be done. Revision Changes Path 1.26 +4 -2 xml-cocoon2/webapp/cocoon.xconf Index: cocoon.xconf =================================================================== RCS file: /home/cvs/xml-cocoon2/webapp/cocoon.xconf,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- cocoon.xconf 2001/07/27 13:04:15 1.25 +++ cocoon.xconf 2001/08/03 11:10:13 1.26 @@ -234,7 +234,8 @@ or connects a EventPipeline with a Serializer and let them produce the character stream. --> - <stream-pipeline class="org.apache.cocoon.components.pipeline.CachingStreamPipeline"/> + <stream-pipeline class="org.apache.cocoon.components.pipeline.CachingStreamPipeline" + pool-max="32" pool-min="16" pool-grow="4"/> <!-- Caching of stream pipeline: freememory: Indicates how much memory should be left free in the @@ -268,7 +269,8 @@ <event-pipeline class="org.apache.cocoon.components.profiler.ProfilingCachingEventPipeline"/> <event-pipeline class="org.apache.cocoon.components.profiler.ProfilingNonCachingEventPipeline"/> --> - <event-pipeline class="org.apache.cocoon.components.pipeline.CachingEventPipeline"/> + <event-pipeline class="org.apache.cocoon.components.pipeline.CachingEventPipeline" + pool-max="32" pool-min="16" pool-grow="4"/> <!-- Caching of event pipeline: freememory: Indicates how much memory should be left free in the 1.42 +6 -3 xml-cocoon2/webapp/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/webapp/sitemap.xmap,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- sitemap.xmap 2001/07/23 02:30:43 1.41 +++ sitemap.xmap 2001/08/03 11:10:13 1.42 @@ -7,7 +7,8 @@ <map:components> <map:generators default="file"> - <map:generator name="file" src="org.apache.cocoon.generation.FileGenerator" label="content"/> + <map:generator name="file" src="org.apache.cocoon.generation.FileGenerator" label="content" + pool-max="32" pool-min="16" pool-grow="4"/> <map:generator name="directory" src="org.apache.cocoon.generation.DirectoryGenerator" label="content"/> <map:generator name="imagedirectory" src="org.apache.cocoon.generation.ImageDirectoryGenerator" label="content"/> <map:generator name="serverpages" src="org.apache.cocoon.generation.ServerPagesGenerator" label="content"/> @@ -21,7 +22,8 @@ </map:generators> <map:transformers default="xslt"> - <map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"> + <map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer" + pool-max="32" pool-min="16" pool-grow="4"> <use-store>true</use-store> <use-request-parameters>false</use-request-parameters> <use-browser-capabilities-db>false</use-browser-capabilities-db> @@ -46,7 +48,8 @@ <map:serializers default="html"> <map:serializer name="links" src="org.apache.cocoon.serialization.LinkSerializer"/> - <map:serializer name="xml" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer"/> + <map:serializer name="xml" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer" + pool-max="32" pool-min="16" pool-grow="4"/> <map:serializer name="html" mime-type="text/html" src="org.apache.cocoon.serialization.HTMLSerializer"/> <map:serializer name="vrml" mime-type="model/vrml" src="org.apache.cocoon.serialization.TextSerializer"/> <map:serializer name="wap" mime-type="text/vnd.wap.wml" src="org.apache.cocoon.serialization.XMLSerializer"> ---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]