Hi Ryan,

Thanks for replying!!!

======================================================================== ===== INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:16:21 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:16:21 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:16:21 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:16:21 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:16:43 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:16:43 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:16:43 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:16:43 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:16:43 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:16:43 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:16:43 Flushing Cache...
.......
DEBUG info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (streamFromCache:308) 12.03.2008 14:05:24 Streaming from cache / guides/Entertainment/Knitting.html, compressed DEBUG info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (streamFromCache:308) 12.03.2008 14:07:18 Streaming from cache /news/ Europe/March-April-08/Vatican-Names-Seven-New-Mortal-Sins-/news/0/ image/CaptionMain-N-2008-3-10-PopeBenedict-AP08030905149.jpg, not compressed INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:29:55 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:29:55 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:29:55 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:29:55 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:29:55 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:29:55 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:29:55 Cache was flushed. INFO info.magnolia.module.exchangesimple.ReceiveFilter ReceiveFilter.java(receive:143) 12.03.2008 14:31:13 (de)activation succeeded INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:31:19 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:31:19 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:31:19 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:31:19 Cache was flushed. INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:76) 12.03.2008 14:31:19 Flushing Cache... INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java (flushAll:85) 12.03.2008 14:31:19 Cache was flushed. ======================================================================== =====

This above is from catalina.out. The same "flushing cache" message repeats itself for every 20 seconds, so I don't want to copy hundreds of lines here. As you can see, it took 15 mins for one activation to complete. During those 15 mins, no one can save any work in the author instance.

I am using Tomcat 5.5.25.

The HTTP config in server.xml is:
    <Connector port="80"
maxThreads="500" minSpareThreads="250" maxSpareThreads="175" enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="60000"
               disableUploadTimeout="true" />

The java process is running with options "-Xmx2048m -Xms1024m - XX:MaxPermSize=256m -XX:+UseParallelGC"

Let me know if you need more info.


A side question: Why does Magnolia flush the cache when the cache is off? I am assuming that the cache flushing is deleting the cache under magnoliaPublic/cache/mgnl-cache. When the cache is off, there is no cache under mgnl-cache.



Thanks a lot for your help,
Po Ki



On Mar 12, 2008, at 2:43 PM, Ryan Gardner wrote:

Flushing the cache is normal, since the public site has to do this for cached content for the new content to appear.

Flushing the cache a few hundred times, however, is not normal.

You should post the relevant section of your catalina.out file to pastebin or somewhere.

I haven't had these problems. What kind of memory do you have allocated to your app server? (I assume tomcat?)

If the nodes are going crazy on that activation, I'd look over how your server settings are configured to see if there is something funky going on.

What version are you running?

Ryan


On Mar 12, 2008, at 12:38 PM, Po Ki Chui wrote:

Hi all,

Did any of you encounter a problem with activations? When I activate a website node, it basically freezes the whole Magnolia and nobody can save their work. And also, in the catalina log, about a hundred "flushing cache" logs are generated during each activation. Therefore, the live site is throwing an "Unable to connect" error until the activation finishes. I wonder if anyone encounters similar problems like that and see how they tackle the issue.



Thanks,
Po Ki

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to