problem with runcronjobs.php (no output)!!

Author Message

Marko Žmak

Sunday 09 October 2005 4:04:15 am

I started runcronjobs.php like this:

php -d memory_limit=200M -C runcronjobs.php

and the script is just executing for a long time without any output. I know that is doing something because some objects waiting for approval were published, but there's no output from the sript and it's running way to long. I also tried runing it without -C flag:

php -d memory_limit=200M runcronjobs.php

but the effect is the same.

Can anyone help me with this one?

Im using:

eZ 3.6.1
PHP 4.3.10-16 (cli)

Thx in advance.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Sunday 09 October 2005 4:26:31 am

I did some debugging and gfound out that a large amount of time is required to run:

linkcheck.php

Is this script really so time consuming or there's something wrong with my sistem?

P.S. When I disable the linkcheck.php script in cronjob.ini.append.php then everything works O.K.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Arran Price

Sunday 09 October 2005 3:51:36 pm

Hi Marko,
just guessing here, but if you have an large number of links on your site then it might be slow. The other reason is that it might not have access to check the links and could be timing out (script needs access to the internet which is disabled by firewall for instance?). I havent checked the script to see if it handles that situation well.

Arran

Marko Žmak

Tuesday 11 October 2005 11:03:10 pm

Is there any way I could se some debug infp for this script? Or maybe some progres indicator, to see where is stuck?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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

Main resources:

Total runtime0.7501 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.2734152.6406
Module start 'layout' 0.00700.0031 741.914139.4766
Module start 'content' 0.01010.7386 781.3906550.7422
Module end 'content' 0.74880.0013 1,332.132812.1250
Script end 0.7501  1,344.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.6124160.0003
Check MTime0.00140.1855160.0001
Mysql Total
Database connection0.00070.094110.0007
Mysqli_queries0.698493.0952600.0116
Looping result0.00050.0655580.0000
Template Total0.720496.020.3602
Template load0.00210.276220.0010
Template processing0.718395.754620.3592
Template load and register function0.00010.014010.0001
states
state_id_array0.00070.098010.0007
state_identifier_array0.00100.138820.0005
Override
Cache load0.00180.2371270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.082720.0003
Fetch class attribute name0.00100.133250.0002
XML
Image XML parsing0.00060.078520.0003
class_abstraction
Instantiating content class attribute0.00000.004970.0000
General
dbfile0.00070.0969180.0000
String conversion0.00000.001540.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs