Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1051843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:59:56+00:00 2026-05-16T16:59:56+00:00

For the last few years we’ve been randomly seeing this message in the output

  • 0

For the last few years we’ve been randomly seeing this message in the output logs when running scheduled tasks in ColdFusion:

Recursion too deep; the stack overflowed.

The code inside the task that is being called can vary, but in this case it’s VERY simple code that does nothing but reset a counter in the database and then send me an email to tell me it was successful. But I’ve seen it happen with all kinds of code, so I’m pretty sure it’s not the code that’s causing this problem.

It even has an empty application.cfm/cfc to block any other code being called.

The only other time we see this is when we are restarting CF and we are attempting to view a page before the service has fully started.

The error rarely happens, but now we have some rather critical scheduled tasks that cause issues if they don’t run. (Hence I’m posting here for help)

Memory usage is fine. The task that ran just before it reported over 80% free memory. Monitoring memory through the night doesn’t show any out-of-the-ordinary spikes. The machine has 4 gigs of memory and nothing else running on it but the OS and CF. We recently tried to reinstall CF to resolve the problem, but it did not help. It happens on several of our other servers as well.

This is an internal server, so usage at 3am should be nonexistent. There are no other scheduled tasks being run at that time.

We’ve been seeing this on our CF7, CF8, and CF9 boxes (fully patched).

The current box in question info:

  • CF version: 9,0,1,274733
  • Edition: Enterprise
  • OS: Windows 2003 Server
  • Java Version: 1.6.0_17
  • Min JVM Heap: 1024
  • Max JVM Heap: 1024
  • Min Perm Size: 64m
  • Max Perm Size: 384m
  • Server memory: 4gb
  • Quad core machine that rarely sees more than 5% CPU usage

JVM settings:

-server -Dsun.io.useCanonCaches=false -XX:PermSize=64m -XX:MaxPermSize=384m -XX:+UseParallelGC -XX:+AggressiveHeap -Dcoldfusion.rootDir={application.home}/../
-Dcoldfusion.libPath={application.home}/../lib
-Doracle.jdbc.V8Compatible=true

Here is the incredible complex code that failed to run last night, but has been running for years, and will most likely run tomorrow:

<cfquery datasource="common_app">
    update  import_counters
    set current_count = 0
</cfquery>

<cfmail subject="Counters reset" to="my@email.com" from="my@email.com"></cfmail>

If I missed anything let me know. Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:59:57+00:00Added an answer on May 16, 2026 at 4:59 pm

    We had this issue for a while after our server was upgraded to ColdFusion 9. The fix seems to be in this technote from Adobe on jRun 4: http://kb2.adobe.com/cps/950/950218dc.html

    You probably need to make some adjustments to permissions as noted in the technote.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working with databases for the last few years and I'd like to
I have been working as a native C++ programmer for last few years. Now
On my current project, we've been using Struts 1 for the last few years,
I've been using C# for the last few years and I am currently bug
I've been spoilt with C# coding the last few years and now I'm back
For the last few years I've been working as a self-employed software developer. Doing
I have been using distributed version control systems for the last few years, but
I've been stuck using .Net 2.0 for the last few years and have only
For the last few years I have been using Firefox, Firebug, and the Web
When browsing through the internet for the last few years, I'm seeing more and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.