Hello all,  (I hope the dev list is the right place for this . . . )

Maybe someone's seen this before: [we're running Lenya 1.2.4, cocoon 2.1.7, redhat 9, jdk 1.5  with Tomcat 5.5 restarted every night]

Once in a while (every month or two) CPU usage goes nuts, java heap size is overrun, and Lenya dies.  When writing to the live cache just before it dies, lenya throws:

40849730 2006-11-06 15:25:12,870 [TP-Processor610] ERROR core.xslt-processor.fatalError():81  - Error in TraxTransformer: javax.xml.transform.TransformerException: java.lang.RuntimeException: java.lang.RuntimeException: java.util.ConcurrentModificationException: File /usr/local/lenya/lenya/pubs/academic_affairs/work/cache/live/oaa.html is already being written by another thread

A few times a second, then CPU usage goes bonkers, then the following:

40912774 2006-11-06 15:26:15,914 [TP-Processor646] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cns].[Cocoon].invoke():253  - Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
40914037 2006-11-06 15:26:17,177 [TP-Processor690] ERROR sitemap.release():188  - Unabled to release processing component.
org.apache.cocoon.ProcessingException: Unable to remove component from automatic release: no environment available.

At that point Lenya stops responding, and we have to forcibly kill tomcat (kill -9), and restart it.

It hums along fine for a month or so, sometimes two, then does it again.  Usually it's smooth as glass, with very lo CPU usage.

Anyone seen this before?  Currently hunting anything I can f ind on Cocoon's  <map:transform type="write-source">, which is writing to the cache, as per lenya's default publication set up.  Think I'm looking in the right place?

Thanks for anyone's ideas about this.

-doug

Reply via email to