how to clean the var folder?

Author Message

Alessandro Cipriani

Tuesday 14 December 2004 6:25:35 am

hi all
i have a site in which a lot of files are uploaded.
But can happen that a 'File' object is deleted, while i think that the uploaded file isn't deleted, and the var folder increases enourmosly his dimension.
is there a way to detect the files not linked to an object in the db and delete them?

thanks a lot
alessandro

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

Main resources:

Total runtime0.9546 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.0313152.6406
Module start 'layout' 0.00530.0037 740.671939.4766
Module start 'content' 0.00890.9440 780.1484434.6250
Module end 'content' 0.95290.0016 1,214.77348.1484
Script end 0.9545  1,222.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3758160.0002
Check MTime0.00140.1514160.0001
Mysql Total
Database connection0.00070.074910.0007
Mysqli_queries0.899194.1892460.0195
Looping result0.00060.0576440.0000
Template Total0.917196.120.4585
Template load0.00210.224820.0011
Template processing0.914995.841520.4574
Template load and register function0.00020.022410.0002
states
state_id_array0.00170.175510.0017
state_identifier_array0.00180.185720.0009
Override
Cache load0.00170.1737100.0002
Sytem overhead
Fetch class attribute can translate value0.00180.189010.0018
Fetch class attribute name0.00070.072020.0003
XML
Image XML parsing0.01311.374710.0131
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.01371.4394160.0009
String conversion0.00000.001040.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs