updatesearchindex.php - php script interpreter stops

Author Message

Anja Lundin

Tuesday 03 April 2007 12:05:57 am

Hi!
I have a database with lots of information and I need to run the script: updatesearchindex.php to re-indexing objects. The searching doesn't work like it should after the latest upgade and therefore I thought I'd run the updatesearchindex.php again....

When I try to do this the php script interpreter stops at 63.15 %. It's the same procent everytime. I get no error messages from the script. PHP Script Interpreter just stops and the process dies... I've tried to use cli in different PHP versions (4.3.1, 4.4.1 and 4.4.6) but it always stops at 63.15%.....

The database is huge. 63.15% takes at least one hour to reach. Current eZ publish version is 3.8.0, but the database has been updated several times:
1. from eZ publish 3.3 to 3.4.2
2. from eZ publish 3.4.2 to 3.4.4
3. from eZ publish 3.4.4 to 3.8.0

I've also tried to use the Update search index Segfaulting fix: http://lists.ez.no/pipermail/sdk-public/2006-November/002463.html but it doesn't work either. I'm not sure my problem has anything to do with that fix... I don't get the error message about segmentation fault.

Does anyone have a clue what the problem can be?

Thanks in advance!

Best regards!
/Anja Bjerleus, Novitell AB

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Brookins Consulting

Saturday 14 April 2007 7:58:23 am

Greetings Anja!

Brookins Consulting has recently released a new eZ Publish extension which provides scripts which will successfully index your eZ publish content objects without errors via an alternative replacement for the stock eZ publish search index update shell scripts.

Project, <i>http://projects.ez.no/updatesearchindex</i>
Release News, <i>http://projects.ez.no/updatesearchindex/news/updatesearchindex_extension_0_0_1_released</i>
Download extension, <i>http://projects.ez.no/content/download/757/2989/version/2/file/updatesearchindex-0_0_1.tar.gz</i>

Feel free to ask further questions about this solution within the project forum, <i>http://projects.ez.no/updatesearchindex/forum/general/updatesearchindex_forum#msg451</i>

eZ Partner | North American Experience
http://brookinsconsulting.com/experience

Anja Lundin

Tuesday 17 April 2007 11:09:11 pm

Hi Brookins Consulting,
The solution you presented above was of great help for us. It solved our problems and we successfully completed the search indexing.

I really recommend this solution to others with similar problems!

Thank you very much for providing this extension!

Best regards!
Anja Bjerleus, Novitell AB

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

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 04:18:36
Script start
Timing: Jan 18 2025 04:18:36
Module start 'layout'
Timing: Jan 18 2025 04:18:36
Module start 'content'
Timing: Jan 18 2025 04:18:37
Module end 'content'
Timing: Jan 18 2025 04:18:37
Script end

Main resources:

Total runtime1.2676 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.0469152.6406
Module start 'layout' 0.00560.0033 740.687539.4922
Module start 'content' 0.00901.2574 780.1797553.4766
Module end 'content' 1.26640.0011 1,333.656312.1250
Script end 1.2675  1,345.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2639160.0002
Check MTime0.00140.1125160.0001
Mysql Total
Database connection0.00060.047310.0006
Mysqli_queries1.210895.5237570.0212
Looping result0.00060.0501550.0000
Template Total1.235697.520.6178
Template load0.00210.165220.0010
Template processing1.233597.308220.6167
Template load and register function0.00010.008310.0001
states
state_id_array0.00120.092510.0012
state_identifier_array0.00180.143120.0009
Override
Cache load0.00170.1310320.0001
Sytem overhead
Fetch class attribute can translate value0.00090.071820.0005
Fetch class attribute name0.00240.186850.0005
XML
Image XML parsing0.00220.174320.0011
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00180.1402220.0001
String conversion0.00000.000940.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs