Failed to steal lock for file... error

Author Message

Piotrek Karaƛ

Wednesday 04 June 2008 5:41:25 am

On one of our sites we've just had the following error:

Failed to steal lock for file var/vardir/cache/content/siteaccess/2-f4fbbcc3e88c36b92d3c37477f9e7a9b.cache from PID 24337

How do I handle that and what could be the problem?

Thanks!

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Bruce Morrison

Wednesday 04 June 2008 6:12:55 am

Hi Piotrek

The var directory isn't on an NFS or network mounted partition is it?

Could be related to http://issues.ez.no/IssueView.php?Id=12764&activeItem=36

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Sander van den Akker

Friday 06 June 2008 7:49:56 am

I have the same problem on some of my sites, when running runcronjobs.php on eZ 4.0. Didn't find the cause yet.

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

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 04:29:04
Script start
Timing: Jan 19 2025 04:29:04
Module start 'layout'
Timing: Jan 19 2025 04:29:04
Module start 'content'
Timing: Jan 19 2025 04:29:06
Module end 'content'
Timing: Jan 19 2025 04:29:06
Script end

Main resources:

Total runtime1.6730 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 590.6094152.6250
Module start 'layout' 0.00580.0035 743.234439.4453
Module start 'content' 0.00921.6622 782.6797583.0547
Module end 'content' 1.67150.0015 1,365.734412.1563
Script end 1.6730  1,377.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2065160.0002
Check MTime0.00150.0904160.0001
Mysql Total
Database connection0.00090.055910.0009
Mysqli_queries1.621096.8927590.0275
Looping result0.00060.0376570.0000
Template Total1.626097.220.8130
Template load0.00220.132620.0011
Template processing1.623897.059620.8119
Template load and register function0.00010.006810.0001
states
state_id_array0.00100.060710.0010
state_identifier_array0.00200.121220.0010
Override
Cache load0.00200.1212180.0001
Sytem overhead
Fetch class attribute can translate value0.00040.025130.0001
Fetch class attribute name0.00100.060460.0002
XML
Image XML parsing0.00150.090730.0005
class_abstraction
Instantiating content class attribute0.00000.000560.0000
General
dbfile0.00190.1152300.0001
String conversion0.00000.001440.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/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: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs