Skip to content
Advertisement

Symfony 4.3 “cache:clear” in prod is crashing servers

I have my site under symfony in production, there is a lot of traffic and it works with several servers.

During my maintenance operations, I need to update the cache, but when I do a “cache:clear” the load average increases very high, until the site crashes

php bin/console cache:clear
...
...
crash !

Advertisement

Answer

Solved by migrating cache directory in a non-nfs directory (ex: /tmp/xxx), Now it works !

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement