Number of files increases!

Permalink
What might be happening in my c5 installation such that the number of files increases without any action from my side? Cache? or logs? What to do? Bluehost has a ceiling on the number of files per account, it seems!

binoy
 
Tony replied on at Permalink Reply
Tony
you could try disabling the caching within /dashboard/settings/debug/
Mnkras replied on at Permalink Reply
Mnkras
yea the only stuff that isn't in the database that can change is the cache
Tony replied on at Permalink Reply
Tony
i've never heard of a hosting company limiting the number of files though. that's a pretty dumb constraint. you should probably just find a better host.
kirkroberts replied on at Permalink Reply
kirkroberts
This is really concerning to me, as I just recommended a client (that will use c5) go with BlueHost.

binoy, can you follow up or elaborate on the situation?
kirkroberts replied on at Permalink Reply
kirkroberts
I contacted Bluehost about this and got this reply:

"Yeah we have a file limit. As long as you only have a few websites running concrete 5 it shouldn't be an issue but the limit of files (we call it directories) one account can have is 200,000. We will send a warning that you are getting close to exceeding your limit at 150k. We deactivate your account at 200k and give you access still to delete your files to get back under 200k."

So I guess if you get warned you could clear your cache. Hard to believe you'd hit that limit unless you had a really big site, though.
binoy replied on at Permalink Reply
binoy
Thank you all for looking into the issue.

I am currently hosting with bluehost and I have 5 websites (not big ones) with my account. In the control panel, the number of files are displayed now in red colour, as a warning. I enquired with one of my friends who has another account with bluehost hosting only one website (but a big one). He has already got the warning message from Bluehost.

I was wondering why the number of files in my account should go that high since my websites are very small.

As you have suggested I will clear cache and disable it. But will that affect the performance of the site(s)?
ScottC replied on at Permalink Reply
ScottC
it won't be that bad if the mysql server(localhost or otherwise) is relatively fast.

You could also look into seeing if they have memcache, apc or something like that available to you. memcache i believe based on the name is hosted in memory and doesn't write to the filesystem.

Alternatively, you could set up a job in concrete5 that will clear the cache every 4-12 hours or so, which should maybe keep your file count low.

That being said, I agree with Tony and that seems pretty dumb to have that arbitrary limit :-/
kirkroberts replied on at Permalink Reply
kirkroberts
Got this follow-up from BlueHost:

"The 200,000 is everything on your account this is counting emails on each account and everything. As for files themselves the maximum is 50k and like Lonny said you'll see that on the left hand side of your cpanel."

Disappointing news.

I don't want to have to instruct my client to periodically clear their cache.

And if you don't use caching the site performance is likely to be unreasonably slow. Judge for yourself on performance.
binoy replied on at Permalink Reply
binoy
I think the best solution is to follow Tony's advice. Escape from Bluehost! This is nothing but cheating from Bluehost! Can anybody suggest a better host where I can have all my 5 domains together? (And; of course, with no limit on the number of files!)
jgarcia replied on at Permalink Reply
jgarcia
Mnkras replied on at Permalink Reply
Mnkras
site5
servage
binoy replied on at Permalink Reply
binoy
Thank you.
kirkroberts replied on at Permalink Reply
kirkroberts
fyi - Doing some quick research it appears that hostgator and site5 have file number limits as well, similar to Bluehost.

It makes sense from a practical standpoint to limit the number of files, but of course certain applications need to break through that ceiling.

Does c5 in particular create many files, or is that a standard php/mysql CMS thing?

Maybe it's more important to review a host's shut-down policy. Will they give you plenty of warning?
binoy replied on at Permalink Reply
binoy
For me, Blueost has started showing the file number in red shade. For one of my friend having another account with Bluehost, got warning once and he has taken some steps to reduce the number of files.
I dont know how many times they may give warning or we would get comfortable gap to reduce files to the limit.
Actually I cant live with the nightmare of this limit! So I am following Tony's advice and; searching for a comfortable hosting.
Someone suggested tmdhosting.com. Anybody has an experience with them?
nbruley replied on at Permalink Reply
Who did you end up going with, and are you happy? I have a site that isn't very large and my cache files are almost up to the 1000 mark for one site already. I'm thinking of going with APC if I can get that to work right though.
cannonf700 replied on at Permalink Reply
cannonf700
binoy,
I have several c5 sites running with JustHost. No problems and they have GREAT customer support.
Remo replied on at Permalink Reply
Remo
the only reason why I've had too many files is the way updates in concrete5 are handled. Whenever you update to a newer version of concrete5 there will be a new core in the updates directory. This almost doubles the number of files with just two clicks..

I often copied the folder from updates to the concrete directory and removed the update hint in config/site.php