HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Persistant Cache filling up

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#70730 (In Topic #14941)
Avatar

Community saint

I've not noticed this happening before so not sure if it's something I've done or it's related to v7.01. The persistant_cache directory has been filling up at a pretty rapid rate, about 10MB/day. I've had to delete and recreate the directory as it had over 120MB of data in it. Anyone else noticing same?

TIA!
SD

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#70731
Avatar

Community saint

7.1beta1.

NO!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#70786
Avatar

SoccerDad said

I've not noticed this happening before so not sure if it's something I've done or it's related to v7.01. The persistant_cache directory has been filling up at a pretty rapid rate, about 10MB/day. I've had to delete and recreate the directory as it had over 120MB of data in it. Anyone else noticing same?

TIA!
SD

Did you explicitly enable the persistant cache in config_editor.php (or maybe it defaulted on in an earlier version or a different server, and it got saved permanently on in the config editor)? If the server does not support it it will use "text-based persistant caching" which is only designed for developer testing.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70788
Avatar

Community saint

Hi Chris!

Checked that this morning and it appears to be off (assuming this is what you are referring to):

use_mem_cache = 0

Weee, 60MB of new cache data since the 18th. I'm quite comfortable waiting until 7.1 is released and exploring further then since no one else is reporting this. *grin*, nothing a little cron job won't cure!

Don't know if this could be connected, but from a "doing something different point of view", I have just started using the WYSIWYG editor in the last couple of weeks for the first time.


"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71542

Honoured member

Yeah, I've not looked before, but I notice my uncle's site is eating up a lot of disc space and it's in the persistant_cache directory.  It's up to like 1247mb. I delete it but it comes right back.  I've looked in the config editor and it isn't turn on in there either.
Back to the top
 
Posted
Rating:
#71547
Avatar

There are two more possibilities:
  1. The "fast spider cache" is on. We have fixed an issue in 7.1.1 where the feedback page was caching separately for each URL on the site that linked to it.
  2. The option to store block caching on disk is on ("File-system caching"), and there's some issue causing some block(s) to cache against parameters that vary too much. If everything is under a subdirectory called 'ocp<something>_cache' then this would be the case.

It's easier for me to look into it if I have access to a zip of the directory contents.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#73361
Avatar

Honoured member

Hi everybody!

The problem persists furthermore. Today I had to delete 1,3 GB, because my webspace was exhausted. After about 3 hours I have 12 MB again. I uploaded a *.zip file, so maybe Chris could check whats going wrong.

Attachment


All relevant caches are set to "0".

Best regards
Falko

ANDROMEDA - Das junge Beobachterforum :)
Back to the top
 
Posted
Rating:
#73364
Avatar

It's the fast spider cache, and we've actually already prepared improvements for the next patch release. Specifically the issue is there can be a huge number of URLs cached due to some dynamic URL attributes that cause what mathematicians call "combinatorial explosion". An example: the 'redirect' parameter in the login block causing a separate copy of the login page for every other URL on the site.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#73368
Avatar

Community saint

I bet you've been waiting for days for the right opportunity to use "combinatorial explosion".   :lol:

I've got to see if I can find some clever way to work that into a casual conversation.

Bob
Back to the top
 
Posted
Rating:
#73369
Avatar

Community saint

hehehe

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#73382
Avatar

BobS said

I bet you've been waiting for days for the right opportunity to use "combinatorial explosion".   :lol:

I've got to see if I can find some clever way to work that into a casual conversation.

Bob

;). Computer science courses drum these kinds of phrases into people.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#73394
Avatar

Community saint

Example of math problem using "Combinatorial Explosion"

eg:

Boy hasn't seen girl for weeks (persistent cache filling up) finally boy meets girl and result is "Cominatorial Explosion!" to the nth degree!  :lol:
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: