Server Locks up... Tracking down cause.

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Server Locks up... Tracking down cause.

    One of our servers It is running CF 4.5, and has about 50 websites. All of
    which are very old and very poorly written. I know how to fix the problems that
    cause the crashes. I can even duplicate the case in which I know are causing
    the errors. I just can't put my finger on which pages the bad code is on.

    When I recreate the problems and test them, the cf log files never log the
    error location. IIS does not register it as a loaded page so there is no record
    their either.

    We monitor our servers very well and so we know WHEN the errors are occurring,
    we just need to find WHERE.

    How can we find the pages with the bad code?

    JonnyWeb.com Guest

  2. Similar Questions and Discussions

    1. InDesign tracking vs. Quark tracking?
      Hi Anne Marie, I would describe letter, word, and glyph scaling parameters as things the paragraph composer can fuzzy-logic work with. Fuzzy logic...
    2. Deleting FLV's from server (FCS locks them up)
      Hello, I have a script setup that records an FLV to my FCS application's directory. But in the event the recorded FLV is not used, i want to...
    3. Server Locks Up each Night
      My Cold Fusion 7 server is dead every moning. I can log onto the box (Win2k3) with no problem and can stop and start services all I want, but the...
    4. Server Eventually Locks up - Jrun Bug
      Ugh it never fails. A site I developed went live today. It is crashing an burning. The coldfusion 6.1 mx server is hogging memory and not...
    5. ASP Locks up - Windows 2003 Standard Server
      "Bhavana" <blekkala@unlnotes.unl.edu> wrote in message news:0bb501c36687$9dfa98d0$a001280a@phx.gbl... Perhaps a memory leak in one or more of ...
  3. #2

    Default Re: Server Locks up... Tracking down cause.

    Is the "bad code" tied to a database in anyway? Or it is specific CF code that
    is bogging down your server? It is unfortunate that you haven't been able to
    track down the source. I trust it would be too time-consuming to do a per-page
    analysis to attempt manually seeking out the error?

    moneybagsxp Guest

  4. #3

    Default Re: Server Locks up... Tracking down cause.

    One of the crash senerios is when a text string is inserted into a integer
    field.

    The other is when application variables are not locked when being writen to
    (for this one I have done some page by page searching and correcting but it is
    a little bit unrealistic to do it to anything but the application.cfm files).

    JonnyWeb.com Guest

  5. #4

    Default Re: Server Locks up... Tracking down cause.

    well your 1st case shouldn't crash the server, just that page/app. your 2nd
    case is more serious for that version of cf. i don't recall the details of
    cf4.5 but is there an admin setting to single thread? that might buy you some
    time while you figure out what to do next.

    if possible, i'd suggest upgrading cf (then unlocked writes would be a race
    condition issue). if not, then no choice but search & replace (wrapping those
    reads & writes in cflock).

    PaulH Guest

  6. #5

    Default Re: Server Locks up... Tracking down cause.

    The code below will crash my server running CF 4.5. The first thread lock
    makes the processor jump to 50% the second jumps to 100% and then crash it
    goes. I am surprised how many people don't know that.

    The fields are both date fields.




    <cfset form.BeginningDate="a">
    <cfset form.EndingDate="a">
    <CFINSERT datasource="Shared_Events_calendar"
    TABLENAME="Events"
    formfields="BeginningDate,EndingDate">

    JonnyWeb.com Guest

  7. #6

    Default Re: Server Locks up... Tracking down cause.

    About a week ago I made that change in the cf admin. It helped some and my
    tests showed it much more diffacult to crash the server. In fact I couldn't do
    it using session variables. I think that it could be done with application
    variables but didn't have the time to test that.

    Thanks for the suggestion PaulH.

    JonnyWeb.com Guest

  8. #7

    Default Re: Server Locks up... Tracking down cause.

    that code crashes your server? i admit its been a long long while but i don't
    recall something that trivial dropping the server--though we've never used
    cfinsert, etc.

    i vaguely recall there being cf4.5.1 and a service pack or two for that. did
    you get those installed/


    PaulH Guest

  9. #8

    Default Re: Server Locks up... Tracking down cause.

    Yes as noted below.

    Server Information

    Server Product: ColdFusion Server
    Version: 4, 5, 1, SP2
    Edition: Enterprise
    Operating System: Windows NT
    OS Version: 5.0, Service Pack 4
    OS Build Number: 2195

    JonnyWeb.com 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