Just a suggestion: make sure Memory Tracking is not enabled in your CF
monitor. That's what killed our application with similar symptoms.

Wim.

On Fri, Jun 13, 2008 at 7:50 PM, Chris Norloff <[EMAIL PROTECTED]> wrote:

> Well, in CF7, you control the thread life in jrun.xml (in
> C:\JRun4\servers\cfusion\SERVER-INF for multi-server config on Windows).
>
> There's two places to change the settings, in the SchedulerService and the
> ProxyService (pick the right ProxyService for your web server). One is for
> the web server to the web server connector, one is for ColdFusion to the
> web
> server connector, I believe.
>
>
>  <service class="jrunx.scheduler.SchedulerService" name="SchedulerService">
>        ...
>    <attribute name="timeout">300</attribute>
> ....
>  <service class="jrun.servlet.jrpp.JRunProxyService" name="ProxyService">
>        ...
>    <attribute name="timeout">300</attribute>
>
> Using basic jrun metrics logging, I've watched our threads timeout after 5
> min. of inactivity, so it seems to be working for us (CFMX 7.02 multiserver
> on WinServ 2003).
>
> hth,
> Chris
>
> -----Original Message-----
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 13, 2008 1:25 PM
> To: CF-Talk
> Subject: Re: JVM Tuning and <cthread>s... I'm Back
>
> Mark Kruger wrote:
> > So... You are creating a total of 1300 threads with this code?
> >
> Yes, 10 at a time per the Administrator setting with the others queued up
> awaiting their turn.
>
> > This (untested) example makes the loop sleep for 2 seconds after the
> > spawning of every 10 threads. This would add 260 seconds to your
> > request but would likely create enough margin for threads to complete
> > so the thread queue doesn't build too high.
>
> We have played with using a throttle such as this to slow processing.
> But my primary concern right now is that the threads do not go away even
> when all the processing is done and the files exist, the server monitor
> show
> all threads created still running.  I don't see how slowing this down is
> going to help, until I find someway to make them somehow go away sooner or
> later.  Even running the code to just create 10 files leaves 10 threads
> hanging, run it again and there are 20 threads hanging with repeating
> thread
> names.
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307428
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to