Wednesday, January 15, 2014

clear files in var/report and session of magento

My magento get full and linum mint showed the message that the disc space is full.

I just cleared files in report and session in magento/var

open the terminal in var foler and go to each sub folder

cd report or cd session
sudo rm -rf *

do not use rm -rf *.*   it will clear all route file

for session, you can just delete session folder and it will be recreated.