Reputation: 627
I am trying to clean the cache of my application
But once I run the
php console cache:clear --env=prod -vvv
It stays running... The application in the webserver alos stop responding.
I tried to add -vvv but it doesn't show any comments.
At the end I always have to stop the process by tapping Ctrl C
What could be? How could I debug that?
One additional question: how long normally it should take to clean the cache?
Upvotes: 2
Views: 2523
Reputation: 627
I discovered what it was.
I was using the smallest type of instance of the Amazon servers.
Apparently this command used too much memory and system started to collapse.
After some days the server simply stopped because of lack of memory when I was doing this command. I changed the instance to a bigger one and the problem never appeared again.
Upvotes: 1