cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.1.6 Inode Usage problem

SOLVED

Magento 2.1.6 Inode Usage problem

Hi,

 

I have just finished upgrading from 2.1.4 to 2.1.6. The new way to cache/resize the images has increased my inode usage above 280k and my hosting package is limited to 300k.

 

For about 5,000 images on my website, there's 150,000 files and folders of image cache!

 

[+ Checking Inodes for folder: ./pub/media/catalog/product/ +]

3 Inodes - ./pub/media/catalog/product/1
3 Inodes - ./pub/media/catalog/product/6
3 Inodes - ./pub/media/catalog/product/9
3 Inodes - ./pub/media/catalog/product/u
5 Inodes - ./pub/media/catalog/product/k
8 Inodes - ./pub/media/catalog/product/5
9 Inodes - ./pub/media/catalog/product/l
10 Inodes - ./pub/media/catalog/product/placeholder
13 Inodes - ./pub/media/catalog/product/q
25 Inodes - ./pub/media/catalog/product/e
27 Inodes - ./pub/media/catalog/product/b
28 Inodes - ./pub/media/catalog/product/n
28 Inodes - ./pub/media/catalog/product/o
30 Inodes - ./pub/media/catalog/product/t
50 Inodes - ./pub/media/catalog/product/p
63 Inodes - ./pub/media/catalog/product/r
74 Inodes - ./pub/media/catalog/product/w
95 Inodes - ./pub/media/catalog/product/h
102 Inodes - ./pub/media/catalog/product/i
121 Inodes - ./pub/media/catalog/product/s
153 Inodes - ./pub/media/catalog/product/z
159 Inodes - ./pub/media/catalog/product/m
163 Inodes - ./pub/media/catalog/product/d
304 Inodes - ./pub/media/catalog/product/c
315 Inodes - ./pub/media/catalog/product/a
1623 Inodes - ./pub/media/catalog/product/f
2244 Inodes - ./pub/media/catalog/product/g
158741 Inodes - ./pub/media/catalog/product/cache

 

Anybody facing a similar problem? How to deal with this situation? Any help would be much appreciated. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2.1.6 Inode Usage problem

I ended up changing from Shared Hosting to Cloud Hosting. No limit on inode usage. Lot more expensive, but Magento does require lot of resources.

View solution in original post

7 REPLIES 7

Re: Magento 2.1.6 Inode Usage problem

Yes I am facing the same issue.
Did the resize images due to the bug in 2.1.6 and now the inodes are way over my quota and the images are not fully loaded yet.
Is there anything we can do to solve this ASAP.

 

 

Re: Magento 2.1.6 Inode Usage problem

same issue here. Thinking of reverting back to previous version. the resize took about 50,000 ionodes. This is terrible. Some images are still broken

https://jostechecig.com.au/

 

Re: Magento 2.1.6 Inode Usage problem

I havent done this yet but came across it this morning.

 

Action

We strongly recommend that you upgrade to 2.1.7 as soon as that release is available. Magento 2.1.7 will contain a fix for this issue as well as critically important security enhancements. We provide the hot fix described in this Technical Bulletin as a temporary fix only.

Magento 2.1.x CE

You can fix this issue with image resizing by downloading and installing the CE-MAGETWO-67805.patch hot fix, and then immediately upgrading to Magento 2.1.7, as soon as it is available.

To download this patch,

1) On Magento Tech Resources, choose Downloads > Magento Community Edition Patches > 2.x.

2) Select the CE-MAGETWO-67805.patch hot fix.

Hot Fix

Re: Magento 2.1.6 Inode Usage problem

Hi,

 

I've downloaded this hotfix, but I have no idea how to install it.  My host installed 2.1.6, and they were unable to determine how to install this hotfix either.  I found instructions for installing patches that end in .sh, but nothing for installing patches that end in .patch.

 

Can anyone help?

 

Thank you.

Re: Magento 2.1.6 Inode Usage problem

Hi @FaeriesDance,


I flushed the image cache in System Panel which brought my inodes down to 86k but no images on the site but the images are there on the product detail page.
i  ran the resize command which loaded up all the images on the site but now my Inodes are sitting just on the limit of 200k.
It's crazy that Magento has not fixed this issue yet.
I most likely will roll back to 2.1.5 I this issue is not addressed soon.


Re: Magento 2.1.6 Inode Usage problem

use command:

git MAGETWO-67805-2017-05-17-03-04-03.patch

then clean and flush cache.

 

Thanks

Re: Magento 2.1.6 Inode Usage problem

I ended up changing from Shared Hosting to Cloud Hosting. No limit on inode usage. Lot more expensive, but Magento does require lot of resources.