Cache Size Exceeding 5Gb And Growing - How To Manage?

Hi, on our site the cache is growing and growing after each clearing of the cache. The whole site including backup images is just 500MB, yet after several days or two weeks it passes the 5-6GB limit.



What drives the CS Cart requirement and is there a way to control it as I am reaching quota size if unmanaged?



Thanks

Seems like the only way to manage the cache is to periodically delete var/cache.



Also support recommends adding this to robots.txt



Disallow: /*features_hash

Hi, the best solution is to create a cron job to delete the cache once a day at 23:59:59,the best time



First time when i sow ```php


Disallow: /*features_hash

<br />
It also happening to me, o have an themeforest affiliate website [url="http://bit.ly/1fvp3z0"]browsethemes.net[/url] and on my themeforest dashboard i receive allot of clicks but on analytic no traffic, the reason was google crowl and also the page was no-index, nofollow <img src="upload://ssa1U17ndImgNZSdwFNmOF2yUgM.png" class="bbc_emoticon" alt=";)"><br />
<br />
Thank you<br />
<br />
---<br />
Valentin<br />
[color=#808080][size=2]part of hungryweb.net[/size][/color]

I am really frustrated by CS Cart's cache management. After a few days the cache totally fills our host's disk quota, totally breaking the site including mail and all other things running.



What's the point of a cache if I need to clear it every few days? The cart should manage the cache and not grow beyond a defined size. It certainly should never fill up the disk of the server without intervention.

You should report your issue to the helpdesk. The behavior you describe is not normal and would indicate you have some kind of configuration problem that is causing the cache to grow that dramatically. If it's a bug (which it sounds like) you shouldn't be charged any support credits. But if it's a hosting configuration/permissions issue then you would be charged.

[quote name='tbirnseth' timestamp='1424906962' post='206446'] You should report your issue to the helpdesk. The behavior you describe is not normal and would indicate you have some kind of configuration problem that is causing the cache to grow that dramatically. If it's a bug (which it sounds like) you shouldn't be charged any support credits. But if it's a hosting configuration/permissions issue then you would be charged. [/quote]



Thanks, I had already done this a while ago and was charged 5 credits for the following answer:





[i][color=#000000]Unfortunately, CS-Cart does not clear cache automatically. You can set up cron job on the server to clear the [/color]var/cache[color=#000000]directory. [/color]



[color=#000000]We could also recommend you to disallow indexing filtered results for search engines. [/color]



[color=#000000]You can do it by adding the following line to the [/color]robots.txt[color=#000000] file in the root directory of your installation:[/color]


Disallow: /*features_hash[/i]



Those two pieces of advice I had already found in the forum. That's why I am disappointed with how the cart SW handles it.

Then I would become a bit more insistent. I.e. that you have done both of their suggestions but still have issues.

Turn down the crewl rate to minimum in google webmaster tools. This is something I've been doign for years once my sites have a full index. Make sure your sitemap is registered and then google will crawl new pages fine.

One of our customers was attacked by Bing bot :). We also turned down the crawl rate to minimum in bing webmaster tools to fix the issue.

Not sure what the crawl rate will do for the size of the cache. It may build slower, but it should grow to the same size without any other changes…

Привет всем!

Причитав все посты, я так и не понял что нужно сделать, чтобы избавиться от размножения каталогов и файлов в кэше, но при этом не замедлить работу сайта.

Мы у себя обнаружили, что каждые два-три дня в каталоге var/cache/registry создается порядка 110 тысяч (!) каталогов типа:

[color=#000000]block_content_206_334_xxxx[/color]

[color=#000000]pfilters_00xxx[/color]

[color=#000000]wt_data_xx[/color]

[color=#000000]что приводит к остановке работы сайта.[/color][color=#000000] [/color] Чистим, через 2-3 дня тоже самое…

[quote name='DimonSP' timestamp='1435757186' post='221216']

Привет всем!

[/quote]



как решили проблему? у меня возникла точно такая же проблема после обновлений 4.2.4 на 4.3.1

Alexsei, your profile on the forum is still hacked. I'd sent you an email since you don't accept messages. It reads


[quote name='ALEXsei_' timestamp='1439177260' post='226162']

Hello my dear i am franca by name i will like you to contact me for a nice relationship here in my email address(francamusa1@yahoo.com) I will send you my pictures and also yell you more about me, Franca

[/quote]



Hover over your name. I'm gonna go out on a limb and guess your real name is not Franca!



Sorry, can't respond to you in Russian.

Hi



I did not receive messages while driving from you. but the internal mail works.



I Do not know how to fix the status. this inscription for a long time. I do not interfere. it is a problem of the forum.



Status Updates - CS-Cart Community Forums



Thanks you


[quote name='tbirnseth' timestamp='1439229610' post='226274']

Alexsei, your profile on the forum is still hacked. I'd sent you an email since you don't accept messages. It reads







Hover over your name. I'm gonna go out on a limb and guess your real name is not Franca!



Sorry, can't respond to you in Russian.

[/quote]

[quote name='tbirnseth' timestamp='1439229610' post='226274']

Alexsei, your profile on the forum is still hacked. I'd sent you an email since you don't accept messages. It reads







Hover over your name. I'm gonna go out on a limb and guess your real name is not Franca!



Sorry, can't respond to you in Russian.

[/quote]



The message was added by 3rd party. If you go to the profile details page of any user on the forum, you can leave such status messages on the Profile feed tab

You can modify a user's profile without being logged in as that user?

I cant even post to that profile. It seems to me that this forum software is hacked. Not the profile.

I would agree, but so far, my profile is okay.

[quote name=‘tbirnseth’ timestamp=‘1439353025’ post=‘226455’]

I would agree, but so far, my profile is okay.

[/quote]



Your time has not yet come :)

That may be, but Franca is still making offers to those who hover over your name.