cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Medioni" <lmedi...@odyssey-group.com>
Subject Cocoon 2.1.11: debug log full of CocoonStoreJanitor executions
Date Mon, 28 Jul 2008 13:00:30 GMT
Hello,
I am migrating a 2.1.5 project to 2.1.11.

Among many other things, in debug mode I have my log file full of :

DEBUG   (2008-07-28) 14:12.57:998   [core.runnable] (Unknown-URI)
Unknown-Thread/DefaultRunnableManager.ExecutionInfo: Executing command
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@c0c18f in
pool "daemon", schedule with interval=0
DEBUG   (2008-07-28) 14:12.57:998   [core.runnable.daemon] (Unknown-URI)
Unknown-Thread/DefaultThreadPool: Executing Command:
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@c0c18f,pool=d
aemon
DEBUG   (2008-07-28) 14:12.57:998   [core.runnable] (Unknown-URI)
Unknown-Thread/DefaultRunnableManager: Command entered:
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@c0c18f,
pool=daemon, delay=60000, interval=0
DEBUG   (2008-07-28) 14:15.49:522   [core.runnable] (Unknown-URI)
Unknown-Thread/DefaultRunnableManager.ExecutionInfo: Executing command
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@c0c18f in
pool "daemon", schedule with interval=0
DEBUG   (2008-07-28) 14:15.49:522   [core.runnable.daemon] (Unknown-URI)
Unknown-Thread/DefaultThreadPool: Executing Command:
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@c0c18f,pool=d
aemon
DEBUG   (2008-07-28) 14:15.49:537   [core.runnable] (Unknown-URI)
Unknown-Thread/DefaultRunnableManager: Command entered:
org.apache.cocoon.components.store.impl.CocoonStoreJanitor@c0c18f,
pool=daemon, delay=60000, interval=0

In my cocoon.xconf, I configure the storeJanitor with:

	<store-janitor logger="core.store.janitor">
		<parameter name="freememory" value="2048000" />
		<parameter name="heapsize" value="66600000" />
		<parameter name="cleanupthreadinterval" value="60" />
	</store-janitor>

So I was expecting an execution every 60s, not every s !

I found in CocoonStoreJanitor.relaunch that
DefaultRunnableManager.execute is called with a zero interval:

this.runnableManager.execute(this.threadPool, this, delay, 0);

(and uses my Interval config parameter for setting the Delay value, not
the Interval...)

What is exactly this interval supposed to be ("The interval of repeated
runs" according to the JavaDoc) and how getting rid of these "repeated"
executions ?

Many Thanks,
Laurent, Sunny Switzerland

____________________________________________________________

 This email and any files transmitted with it are CONFIDENTIAL and intended
  solely for the use of the individual or entity to which they are addressed.
 Any unauthorized copying, disclosure, or distribution of the material within
  this email is strictly forbidden.
 Any views or opinions presented within this e-mail are solely those of the
  author and do not necessarily represent those of Odyssey Financial
Technologies SA unless otherwise specifically stated.
 An electronic message is not binding on its sender. Any message referring to
  a binding engagement must be confirmed in writing and duly signed.
 If you have received this email in error, please notify the sender immediately
  and delete the original.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message