[TYPO3] Cache_hash is growing too fast

Joe Kralicky joe at kralicky.com
Tue Oct 24 23:40:01 CEST 2006


Ricardo Pereira wrote:
>    Hi all!
> 
>    Just for the record, I've found what was causing my cache_hash table
> to grow out of proportions. I'll explain the problem here briefly just
> in case anyone else experiences the same problem.
> 
>    It looks like robots out there were trying to index all pages
> generated by the Calendar Base extension (extension key "cal"). Once you
> hit a page of a specific date, the extension creates links to the
> previous and next year, month, week, which in turn has links to the next
> and previous period, entering a loop. And content (about 50 to 150KB)
> was being cached on cache_hash table at every hit in an endless loop.
> 
>    I am not sure whether I misconfigured the extension, but hiding the
> pages where the plugin was present and turning off the extension seemed
> to have solved the problem. Is anyone else out there using that
> extension and now experiencing the problem of growth of cache_hash
> table? I would love to hear about it.
> 
>    Cheers,
> 
> Ricardo
> 
> 
> 
> Ricardo Pereira wrote:
> 
>>     Hi all! How's it going?
>>
>>     Recently I noticed that the table cache_hash is growing really
>> fast. It got to about 2GB the other day. Does anyone know why this may
>> be happening? I've upgraded my Typo3 instance from 3.8.1 to 4.0.2
>> recently and I'm pretty sure this was happening before the upgrade, too.
>>
>>     I found another user reporting a similar problem (see link below)
>> but could not find any answers.
>>
>> http://lists.netfielders.de/pipermail/typo3-english/2006-August/029018.html
>>
>>
>>     In any case, I'll try and use this TS below to fix the problem.
>>
>> config.cache_period = some value
>> config.cache_clearAtMidnight = 1
>>
>>     Please let me know if you have a better solution.
>>
>>     Thanks in advance.
>>
>>     Cheers,
>>
>> Ricardo Pereira
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>   
> 
> 

Hi Ricardo,

Maybe you can tell the robots not to index the page(s) with the calendar using
a robots.txt file.  Place it in your document root and follow instructions here:
http://www.robotstxt.org/wc/exclusion-admin.html

HTH,
Joe K.



More information about the TYPO3-english mailing list