PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Caching » Cache_Lite » Bug #2820

Slow when many files

Details

Submitted2004-11-24 14:00 UTC
Frommoander at atc dot no
Assignedfab
StatusClosed
PackageCache_Lite
PHP Version4.3.9
OSDebian 3 Stable
Roadmaps(Not assigned)

Comments

[2004-11-24 14:00 UTC] moander at atc dot no

Description:
------------
My site is getting slower and slower. When I delete the cache files it gets much faster again.

I guess the problem must me solved with folders..

[2004-11-28 13:43 UTC] moander at atc dot no

Now it is 32525 files in the directory and the site is very slow. When I delete the files it is fast again..

In pear/Cache/Lite.php I see this version:
* @version $Id: Lite.php,v 1.20 2004/07/14 10:24:03 fab Exp $

I will soon try the cvs version.

[2006-03-01 17:16 UTC] thierry8 at tele2 dot fr

Bonjour,

Je ne comprend pas bien a quoi sert hashedDirectoryLevel exactement.

Ni même comment il faut le paramètrer.
Avez vous des exemples ?
0 à 500 fichiers
501 à 100 fichiers
1000 à 5000 fichiers
...

Merci

[2006-03-01 17:18 UTC] thierry8 at tele2 dot fr

Sorry, I translate my message.

Hello, I does not include/understand well has what serves hashedDirectoryLevel exactly. Nor even how the paramètrer is needed. Have examples?
0 to 500 files
501 to 100 files
1000 to 5000 files...

Thank you