Cronjob part locked by other process

Author Message

Célian VEYSSIÈRE

Friday 12 February 2010 6:49:15 am

Hello,

I have a problem with the Cronjob and I can not find what can be blocked.

What can block ?

Running cronjobs/workflow.php
Cronjob part locked by other process: 15154

Running cronjobs/unpublish.php

Running cronjobs/rssimport.php
Cronjob part locked by other process: 13963

Running cronjobs/indexcontent.php
Starting processing pending search engine modifications
Done

Running cronjobs/hide.php
Cronjob part locked by other process: 13963

Running cronjobs/subtreeexpirycleanup.php

Running cronjobs/internal_drafts_cleanup.php
Cleaning up internal drafts...
Erreur de segmentation

in the log :

 Fri Feb 12 14:50:01 CET 2010
Running cronjob part 'workflow'
Running cronjobs/workflow.php
Cronjob part locked by other process: 28904
Fri Feb 12 15:00:01 CET 2010
Running cronjob part 'workflow'
Running cronjobs/workflow.php
Cronjob part locked by other process: 1705
Fri Feb 12 15:10:01 CET 2010
Running cronjob part 'workflow'
Running cronjobs/workflow.php
Cronjob part locked by other process: 5486
Fri Feb 12 15:20:01 CET 2010
Running cronjob part 'workflow'
Running cronjobs/workflow.php
Cronjob part locked by other process: 10328
Fri Feb 12 15:30:01 CET 2010
Running cronjob part 'workflow'
Running cronjobs/workflow.php
Cronjob part locked by other process: 15154
Fri Feb 12 15:40:01 CET 2010
Running cronjob part 'workflow'
Running cronjobs/workflow.php
Checking for workflow processes
Status list
L'événement de processus de workflow est reporté à l'exécution de la commande cron(4): 8

0 out of 8 processes was finished

I don't found the reason of blocking.

Thank you in advance.

Gaetano Giunta

Friday 12 February 2010 7:43:14 am

The segfault in the 1st run of the cronjobs will leave some lock files pending.

Subsequent cronjob runs will not do anything for 24 hours. Then they will find the leftover lock files are too old and try to delete them. You can easily delete them by hand, they are in a subdir of var/siteaccess/cache.

Take care about the os users that run those cronjob; Sometimes you might run eg. the cronjobs as root, and leave a stale lock file that cannot be later removed when trying to run cronjobs as another user...

Principal Consultant International Business
Member of the Community Project Board

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:41:59
Script start
Timing: Jan 18 2025 10:41:59
Module start 'layout'
Timing: Jan 18 2025 10:41:59
Module start 'content'
Timing: Jan 18 2025 10:42:00
Module end 'content'
Timing: Jan 18 2025 10:42:00
Script end

Main resources:

Total runtime0.9907 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.0313152.6250
Module start 'layout' 0.00710.0042 741.656339.4609
Module start 'content' 0.01130.9777 781.1172526.2109
Module end 'content' 0.98910.0016 1,307.328112.1563
Script end 0.9907  1,319.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3468160.0002
Check MTime0.00140.1456160.0001
Mysql Total
Database connection0.00210.209410.0021
Mysqli_queries0.939394.8045540.0174
Looping result0.00070.0664520.0000
Template Total0.956196.520.4780
Template load0.00230.227920.0011
Template processing0.953896.269420.4769
Template load and register function0.00030.025910.0003
states
state_id_array0.00070.073910.0007
state_identifier_array0.00200.202820.0010
Override
Cache load0.00180.1824160.0001
Sytem overhead
Fetch class attribute can translate value0.00100.104620.0005
Fetch class attribute name0.00260.263830.0009
XML
Image XML parsing0.00080.084720.0004
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00080.0831160.0001
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs