Forums / Setup & design / DirDepth=3 but directories are not created for files...

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 ?

eZ debug

Timing: Jan 31 2025 00:28:00
Script start
Timing: Jan 31 2025 00:28:00
Module start 'content'
Timing: Jan 31 2025 00:28:00
Module end 'content'
Timing: Jan 31 2025 00:28:00
Script end

Main resources:

Total runtime0.0483 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.1719370.2734
Module start 'content' 0.00770.0182 958.44531,001.5938
Module end 'content' 0.02590.0223 1,960.039170.7031
Script end 0.0482  2,030.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00255.2314120.0002
Check MTime0.00112.2392120.0001
Mysql Total
Database connection0.00081.757510.0008
Mysqli_queries0.00285.771540.0007
Looping result0.00000.041520.0000
Template Total0.021745.110.0217
Template load0.00091.900310.0009
Template processing0.020843.150910.0208
Override
Cache load0.00061.315810.0006
General
dbfile0.016935.0844100.0017
String conversion0.00000.012830.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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