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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CF FAN
    New Member
    • Mar 2008
    • 50

    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?
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    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.

    Comment

    • CF FAN
      New Member
      • Mar 2008
      • 50

      #3
      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?

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        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.

        Comment

        Working...