Cleanup of ezsession table, cronjobs.php

Author Message

Jean-Luc Nguyen

Tuesday 19 May 2009 3:09:54 am

Hello,

I know that on old eZ versions 3.X, there was an extension to remove expired sessions on ezsession tables.

On new eZ 4.X versions, how is it working?
Do I have to pass a parameter to cronjobs.php on my crontab? Do I have to modify cronjob.ini? Is it included by default?

Thanks a lot!

http://www.acidre.com

Ivo Lukac

Tuesday 19 May 2009 3:39:14 am

Hi Jean-Luc

We are using this:
php update/common/scripts/cleanup.php expired_session

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Jean-Luc Nguyen

Tuesday 19 May 2009 4:50:45 am

Yes, I saw that in:

http://issues.ez.no/10431
http://ez.no/developer/contribs/cronjobs/session_cleanup

Thanks anyway!

http://www.acidre.com

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

Main resources:

Total runtime0.8663 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.0547152.6406
Module start 'layout' 0.00490.0037 740.695339.4766
Module start 'content' 0.00850.8561 780.1719543.2813
Module end 'content' 0.86460.0016 1,323.453112.4375
Script end 0.8662  1,335.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3844160.0002
Check MTime0.00130.1518160.0001
Mysql Total
Database connection0.00070.084510.0007
Mysqli_queries0.813693.9202570.0143
Looping result0.00060.0694550.0000
Template Total0.831696.020.4158
Template load0.00180.210320.0009
Template processing0.829895.788220.4149
Template load and register function0.00010.016310.0001
states
state_id_array0.00080.089310.0008
state_identifier_array0.00250.285720.0012
Override
Cache load0.00150.1727200.0001
Sytem overhead
Fetch class attribute can translate value0.00080.092020.0004
Fetch class attribute name0.00140.158550.0003
XML
Image XML parsing0.00250.292220.0013
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00260.3003230.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
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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs