[cachebox] Cache.reapAll() Causing Thread Overloads

41 views
Skip to first unread message

MaryJo Sminkey

unread,
Apr 24, 2017, 6:29:40 PM4/24/17
to ColdBox Platform
Anyone run into this? Our ColdFusion server is throwing tons of errors due to the ReapAll() in the OnRequestStart, which is recommended when used as standalone. It seems to run out of threads. "coldfusion.util.GenericThreadPool$QueueFullException: Cannot create a new thread because the task queue has reached it maximum limit 5000". The only other thing we used cfthread for is a daily nighttime task. I commented out the line and the errors stopped but as soon as I tried to re-enabled it they started coming in again. 

Mary Jo Sminkey
CFWebtools

br...@bradwood.com

unread,
Apr 24, 2017, 6:34:38 PM4/24/17
to col...@googlegroups.com
Does a full JVM thread dump show if more than one reap thread is running?  It sounds like the reaping is running over and over and never completing.  
 
Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/f3c01787-2139-4913-b2d4-aa693c11bfbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

MaryJo Sminkey

unread,
Apr 24, 2017, 6:52:18 PM4/24/17
to ColdBox Platform


On Monday, April 24, 2017 at 6:34:38 PM UTC-4, Brad Wood wrote:
Does a full JVM thread dump show if more than one reap thread is running?  It sounds like the reaping is running over and over and never completing.  


I'd assume so as well, but I'd have to ask one of our network guys to check the next time it happens. The question still would be, why it's doing that and if there's anything that would help. I am guessing maybe bumping up the Reap Threshold? This is about the 3rd time in a couple months that this has happened and where the server had to be restarted to get past the errors. 

Mary Jo

 

MaryJo Sminkey

unread,
Apr 24, 2017, 6:53:43 PM4/24/17
to ColdBox Platform
Just to clarify, we don't normally see these. When they do occur, the server starts throwing them on every request and the server has to be restarted. 

MJ
Reply all
Reply to author
Forward
0 new messages