Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old June 6th, 2008, 11:01 AM
Member
 
Join Date: Mar 2008
Location: INDIA
Age: 23
Posts: 50
Default cfmodule calls - issues with server performance, hanging under heavy load

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?
Reply
  #2  
Old June 6th, 2008, 03:16 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 12,766
Default

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.
Reply
  #3  
Old June 7th, 2008, 07:25 AM
Member
 
Join Date: Mar 2008
Location: INDIA
Age: 23
Posts: 50
Default

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?
Reply
  #4  
Old June 7th, 2008, 03:28 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 12,766
Default

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
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles