Forums / Extensions / eZ Find / Avoiding problems using Tomcat at high-load indexes

Avoiding problems using Tomcat at high-load indexes

Author Message

Jens Görisch

Wednesday 22 July 2009 10:24:25 am

Hello,

as the title may already suggest, I'm interested in using eZ Find (i.e. Solr) with a Tomcat servlet container.

The reason for this are problems, when running the default setting (with Jetty).

We have an index with overall more than 100k documents. After some time running, the Solr server runs into troubles. It doesn't update the index anymore (apparently COMMIT doesn't work) and a look into the log files reveals, that logging was stopped abruptly (i.e. the last log entry is incomplete). Also some compiled servlets are missing (e.g. <i>/solr/admin/registry.jsp</i>) and an exception is thrown, when the respective page is accessed.

All this sounds for me like it is caused by the container. Now I'm very curious, if perhaps this happened to anyone else and thus about your experiences with such kind of behaviour. Also I would like to know, if you could make improvements by using tomcat (or perhaps another servlet container).

Thanks in advance

Jens Görisch

eZ debug

Timing: Jan 18 2025 02:56:03
Script start
Timing: Jan 18 2025 02:56:03
Module start 'content'
Timing: Jan 18 2025 02:56:04
Module end 'content'
Timing: Jan 18 2025 02:56:04
Script end

Main resources:

Total runtime0.4820 sec
Peak memory usage4,096.0000 KB
Database Queries49

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 587.9844180.7578
Module start 'content' 0.00720.4695 768.7422407.3672
Module end 'content' 0.47660.0053 1,176.109442.0469
Script end 0.4820  1,218.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.5964140.0002
Check MTime0.00130.2712140.0001
Mysql Total
Database connection0.00100.210810.0010
Mysqli_queries0.449593.2448490.0092
Looping result0.00040.0928470.0000
Template Total0.454294.220.2271
Template load0.00190.392920.0009
Template processing0.452393.830820.2261
Template load and register function0.00020.045910.0002
states
state_id_array0.00080.168310.0008
state_identifier_array0.00080.172020.0004
Override
Cache load0.00150.3135100.0002
Sytem overhead
Fetch class attribute can translate value0.00070.153710.0007
Fetch class attribute name0.00080.168510.0008
XML
Image XML parsing0.00010.021010.0001
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00200.4150120.0002
String conversion0.00000.001230.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs