CF hangs when database server hangs or crashes

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default CF hangs when database server hangs or crashes

    This may be as simple as a configuration change, but hoping someone understands
    this behavior and can offer suggestions (or at least additional questions to
    ask to better isolate the source of the problem)...

    Environment:
    ColdfusionMX7 is running on a Linux box (Suse Enterprise 9 to be specific).
    It also shares the server with Apache. This is our primary/public CF server.

    We have a second server (running Windows Server (2003, I believe) that runs
    another copy of ColdFusion, Access and MySQL. Our Primary CF server has a
    MySQL datasource which points to this server. Some CF apps on the primary
    server also rely on output from CF apps on this server.

    The problem occurs when the Windows server becomes "unavailable". It may be
    because the disk runs out of space (so apps stop responding), the server itself
    hangs or crashes... Basically anything that causes it to freeze or crash....
    stop responding.

    This causes Coldfusion on the primary server to follow suit -- it will quickly
    freeze itself and stay frozen until there is human intervention. Even if the
    Windows server is corrected (fixed/rebooted/whatever), the primary CF server
    will stay frozen until it is manually restarted.

    Obviously I would expect the application to be robust enough to handle
    failures of that nature, and have the ability to recover (or fail even
    non-gracefully) from those conditions, but that's not what we're experiencing
    (we saw the same behavior on CF 5 as well).

    Are we doing something wrong that sounds familiar to someone, or is there a
    configuration that may make sense on the surface that we don't recognize as
    problematic?

    Even though we're working to stabilize the Windows server, we stil feel it's
    important to make sure that our primary CF server doesn't just choke the life
    out of everyone's data for all eternity when it gets upset. :-)

    Help, insight, questions most appreciated.


    Skjaeret Guest

  2. Similar Questions and Discussions

    1. coldfusion server hangs, then crashes once or twice a day
      I have tried fixes from the following pages: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18540...
    2. Server hangs
      Hi, Since we have upgraded to Coldfusion MX 7.0 the server hangs at least once a weak. I have been searching in the logfiles but nothing is...
    3. ASP page hangs on opening connection object to mdb database
      I have a number of websites running against several Access databases. Every once in a while (under relatively heavy load, but rarely more than 1...
    4. Server hangs after first installation
      I have installed a c20 with 433. After rebooting it hangs after "Completed NFS-Services" Any ideas whats going wrong ? kind regards and thanks...
    5. HPL hangs server
      Hi Bill, Allocating lot of shared memory segment is normal. It depends on the load that you are trying to do. Few questions:- 1. Are u using...
  3. #2

    Default Re: CF hangs when database server hangs or crashes

    Using MS Access in a multi-threaded fashion has been known to cause
    stability issues in the past on some customer configurations. Not sure it
    that could be the root of your stability issues or not, but that's something
    that did jump out at me.



    "Skjaeret" <webforumsuser@macromedia.com> wrote in message
    news:d8cart$5da$1@forums.macromedia.com...
    > This may be as simple as a configuration change, but hoping someone
    > understands
    > this behavior and can offer suggestions (or at least additional questions
    > to
    > ask to better isolate the source of the problem)...
    >
    > Environment:
    > ColdfusionMX7 is running on a Linux box (Suse Enterprise 9 to be
    > specific).
    > It also shares the server with Apache. This is our primary/public CF
    > server.
    >
    > We have a second server (running Windows Server (2003, I believe) that
    > runs
    > another copy of ColdFusion, Access and MySQL. Our Primary CF server has a
    > MySQL datasource which points to this server. Some CF apps on the primary
    > server also rely on output from CF apps on this server.
    >
    > The problem occurs when the Windows server becomes "unavailable". It may
    > be
    > because the disk runs out of space (so apps stop responding), the server
    > itself
    > hangs or crashes... Basically anything that causes it to freeze or
    > crash....
    > stop responding.
    >
    > This causes Coldfusion on the primary server to follow suit -- it will
    > quickly
    > freeze itself and stay frozen until there is human intervention. Even if
    > the
    > Windows server is corrected (fixed/rebooted/whatever), the primary CF
    > server
    > will stay frozen until it is manually restarted.
    >
    > Obviously I would expect the application to be robust enough to handle
    > failures of that nature, and have the ability to recover (or fail even
    > non-gracefully) from those conditions, but that's not what we're
    > experiencing
    > (we saw the same behavior on CF 5 as well).
    >
    > Are we doing something wrong that sounds familiar to someone, or is there
    > a
    > configuration that may make sense on the surface that we don't recognize
    > as
    > problematic?
    >
    > Even though we're working to stabilize the Windows server, we stil feel
    > it's
    > important to make sure that our primary CF server doesn't just choke the
    > life
    > out of everyone's data for all eternity when it gets upset. :-)
    >
    > Help, insight, questions most appreciated.
    >
    >

    Damon Cooper Guest

  4. #3

    Default Re: CF hangs when database server hangs or crashes

    Also seeing the same thing.
    Web Servers and SQL Servers are Windows.
    Web servers only run CF and IIS.
    SQL just running SQL.
    If SQL server goes down, I have to check every IIS Web to be 100% sure
    that they all are still seeing the SQL server when it comes back up.

    fquinn@bcoe.org Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139