Maintenance

  • Home
  • Log in
  • « phpmyadmin log in failure
  • New space/network setup »

Cocoon cache system adjustments

Posted by gregster on 19 Oct 2009 in Servers, Activity log

Heavily used cocoon sites (like the ISE) tend to generate very large cache files ($CATALINA_HOME/work/Catalina/localhost/_/cocoon-files/cache-dir/cocoon-ehcache-1.data) which eventually fill the filesystem and create headaches.

The ISE site is now using a modifed cocoon.xconf ($COCOON_HOME/WEB-INF/cocoon.xconf)to manage this problem. Around line 558 there was a stanza like this:

  <store logger="core.store">
    <parameter name="maxobjects" value="${store.maxobjects}"/>
    <parameter name="use-cache-directory" value="true"/>
  </store>

Which has been changed to this:
  <store logger="core.store">
    <parameter name="maxobjects" value="${store.maxobjects}"/>
    <parameter name="use-cache-directory" value="true"/>
    <parameter name="eternal" value="false"/>
    <parameter name="timeToLiveSeconds" value="0"/>
    <parameter name="timeToIdleSeconds" value="3600"/>
  </store>

So far (in the last 24 hours) the cache seems to behaving and the site isn't crawling, so it looks like we're on the right path.

This entry was posted by Greg and filed under Servers, Activity log.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2025 by admin • Help • Advanced CMS