Forums / Developer / Crontab import xml stop ramdomly

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

eZ debug

Timing: Jan 31 2025 01:23:28
Script start
Timing: Jan 31 2025 01:23:28
Module start 'content'
Timing: Jan 31 2025 01:23:28
Module end 'content'
Timing: Jan 31 2025 01:23:28
Script end

Main resources:

Total runtime0.1961 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9375370.2891
Module start 'content' 0.00650.0121 958.22661,001.4219
Module end 'content' 0.01860.1774 1,959.64843,896.9609
Script end 0.1960  5,856.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.2951200.0002
Check MTime0.00130.6571200.0001
Mysql Total
Database connection0.00080.408010.0008
Mysqli_queries0.100051.00291410.0007
Looping result0.00130.67321390.0000
Template Total0.177090.310.1770
Template load0.00080.409610.0008
Template processing0.176289.866610.1762
Override
Cache load0.00050.272410.0005
Sytem overhead
Fetch class attribute can translate value0.00241.206810.0024
XML
Image XML parsing0.00030.139210.0003
General
dbfile0.00653.2946200.0003
String conversion0.00000.001930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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