>> if you change the service to "interact with desktop"  <<
Very good point.  I run my servers this way.  The other benefit is it's still a 
service so if the problem takes JRun down, the jrunsvc.exe will restart the 
service - something that doesn't happen when you run command line.   
 
Actually stack traces are a poor (though necessary) tool from the CF developer 
standpoint.   It's not the information, it's the *presentation* that is 
lacking.  And, who wants to have to be around at 3:00AM just to get a stack 
trace when a particular hiccup happens?
 
The idea of CF MX is to hide java from the typical developer/user.   Stack 
traces by their very nature are snap shots.
A real-time utility to show all templates running - where you can drill down to 
WHICH LINE a slow or hanging template spends it's time  - plus any system 
events - would be far more useful for users that are debugging typical problems.
 
This type of debug utility is on the wish list for the next major version of CF 
and I hope it gets in.
 
Stephen Dupre
Macromedia QA 

________________________________

From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
Sent: Tue 7/19/2005 7:28 AM
To: JRun-Talk
Subject: RE: Jrun 99%



I highly recommend this approach... I used it last week to figure out a problem 
I *never* would have found on my own.  One thing: For 6.1 at least, you don't 
have to run jrun from the command linel; if you change the service to "interact 
with desktop" and restart it, it will open a command window and you can 
ctrl-break in it to create the dumps, which go the one of the jrun log files.  
You need to be able to connect to the machine's desktop to use this approach 
though.
Good luck.
  Mark

________________________________

From: Stephen Dupre [mailto:[EMAIL PROTECTED]
Sent: Mon 7/18/2005 8:07 PM
To: JRun-Talk
Subject: RE: Jrun 99%



"About every hour or so" sounds suspicious and familiar.   Are you using 6.1 or 
7.0?

Do you run any scheduled tasks on the hour?    Does it go down or stay at 99% 
until you reboot? 

We have ONE administrative scheduled tasks that CF does.... client variables.  
If you have them in the registry and you have > 10,000 of them, the processing 
of "expiring" 90 day old clients through the registry is CPU intensive.

If you could get a stack trace (technote 18339 - 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18339) we could 
at least see what's going on during the 99%.

You have to start JRun from the command line.

jrun -start default (6.1)
jrun -start cfusion or coldfusion (7.0 - depending on edition).

When you see it start to spike, set focus to the DOS Window (click the title 
bar a few times and hit <NL>) and hit Control+(Pause/Break) (not control-C 
which everyone does by instinct - that kills JRun).

If you can get me a stack trace during the 99% CPU (it will be difficult so 
have your cursor over the Window and FOCUS on the DOS window ready to go.

Stephen Dupre
Macromedia QA

________________________________

From: Robert Walters [mailto:[EMAIL PROTECTED]
Sent: Mon 7/18/2005 5:40 PM
To: JRun-Talk
Subject: Jrun 99%



So I am still battling with jrun.exe hitting 99% of my server CPU on a
regular basis.  I followed MACR, SARGE, and Forta's book and tweaked
this thing for weeks.  All our apps are low key and cache results so
that it takes down CF overhead.  But every hour or so it still hits
99%.  We tweaked CF admin and the jrun config file.

Does anyone have working settings for Windows 2003 with IIS 6?  We
cannot figure it out.

The real funny thing is that our server has an average of under 1 user
at a time.  Talking about a low load server that doesn't work.  What
happens when the site starts really getting used?  Do we have to switch
to ASP or PHP?

Thanks....Rob Walters







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how to get a fax number that sends and receives faxes using your 
current email address
http://www.houseoffusion.com/banners/view.cfm?bannerid=64

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5715
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to