Connecting Tech Pros Worldwide Help | Site Map

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

Member
 
Join Date: Mar 2008
Location: INDIA
Posts: 50
#1: Jun 6 '08
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?
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Jun 6 '08

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


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.
Member
 
Join Date: Mar 2008
Location: INDIA
Posts: 50
#3: Jun 7 '08

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


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?
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#4: Jun 7 '08

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


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.
Reply