Uploading images via WebDAV = wasting harddisc space?

Author Message

Marco Zinn

Saturday 30 October 2004 10:18:35 am

Hi,
a long time ago, i posted a bug report (see http://ez.no/community/bug_reports/images_remain_in_images_versioned), because i think, there is a bug with image publishing: Files stay in images-versioned, even, after the image object is published.
I think "images-versioned" does not get cleaned of unneed files.

Now comes WebDAV: The folder /var/webdav/tmp get filled up with load of eZWebDAVUpload_xxxxx files, which don't seems to get removed.

I have a customer, who's using Webdav to upload images. The images are published immediatly (by WebDAV) and probably, 98% of them are never edited.

Now, this is the current harddisc usage:
var/corporate/storage/image is about 14MB large
var/corporate/storage/images-versioned is about 12MB large
var/corporate/storage/original is almost 0 (36kb)
var/webdav/root is 0
var/webdav/tmp is 67 MB large !!!!

I'm using ez 3.4.2 with Webdrive beeing the WebDAV client.

Please, someone tell me, how this SHOULD work, and if i can delete the var/webdav/tmp dir!

Shouldn't the WebDAV server part of ez _move_ the files from the webdav/tmp dir to somewhere in var/storage ?
Why is so much data in images-versioned, when we don't have loads of drafts?
Also refer to my bug report, as i think, there are 2 problems: One with a bad cleanup of files in images-versioned (see report) and one with the webdav's tmp dir.

Any comment? Is this a know bug?

Marco
http://www.hyperroad-design.com

Marco Zinn

Sunday 03 April 2005 6:57:36 am

Hi,
i'm kind of bumping this. We do have some ez 3.4 installations (3.4.4 or so), which make heavy use of image galleries.

Because of 2 bugs (i think, these ARE bugs), the harddisc usage is very huge: Webdav does not delete it's temp files (this is fixed in 3.5, but still open in 3.4).
Additionally, ez makes copies of (original) images files at every new version of the image object. And, as noone closed my bug reports, i'm almost sure, that ez also does not remove image files for deleted object versions.

See these bug reports.
http://ez.no/community/bugs/images_remain_in_images_versioned
http://ez.no/community/bugs/no_cleanup_for_image_attributes

So, my question to the users here: Does anyone use ez 3.4 for image galleries (with of without WebDAV) and has fixed these issues?

To the ezCrew: At least the WebDav tmp file issue is solved in 3.5 . Will you backport this eo ez 3.4? Maybe this has already been done, but we're using 3.4.4, rev. 9297, and this still has this bug.

Marco
http://www.hyperroad-design.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:22:15
Script start
Timing: Jan 19 2025 00:22:15
Module start 'layout'
Timing: Jan 19 2025 00:22:15
Module start 'content'
Timing: Jan 19 2025 00:22:16
Module end 'content'
Timing: Jan 19 2025 00:22:16
Script end

Main resources:

Total runtime1.0315 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.0469152.6406
Module start 'layout' 0.00680.0044 740.687539.4922
Module start 'content' 0.01131.0185 780.1797497.9922
Module end 'content' 1.02970.0017 1,278.171912.1250
Script end 1.0314  1,290.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3432160.0002
Check MTime0.00140.1333160.0001
Mysql Total
Database connection0.00070.068310.0007
Mysqli_queries0.976994.7144520.0188
Looping result0.00040.0430500.0000
Template Total0.993496.320.4967
Template load0.00210.207420.0011
Template processing0.991296.100320.4956
Template load and register function0.00010.009910.0001
states
state_id_array0.00090.087010.0009
state_identifier_array0.00150.144220.0007
Override
Cache load0.00180.1704320.0001
Sytem overhead
Fetch class attribute can translate value0.00070.063510.0007
Fetch class attribute name0.00100.100530.0003
XML
Image XML parsing0.00040.039910.0004
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00080.0772160.0000
String conversion0.00000.001240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs