Post by lukehackett85 » Wed Jan 20, 2021 12:06 am

Hello all,
Do you know what the average number of files would be in a base Opencart 3.0.3.2 setup without many addons?
I'm not after anything accurate, as I know the above is quite broad but I mean like 50k files? 100k?
Basically I've got 287k files, and I'm trying to change web hosting package but they won't let me because I have too many files (referred to as inodes)
Has anyone else ever had this problem? and is my particular opencart setup unreasonably big in terms of number of files? I've got about 22.2k products so I guess there are around 22.2k images + maybe an extra 50 for site images etc.
Best regards
Luke

New member

Posts

Joined
Sun Apr 24, 2016 5:09 am

Post by ADD Creative » Wed Jan 20, 2021 12:55 am

If you look in image/cache you will see multiple sizes for each image for all the different views.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by straightlight » Wed Jan 20, 2021 1:04 am

Basically I've got 287k files, and I'm trying to change web hosting package but they won't let me because I have too many files (referred to as inodes)
I'd simply switch to another hosting provider at this point.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by lukehackett85 » Wed Jan 20, 2021 1:06 am

They are trying to claim that all hosting providers would limit you to 250,000 inodes
They advertised unlimited storage space etc, but then say the above when you try to actually upgrade to it
If its not the case that all hosting providers would put these restrictions on is there anyone you could recommend as a new hosting provider?

New member

Posts

Joined
Sun Apr 24, 2016 5:09 am

Post by mikeinterserv » Wed Jan 20, 2021 1:10 am

What country are you in ?
That's a large number of files but should not really be prohibitive on the right hosting platform.
I agree with straightlight
Time to find another host - one that will at LEAST give you a suggestion of what you need.

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by straightlight » Wed Jan 20, 2021 1:19 am

They are trying to claim that all hosting providers would limit you to 250,000 inodes
If that'd be the case, dedicated servers would remain under the same limitations as lower server packages and that definitely ain't the case. Otherwise, practically nobody or very limited people would be able to make their so-called investment on the internet and the internet wouldn't be called the internet.
They advertised unlimited storage space etc, but then say the above when you try to actually upgrade to it
Marketing perspective based on what their sales department needs to provide from their flows.
If its not the case that all hosting providers would put these restrictions on is there anyone you could recommend as a new hosting provider?
You'd have to provide the needs and the current resource you're using in order for Opencart supporters to provide an accurate solution on this one.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by lukehackett85 » Wed Jan 20, 2021 3:21 am

Thanks for the replies guys.

I am indeed looking for a new host.
-----------

You'd have to provide the needs and the current resource you're using in order for Opencart supporters to provide an accurate solution on this one.

---------
I'd need to be able to have 5-6 SQL databases as theres a couple of sites on my hosting (but it was just opencart that went over 250k files, I wasn't trying to move the others) and I'd need unlimited bandwidth, 150gb+ space (I use 70gb at the moment but I don't want to have to keep moving) and maybe some SSL standard certs included (1 would be minimum, anymore a bonus) my web host advertise 2gb memory on that package as well as unlimited storage too (The one I was trying to move to)

New member

Posts

Joined
Sun Apr 24, 2016 5:09 am

Post by mikeinterserv » Wed Jan 20, 2021 3:24 am

lukehackett85 wrote:
Wed Jan 20, 2021 3:21 am

I'd need to be able to have 5-6 SQL databases as theres a couple of sites on my hosting (but it was just opencart that went over 250k files, I wasn't trying to move the others) and I'd need unlimited bandwidth, 150gb+ space (I use 70gb at the moment but I don't want to have to keep moving) and maybe some SSL standard certs included (1 would be minimum, anymore a bonus) my web host advertise 2gb memory on that package as well as unlimited storage too (The one I was trying to move to)
You REALLY should be running a dedicated server for this or at least an elephant VPS

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by IP_CAM » Wed Jan 20, 2021 3:25 am

Basically I've got 287k files
Just remove all cached images in the /image/cache/...... Sections,
and also remove all cached file content in all your other OC /cache/......
Sections you find, and your problem will be solved.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by lukehackett85 » Wed Jan 20, 2021 3:55 am

Thanks again guys

IP_CAM, I will literally delete entire image/cache section as you suggest and see how it looks
Is there a way to stop them reoccurring there in such a great number? or do I just need to knock that folder down every so often?

New member

Posts

Joined
Sun Apr 24, 2016 5:09 am

Post by IP_CAM » Wed Jan 20, 2021 4:48 am

No, there is not, OC will create cached Images in all sizes, as configured,
to have 'em available on pages without delay. And after you initialized
your Shop on the new Site again, they will be added, as soon as they are
beeing called the first time. But then, you won't have to remove 'em again.
And the same appies for cached File content. This File content can be cleared
out, once in a while, by use of a Cache Cleaning Admin Tool.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by paulfeakins » Wed Jan 20, 2021 7:14 pm

lukehackett85 wrote:
Wed Jan 20, 2021 12:06 am
Do you know what the average number of files would be in a base Opencart 3.0.3.2 setup without many addons?
It's around 3000 as described here:
https://www.antropy.co.uk/blog/the-lure-of-magento/

It's true most hosts will limit you to around 250,000 inodes but certain OC caching extensions will try to use more.

A solution might be to use a cron and the tmpwatch command to keep cache files under control.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 82 guests