ZiedDams Posted May 3, 2023 Share Posted May 3, 2023 Hello guys , Hope you all doing good. im working on prestashop 1.7.8.5 and i added a module that override Category Class and CategoryController and i made some changes and evrythink work correctly . the problem is in /home/var/tmp folder .mad files are generated with big sizes and in some cases (not all the time) they are not autodeled wiche is the normal case in mysql so i run into diskspace problem . any ideas please ? Link to comment Share on other sites More sharing options...
Eutanasio Posted May 7, 2023 Share Posted May 7, 2023 without taking a look at the module's code, we can't tell what's wrong with it so it creates those large files. What you can do is create a cron task to delete them, something like this for example: 0 2 * * * find /home/var/tmp -name "*.mad" -type f -mtime +1 -exec rm -f {} \; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now