DirDepth=3 but directories are not created for files...

Author Message

Dariusz Wlodarczyk

Sunday 25 January 2004 5:15:56 pm

In the site.ini file we may read:

# Directory depth for storing files, this means that it will create
# directories out of the first n characters to make sure not too
# many files are placed in one directory. For instance a file name
# newfile.png will be placed in n/e/w/newfile.png.
DirDepth=3

But this not working for me :( I have all files stored i one dir. Maybe I must enable this feature in another place (another setting)? Where ?

Balazs Halasy

Monday 26 January 2004 12:57:53 am

If I'm not mistaken, this thing isn't used any more by the image system. The old image system has been replaced with a new one. Which version of eZ publish are you running?

B.

Dariusz Wlodarczyk

Monday 26 January 2004 1:53:40 am

But this is setting in [FileSettings] not [ImageSettings], so i think this work with uploading binary files, but maybe i'm wrong.

Now all uploaded binary files are stored in one dir (var/store/original/application). I have now about 100 files uploaded and speed is ok, but what if i have 100 times more files uploaded ?

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 31 2025 10:09:35
Script start
Timing: Jan 31 2025 10:09:35
Module start 'layout'
Timing: Jan 31 2025 10:09:35
Module start 'content'
Timing: Jan 31 2025 10:09:35
Module end 'content'
Timing: Jan 31 2025 10:09:35
Script end

Main resources:

Total runtime0.0180 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.3750151.2422
Module start 'layout' 0.00560.0028 739.617236.7109
Module start 'content' 0.00830.0083 776.328190.1875
Module end 'content' 0.01660.0014 866.515633.9922
Script end 0.0180  900.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002312.9836140.0002
Check MTime0.00105.7427140.0001
Mysql Total
Database connection0.00063.103610.0006
Mysqli_queries0.003519.161730.0012
Looping result0.00000.076810.0000
Template Total0.00105.610.0010
Template load0.00084.546210.0008
Template processing0.00021.070710.0002
Override
Cache load0.00063.236010.0006
General
dbfile0.003419.022780.0004
String conversion0.00000.054340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs