House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Server (CF-Server)

Scheduled Task problems in ColdFusion 9

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jennifer Lehmann
01/25/2012 05:41 PM

I have a scheduled task that generates over 5,000 email.  It runs at 10:00 PM CST and in CF8 ran without error. In CF9 it runs the memory up and crashes after 20 minutes into the task. CF8 server is Windows 2003 with CF8 32 bit CF9 server is Windows 2008 R2 with CF9 64 bit I can't keep the CF8 servers up to run this task so how can I get it working in CF9? I can send the code, it is lengthy, but what would do this in CF8 but blow up in CF9.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
01/25/2012 05:55 PM

> I have a scheduled task that generates over 5,000 email.  It runs at 10:00 PM CST and in CF8 ran without error. > > In CF9 it runs the memory up and crashes after 20 minutes into the task. > > CF8 server is Windows 2003 with CF8 32 bit > CF9 server is Windows 2008 R2 with CF9 64 bit A 64-bit instance will require twice as much memory as a 32-bit instance to store the same amount of numeric data. You will need to increase the memory allocated to the 64-bit instance accordingly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Mike Chytracek
01/25/2012 05:56 PM

Memory handling is a bit different.  Can you post the code? I have a scheduled task that generates over 5,000 email.  It runs at 10:00 PM CST and in CF8 ran without error. In CF9 it runs the memory up and crashes after 20 minutes into the task. CF8 server is Windows 2003 with CF8 32 bit CF9 server is Windows 2008 R2 with CF9 64 bit I can't keep the CF8 servers up to run this task so how can I get it working in CF9? I can send the code, it is lengthy, but what would do this in CF8 but blow up in CF9.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jennifer Lehmann
01/25/2012 06:12 PM

----- Excess quoted text cut - see Original Post for more ----- CF8 is installed in a Stand Alone configuration with 1 GB memory for everything on the server.  CF9 is in instances and the scheduled task is running within that 1 GB space.  So I should allow 2GB of RAM for the CF9 instance?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Byron Mann
01/25/2012 06:22 PM

A possible option to have it run without taking over the machine would be to run the send inside a cfthread with a low priority. Otherwise it does sound like a memory issue. Byron Mann Lead Engineer and Architect Hostmysite.com On Jan 25, 2012 6:13 PM, "Jennifer Lehmann" <jalehman@uillinois.edu> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
01/25/2012 06:23 PM

> CF8 is installed in a Stand Alone configuration with 1 GB memory for everything on the server.  CF9 is in instances and the scheduled task is > running within that 1 GB space.  So I should allow 2GB of RAM for the CF9 instance? I'd start with that, yes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jochem van Dieten
02/02/2012 06:48 AM

> I have a scheduled task that generates over 5,000 email.  It runs at 10:00 PM CST and in CF8 ran without error. > In CF9 it runs the memory up and crashes after 20 minutes into the task. If you have scheduled task problems, check if you have debugging enabled on the server. Since scheduling requests originate from localhost they are likely to be in the debugging IP address filter and will generate a ton of debugging info. Normal requests aren't from localhost and will not generate the debugging info, so you will not notice that debugging is enabled under normal operation. Jochem -- Jochem van Dieten http://jochem.vandieten.net/


<< Previous Thread Today's Threads Next Thread >>

Search cf-server

May 23, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference