On Mon, 17 May 2010, ToM wrote:

> I've got a question about automatic file cache cleaning in symfony
> 1.1.x. The problem is that when all the cache files stored in ./cache
> folder grows the apache server has problems with parsing them
> consuming to much RAM. I've found in sfCache API that we can set
> lifetime and automatic_cleaning_factor parameters. I've set the
> lifetime to 300 sec and  automatic_cleaning_factor=1 to clean cache
> every 300sec. My problem is  that it accualy sometimes reduces the
> size of cache directory but it still grows constantly, which means
> that it grows faster than the cleaning reduces it's size. Is there any
> way (except periodically php symfony cc) to stop cache from growing?

Its normal for cache to grow, since symfony will store the results of each 
action that has unique parameters. If there are pages that depend on 
session and/or users, this could be many many pages.



-- 


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to