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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:19:02
Script start
Timing: Jan 18 2025 10:19:02
Module start 'layout'
Timing: Jan 18 2025 10:19:02
Module start 'content'
Timing: Jan 18 2025 10:19:02
Module end 'content'
Timing: Jan 18 2025 10:19:02
Script end

Main resources:

Total runtime0.0176 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.1875152.6563
Module start 'layout' 0.00680.0041 740.843839.5078
Module start 'content' 0.01100.0050 780.351686.2422
Module end 'content' 0.01590.0017 866.593830.3047
Script end 0.0176  896.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.3199140.0002
Check MTime0.00137.3202140.0001
Mysql Total
Database connection0.00116.033210.0011
Mysqli_queries0.004022.803930.0013
Looping result0.00000.092010.0000
Template Total0.00137.610.0013
Template load0.00084.348310.0008
Template processing0.00063.189810.0006
Override
Cache load0.00052.736510.0005
General
dbfile0.00031.560480.0000
String conversion0.00000.040640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs