Jump to content

Inode limit blocks website


Recommended Posts

Hello everybody,

 

I have a Prestashop 1.6 site on a shared hosting that limits the inodes at 250 k.

The shop has 2600 articles in 190 categories with nearly 8000 images.

The problem i'm encountering is that the images are already consuming nearly 76000 inodes and if i'm enabling smarty cache, after a couple of days i run out of inodes due to the large amount of files created in cache/smarty/cache. The large number of files is created by:

blockspecials: 4935

blockcategories: 15348

blocktopmenu: 26302

socialsharing: 37103

socialsharing_header: 37313

in total 124728 in cache/smarty/cache and still growing.

 

In an other post on this forum http://www.prestashop.com/forums/topic/176681-slow-blockcategoriestpl/ i found a similar problem with a solution, but this is a solution for version PS 1.5.

Does anyone has an other solution for this problem in PS 1.6 than disabling the cache?

 

 

 

Link to comment
Share on other sites

Hello El Patron,

 

Using a cron job to regular clear the cache doesn't really solve the problem, the cache is there to speed up the website. If you clear it regularly to avoid blanc screens the cache doesn't functions as it is supposed to do. Disabling the cache would have nearly the same effect and would be more secure in avoiding that the site blocks on a white screen.

An other hoster would be a possibility, but most hosters limit inode usage and most of them don't even mention that they have a inode limit. They only mention disk space.

The real problem lies as can be seen in the link to the post in the fact that to many files/folders are created in the cache.

Link to comment
Share on other sites

×
×
  • Create New...