By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,053 Members | 1,165 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,053 IT Pros & Developers. It's quick & easy.

cfmodule calls - issues with server performance, hanging under heavy load

P: 48
We have been having issues with server performance and under heavy load JRun seems to hang. Dumps seem to suggest that the pages that are hanging are waiting for another thread to become available - however the line of code where this occurs always seems to be where a cfmodule is called (not necessarily the same module as this changes all the time.)
My question is: when calling cfmodule does it run under the current thread or is another thread taken from the pool to run the module and then control passed back to the original thread?
Jun 6 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
I'm not sure about the exact workings of cfmodule, but can you give more details.

What version of Coldfusion? How many cfmodule calls do you make? How many times is the page likely to be accessed? How often does the hang occur?

PS. did you solve the questions you posted yesterday? If so, post back in the other threads. Thanks.
Jun 6 '08 #2

P: 48
me using coldfusion 8....more than 4 cf module in tht my question is:My question is: when calling cfmodule does it run under the current thread or is another thread taken from the pool to run the module and then control passed back to the original thread?
Jun 7 '08 #3

acoder
Expert Mod 15k+
P: 16,027
As I said, I'm not sure about the threading issues. Are the cfmodules process-intensive? Could they be replaced by cfincludes? Try replacing with includes if you can (if there's no scope issues) and see if that makes a difference.
Jun 7 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.