Jump to content

/img/p contains 12 millions of inodes for 30k jpg files


aqueos

Recommended Posts

hi,

 

 we have a prestashop 1.7 on a server and the /img directory is using 12 millions of inodes. There is 30k image files and something like 5.9 millions of directory having each one "fileType" file.... This means 11.97 millions of  structure prestashop files for 30k images and so something like a 0.25% efficiency :)

  How is that possible that presashop need 12 millions of inodes to store 30k product images and is there a way to reduce this incredible number ?

 

 Is the 8.x version using the same system to store image files ?

 

best regards,

Aqueos.

 

Edited by aqueos (see edit history)
Link to comment
Share on other sites

  • 1 year later...
On 4/14/2023 at 7:32 AM, Daresh said:

All those files may be remainings of old images, for which the original image got deleted.

Check out the Tidy module, it may help you to delete this kind of files.

 Thanks, with that module I have reduced on a 5000 products store 145000 inodes, that I couldn’t erase. Old images unused.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...