mod_mem_cache erreur size check!
Bonjour
je suis face à un problème un peu bizarre avec le module appache mem_cache où j'ai une erreur que je ne comprends pas et n'arrive pas à tracer. Ma configuration semble pourtant bonne.
Voici ma configuration :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| <IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule> |
L'erreur :
Citation:
/var/log/apache2/www.mydomain.com-error.log.1:235107:[Sun Jun 07 06:25:02 2015] [debug] mod_mem_cache.c(340): mem_cache: URL
http://serveur_ip:80/asset/main.js? failed the size check and will not be cached
Le bloc de code source sur max_cache_size checks :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| /* Note: cache_insert() will automatically garbage collect
* objects from the cache if the max_cache_size threshold is
* exceeded. This means mod_mem_cache does not need to implement
* max_cache_size checks.
*/
if (len < sconf->min_cache_object_size ||
len > sconf->max_cache_object_size) {
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
"mem_cache: URL %s failed the size check and will not be cached.",
key);
return DECLINED;
} |
Alors je ne vois pas comment je peut avoir cette erreur répétitive, et au pire j'ai assez de mémoire physique disponible sur mon système.
Quelqu'un a une idée??
Cordialement.