Share » Forums » Install & configuration » DELETE VAR/CACHE?

DELETE VAR/CACHE?

DELETE VAR/CACHE?

Monday 21 June 2010 3:09:01 am - 5 replies

Author Message

Gaetano Giunta

Monday 21 June 2010 3:31:33 am

yes you can

take care: you have 2 cache dirs...

Principal Consultant International Business
Member of the Community Project Board

Sébastien Antoniotti

Monday 21 June 2010 3:46:49 am

Hi,

rm -Rf var/cache

rm -Rf var/{var_dir_of_your_instance}/cache

;)

eZ Publish Freelance
web : http://www.webaxis.fr

Andy Boston

Monday 21 June 2010 4:13:51 am

Thanks :)

André R.

Monday 21 June 2010 10:05:54 am

Probably because of missing unix file system rights for the user you are clearing cache with, for instance www user does not have rights to delete files created by cli user or opposite.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Gaetano Giunta

Tuesday 22 June 2010 1:21:03 am

To add further insight to Andre's words: it often happens that eZP cronjobs are run with a different user than the one running the webserver process (www or httpd). If those cronjobs crash for one reason or another, they might leave lock files in the cache that the webserver later cannot remove on its own.

Principal Consultant International Business
Member of the Community Project Board

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

36 542 Users on board!

Forums menu