I built a little test application to try and isolate the problem. I ran it on 
our development and production machines with similar results. Machine specs:
Dev:
P3 600mhz
512mb ram
Win2k fully patched
CF7 multiserver config on JRun 4 with latest updater
JRun config for dev machine:
256 max heap size
args: -server -Xmx256m -Xms224m -XX:NewSize=64m -XX:PermSize=32m 
-XX:+UseConcMarkSweepGC -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m 
-DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS 
-Dcoldfusion.rootDir={application.home}/

Prod:
Dual Xeon 2.2Ghz
2Gb ram
Win2k fully patched
CF7 multiserver config on JRun 4 with latest updater
JRun config for prod machine:
1024 max heap size
args: -server -Xmx1024m -Xms512m -XX:NewSize=64m -XX:PermSize=32m 
-XX:+UseConcMarkSweepGC -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m 
-DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS 
-Dcoldfusion.rootDir={application.home}/

On these servers I set up this small app:
application.cfm:
<cfmodule name="corporate.machine.machine_init">
<cfapplication
     name="myTestApp"
     clientmanagement="yes"
     sessionmanagement="yes"
     setclientcookies="yes"
     sessiontimeout="3"
     clientstorage="testDSN"
     setdomaincookies="yes">

index.cfm:
does not contain any CF code, just the string "app loaded".

The "machine_init" tag contains about 7 cfset statements, nothing else.

I then applied some load to the site using Microsoft's Web Application Stress 
Tool, using 5 users. While the load was being applied, I restarted the JRun 
service for this app to simulate a restart on a live production system.

I'm still waiting for the server to come back up, it's been 30 minutes so far. 
The Jrun.exe process is pegging at around 90-95% cpu usage, and I can't get 
anything to come back in a browser.

With no load applied, it seems to come up within a few minutes.

If I remove the cfmodule tag, it still takes a long time, but does eventually 
begin serving pages.

I have no idea what's wrong here, any advice you can give is greatly 
appreciated.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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

Reply via email to