[Coldbox 3.7.0] [Jetty][Railo 4.01] - java.lang.InterruptedException on CacheFactory lock

We get quite a lot of these InterruptedExceptions and they seem to be all contained in coldbox code itself.
Not much i could find on these forums for it so its not a problem that affects a lot of people I guess.

Its a busy site (20 mil user page views/month.)

The stack trace is always

D:\websites\www.mysite.co.uk\coldbox\system\cache\CacheFactory.cfc [186]
D:\websites\www.mysite.co.uk\coldbox\system\ioc\scopes\CacheBox.cfc [34]
D:\websites\www.mysite.co.uk\coldbox\system\ioc\Injector.cfc [261]
D:\websites\www.mysite.co.uk\coldbox\system\web\services\PluginService.cfc [137]
D:\websites\www.mysite.co.uk\coldbox\system\web\services\PluginService.cfc [153]
D:\websites\www.mysite.co.uk\coldbox\system\web\Controller.cfc [371]
D:\websites\www.mysite.co.uk\coldbox\system\web\services\ExceptionService.cfc [40]
D:\websites\www.mysite.co.uk\coldbox\system\Coldbox.cfc [350]
D:\websites\www.mysite.co.uk\Application.cfc [137]

with line 137 being
<cfset processColdBoxRequest()>

The CacheFactory code is a cflock

Is this a known cf thing for cflock for high volume sites?

Thanks

That bit of code is retrieving a cache from the cache factory. It is a readonly lock, so the only way it would be blocked is if the removeCache(), replaceCache(), registerCache(), or configure() methods are being called. Unless you do runtime modifications to your cache config, those methods should only be called when the framework is starting up or being reinitted.

Are these errors perhaps being thrown while a reinit is happening? Also, check your ColdBox settings to make sure you have production settings enabled and config isn’t being reloaded.

On an interesting note, this code is trying to get a cache, so it can fetch the logger plugin from it to handle an exception. figuring out what that exception is might shed some light on what is happening.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Thanks Brad.

Its possible that its is caused at reinit. We have been getting bombarded with traffic that has been causing the instances to fail and restart so that may be why.
I will see if i can find the underlying cause and get back.

website config reload is not enabled.

Out of curiosity, is all your traffic handled by a single server or a cluster? 20 Mil page views/month is a healthy amount of visitors!

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com