This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » Serious Cache problem......*****

Serious Cache problem......*****

Serious Cache problem......*****

Thursday 18 September 2014 10:07:06 am - 8 replies

In my website every things works quietly well by now. But recently I have some cache problem. I mean if I don’t clear all cache every day my site become inaccessible! Anything’s works! No user can connect to website and even no editor can connect to admin interface.

Any suggestion?

Thursday 18 September 2014 10:31:45 am

maybe the disk (or user quoteas) gets full, then no more cache files can be created, which breaks everything?

Thursday 18 September 2014 10:48:23 am

can it be from the caches of symfony root, ezpublish folder? i never clear those caches! 

Thursday 18 September 2014 3:39:32 pm

Try to analyze your cache directories: 

  • ezpublish/cache
  • ezpublish_legacy/var/*/cache

Maybe there some really huge files or folders?

Friday 19 September 2014 9:28:49 am

thank you for ur answers,

I deleted my caches in ezpublish/cache directory, 

I asked this question so many times but i have never had an answer.

Is there any way to clear the caches in ezpublish/cache by command line?

Friday 19 September 2014 10:44:22 am

Hello pa,

Yes! You can clear caches using the bin/php/ezcache.php command.

Remember to do this from the root of the ezpublish legacy folder (this is important or the script will not run).

You can also manually use the command line commands to remove cache files from within these directories.

rm -vrf ezpublish_legacy/var/cache/* ezpublish_legacy/var/ezwebin_site/cache/* ezpublish_legacy/var/your_siteaccess_var_dir_name/cache/*;

I hope this helps!



Friday 19 September 2014 11:06:55 am

thanks Heath; 

but my question is for the caches in ezpublish/cache directory. in root of symfony and out of ezpublish_legacy

Friday 19 September 2014 1:05:38 pm

Hello pa,

Sorry for the trouble. I did not realize you were speaking only about the symfony stack. Next time post your question in the dedicated eZ Publish 5 Platform Forums please!

You can clear the cache using the new stack kernel with this command line command:

php ezpublish/console cache:clear --env=dev;

I hope this helps!


Modified on Friday 19 September 2014 1:06:37 pm by // Heath

Friday 19 September 2014 4:14:58 pm

what a relief!!! thank you Heath 


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from