Crontab import xml stop ramdomly

Author Message

Florent Massiera

Monday 04 December 2006 7:56:16 am

Hello,

I'm using a crontab to make huge xml imports in ez.
My problem is the execution of the program called by the cron seems to stop randomly after a while.

Here is my command line :
php runcronjobs.php -d importXMLData

At the end, here is what I have (but the file was not entirely imported) :
Notice: (eZMySQLDB::query(0.000 ms) query number per page:0)
SET NAMES 'utf8'

Timing: ()
Script extension/importData/cronjobs/importXML.php starting

Script extension/importData/cronjobs/importXML.php starting 0.0000 sec
Total runtime: 921.3177 sec
Group ini_load:
Load cache: 1.4332 sec (0.1554%), 0.1194 avg sec (12)
FindInputFiles: 0.0170 sec (0.0018%), 0.0014 avg sec (12)
Parse: 1.2140 sec (0.1316%), 0.2023 avg sec (6)
Save Cache: 0.0898 sec (0.0097%), 0.0150 avg sec (6)
Group Mysql Total:
Mysql_queries: 338.1341 sec (36.6544%), 0.0013 avg sec (262748)
Looping result: 11.3984 sec (1.2356%), 0.0001 avg sec (138999)
Group TS translator:
TS init: 14.6806 sec (1.5914%), 14.6806 avg sec (1)
TS load: 3.5356 sec (0.3833%), 1.7678 avg sec (2)
TS store cache: 11.1394 sec (1.2075%), 11.1394 avg sec (1)
Group class_abstraction:
Instantiating content class attribute: 24.6982 sec (2.6773%), 0.0002 avg sec (126195)
Group Sytem overhead:
Fetch class attribute can translate value: 0.6301 sec (0.0683%), 0.0003 avg sec (2384)
Group XML:
Image XML parsing: 21.0355 sec (2.2803%), 0.0176 avg sec (1192)
Group :
Check cache: 52.2444 sec (5.6634%), 0.0439 avg sec (1191)
Node cleanup: 15.4991 sec (1.6801%), 0.0130 avg sec (1191)
Generating view cache: 0.0861 sec (0.0093%), 0.0001 avg sec (1191)
Group Search Total:
remove object: 1.0318 sec (0.1118%), 0.0009 avg sec (1191)
add object: 198.9108 sec (21.5623%), 0.1670 avg sec (1191)
Group General:
INI string conversion: 0.9658 sec (0.1047%), 0.0402 avg sec (24)
String conversion: 13.7814 sec (1.4939%), 0.0002 avg sec (67412)
String conversion w/ codepage: 0.9596 sec (0.1040%), 0.0480 avg sec (20)
dbfile: 0.2867 sec (0.0311%), 0.0001 avg sec (2383)
String conversion w/ UTF-8 to Unicode: 1.7568 sec (0.1904%), 0.0001 avg sec (20247)
String conversion w/ Unicode to UTF8: 1.5309 sec (0.1659%), 0.0001 avg sec (20247)

Total script time: 922.4936 sec

I hope someone can help me or giving me some clue about importing data in ez, in order to check all possibilities.

Thank you all

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

Main resources:

Total runtime0.0116 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.0038 588.1406151.2109
Module start 'layout' 0.00380.0023 739.351636.6484
Module start 'content' 0.00620.0042 776.000090.0469
Module end 'content' 0.01040.0012 866.046929.9922
Script end 0.0116  896.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.001916.0963140.0001
Check MTime0.00097.7636140.0001
Mysql Total
Database connection0.00065.348410.0006
Mysqli_queries0.002218.953730.0007
Looping result0.00000.077810.0000
Template Total0.00098.110.0009
Template load0.00076.380010.0007
Template processing0.00021.666110.0002
Override
Cache load0.00054.284010.0005
General
dbfile0.00119.266080.0001
String conversion0.00000.043040.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