We have just recently upgraded a Coldbox 3.8 application to CB 4.2. Everything is mostly working fine; however, there is an issue which is causing the server to crash consistently. We’ve not yet been able to put a finger on the exact issue; however, monitoring with the Java Mission Control (5.5) shows java deadlocks occurring. This was NOT happening with 3.8. We did have some code that was using threads, but that was refactored to be single-threaded, in order to eliminate that as an issue.
Attached is a stacktrace from the Mission Control application. It appears the problem is happening within the Coldbox framework (i.e. funcONREQUESTSTART -> funcRELOADCHECKS -> funcGETSETTING -> funcSETTINGEXISTS)
Has anyone else ran into this issue? We are (literally) getting hundreds of ajp threads blocked. Any ideas would be appreciated.
Thanks!
Kevin S. Anderson
CIDNE/INDURE Mobile - Software Engineer
Intelligent Software Solutions Inc.
Analysis and Information Management Solutions
Phone: 719.452.7456 | Cell: 719.930.2599
Email: kevin.a...@issinc.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/09EED81E-1B80-4657-80B5-221785AFA910%40issinc.com.
For more options, visit https://groups.google.com/d/optout.
Hi, Brad:
Server is running OS Windows 2008 with SQL Server 2008 R2 and Adobe ColdFusion 11 (Update 9).
Attached is a thread trace. It appears the problem is in /coldbox/system/web/Controller.cfc, but I’m not sure why that would be.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/20160822144612.a7243acce6934569d3743d1abfb94fec.411135d483.mailapi%40email01.godaddy.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/F556C7C6-934C-44C1-A553-C85D41937E25%40issinc.com.
It's Kevin. ;-)
--------- Original Message ---------
Email: kevin.anderson@issinc.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+unsubscribe@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/09EED81E-1B80-4657-80B5-221785AFA910%40issinc.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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+unsubscribe@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/20160822144612.a7243acce6934569d3743d1abfb94fec.411135d483.mailapi%40email01.godaddy.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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+unsubscribe@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/F556C7C6-934C-44C1-A553-C85D41937E25%40issinc.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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+unsubscribe@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/20160822145539.a7243acce6934569d3743d1abfb94fec.717e54a836.mailapi%40email01.godaddy.com.
--------- Original Message ---------
--------- Original Message ---------
Email: kevin.a...@issinc.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/09EED81E-1B80-4657-80B5-221785AFA910%40issinc.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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/20160822144612.a7243acce6934569d3743d1abfb94fec.411135d483.mailapi%40email01.godaddy.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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/F556C7C6-934C-44C1-A553-C85D41937E25%40issinc.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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/20160822145539.a7243acce6934569d3743d1abfb94fec.717e54a836.mailapi%40email01.godaddy.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/CAKa5oqJxfF20%2BuBimov%2Bv4tmktiZvQeXOZt_Zdb9JJx4RCk-UA%40mail.gmail.com.
Thanks, Matt, for defending the “honor” of my name! LOL
Brad: You can call me just about anything. Many do and not near as nice as “Ken!”
I’ll get the full stacktrace from the system engineering folks this morning and send it your way.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/20160822150701.a7243acce6934569d3743d1abfb94fec.2e48231df3.mailapi%40email01.godaddy.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/A00E8A7B-F927-4578-BCE9-BF43AD272940%40issinc.com.
Line 791 is a comment. We aren’t doing any duplicate() anywhere of the Coldbox settings structure.
We “had” been using threads (component invocation of CFThread) for the searches but pulled that out. There is a duplicate() function used for the results from the search to avoid the issue caused by structs being passed by reference. I can pull that out if it is indeed an issue.
Below is the relevant code from the SearchService that may be what you are referencing:
// Execute query for specified report in single-threaded mode
try
{
var
data = threadData;
var
thread_reportType = data.module &
"."
& data.reportType &
"."
& data.entity;
var
thread_aReports = data.QueryHelper.SearchReports(theaterFilter = data.theaterFilter,
module = data.module,
reportType = data.reportType,
entity = data.entity,
startDate = data.startDate,
endDate = data.endDate,
userGroupKey = data.userGroupKey,
reportConfig = data.reportConfig,
startRDTS = data.startRDTS,
maxrows = data.maxrows,
latitude = data.latitude,
longitude = data.longitude,
distance = data.distance,
refresh = data.refresh,
customParams = data.customParams);
if( arraylen(thread_aReports) ) {
for(
var j=1;
j <= arraylen(thread_aReports); j++ ) {
arrayAppend(unsortedReports, duplicate(thread_aReports[j]));
}
}
}
catch(
Any e ) {
if( isDefined("thread_reportType")
) {
var
reportCountIndex = replace(thread_reportType,
".",
"",
"all");
if( structKeyExists(reportCounts, reportCountIndex) ) {
structUpdate(reportCounts[reportCountIndex], "status",
"#threadData.reportType#
terminated abnormally. Message: #e.message#,
Detail: #e.detail#");
}
}
LOGGER.error("Error in search. Message=#e.message#,
Detail=#e.detail#");
}
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/20160823084848.a7243acce6934569d3743d1abfb94fec.e9465938c0.mailapi%40email01.godaddy.com.