Ask a Question related to Macromedia ColdFusion, Design and Development.
-
hans blix #1
CF7 taking forever to load initial request
I am running ColdFusion 7 in multiserver config on Win2K. It takes forever (10+
minutes) for the server to display the first page requested, and exponentially
longer when more pages are requested while the server is initializing. If we
wait long enough for it return a page, it will run fine for a few minutes, then
eventually pin the CPU at 100% and not return a page.
I think it has something to do with the initial compilation of the class files
that ColdFusion builds. Any time the server hits a custom tag called with
CFMODULE, the server can take up to 30-45 seconds to build the associated class
file. These are not complex tags, some only consist of CFSET statements. During
this time, the jrun.exe process only uses about 25% of the CPU. It only seems
to slow down during these CFMODULE calls.
This is a pretty straightforward installation of CF, and our code performs
well under CFMX6.1. Thank you for any help you can offer.
hans blix Guest
-
<CFINDEX> is taking forever to update
This problem is on an shared MX7 server at intermedia.net. When updating a custom search record, <cfindex> takes so long (25 seconds, minimum)... -
Movies taking forever to load
This flash movie i try to watch always pauses, http://dv.ouou.com/swf/ouou.swf?id=38d7f45b65c94, anyone know why it takes so long to load even 2... -
ai files taking forever to pdf (IND CS2)
I never usually have trouble with this, but When exporting a current document with ai logos placed (from Indesign CS2 - low res settings) it is... -
PDF taking forever to print?
Hello. I'm working on a document (in Quark 4) with a "fake duotone" (ie. a b&w TIF colourized in Quark). When I print from Quark to my b&w laser... -
Taking FOREVER to save a file
John: There have been too many warnings posted here to count that this is likely to be a problem. You need to work locally. Some can get away... -
hans blix #2
Re: CF7 taking forever to load initial request
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.
hans blix Guest



Reply With Quote

