I've been trying to figure out why my server is so slow to start up - I may
have found the answer, although I am still investigating this. I amusing
the fileMon utility from sysinternals to see what files are being accessed
by CFMX on the first request after the service is restarted.

What I have found is that, on the first run, as soon as a cfc is invoked wth:

<cfinvoke component="mycomponentpath.mycomponent">

ALL of the custom tags paths in the cfadminister are spidered. (BTW - I
have the creation of class files turned off). One of my problems may have
been that one of my custom tags paths contains a couple fo directories with
thousands of files (they were mail files, unrelated to CF, yet, using
filemon I could see that ALL the files were being accessed!. Here is an
example of what filemon shows. It apparently shows that ALL of the CFC's
(but actually ANYTHING in the custom tag path, even images...) get opened
or queried.

Also, prior to my first call to <cfinvoke> I use <cfobject> to create
instances of several CFC's using the same path, and when I do this, it does
not cause JRUN to do the same disk activity along the custom tag paths.

Is my server configured correctly? Is this just normal server behavior?
Whats shown below is repeated for all the CFC's and all custom tags. When
my custom tag path includes a directory which had a folder with *.mail
files in it. ALL of those files were being opened also.... I'm a bit confused.

Also, I had my website root f:\websites\www.mysite.com\ as the custom tag
path, and the log contains all the gif's and jpegs being opened by Jrun....

log file snippet:

12414   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12415   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\iCCVerify.cfm   SUCCESS Attributes: CA
12416   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12417   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\imagetree_expandfolder.lf       SUCCESS Attributes:
CA
12418   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12419   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\imagetree_expandfolder.lf       SUCCESS Attributes:
CA
12420   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12421   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\iMSmailBackup.cfm       SUCCESS Attributes: CA
12422   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12423   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\iMSmailBackup.cfm       SUCCESS Attributes: CA
12424   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12425   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\iMSmailBackup_preCFMX6-1.cfm    SUCCESS Attributes:
CA
12426   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12427   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\iMSmailBackup_preCFMX6-1.cfm    SUCCESS Attributes:
CA
12428   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12429   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\iMSWrapper.cfm  SUCCESS Attributes: A
12430   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12431   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\iMSWrapper.cfm  SUCCESS Attributes: A
12432   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12433   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN       C:\CFusionMX\CustomTags\isemail.cfm
     SUCCESS Attributes: A
12434   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12435   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN       C:\CFusionMX\CustomTags\isemail.cfm
     SUCCESS Attributes: A
12436   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12437   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\_javascript_.cfm  SUCCESS Attributes: CA
12438   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12439   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\_javascript_.cfm  SUCCESS Attributes: CA
12440   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12441   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\lfAccountGrid.cfm       SUCCESS Attributes: A
12442   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS
12443   11:59:33.588 AM
jrun.exe:2612   FASTIO_QUERY_OPEN
C:\CFusionMX\CustomTags\lfAccountGrid.cfm       SUCCESS Attributes: A
12444   11:59:33.588 AM jrun.exe:2612   FSCTL_IS_VOLUME_MOUNTED
C:\CFusionMX\runtime\bin        SUCCESS

fileMon from systernals
http://www.sysinternals.com/ntw2k/source/filemon.shtml.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to