Excessive Deadlocking, can anyone help me out?

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Excessive Deadlocking, can anyone help me out?

    I'm getting this error:

    "Error Executing Database Query. [Macromedia][SQLServer JDBC
    Driver][SQLServer]Transaction (Process ID 63) was deadlocked on lock resources
    with another process and has been chosen as the deadlock victim. Rerun the
    transaction. "

    About 25 times a day.

    Our configuration is CF MX7 running on 2 servers clustered with a Big IP box.
    One server runs MS SQL Server 2000 standard edition. The website is not getting
    crazy traffic, maybe 2-3 simultaneous hits throughout the day.

    What seems to happen is that the deadlock occurs when a page is running
    updates to 4 different tables. I am not using cftransaction tags, could this be
    the problem?

    hih Guest

  2. Similar Questions and Discussions

    1. What's the down-side of excessive resolution?
      I've read that too high resolution in your layouts is bad for image quality. Can anyone explain why this is? For instance - the client sends me an...
    2. CFMX7/SQL Server Client Variable Deadlocking
      Right after I installed CFMX7 on my production intranet server, I began getting consistent deadlocks on my SQL Server. All of the deadlocks are...
    3. excessive comments (was: RDoc and i18n)<Pine.LNX.4.44.0310230647410.23172-100000@ool-4355dfae.dyn.optonline.net>
      Hi -- On Thu, 23 Oct 2003, Austin Ziegler wrote: But if it's a *really* simple method, in the sense that its name says everything that needs...
    4. Excessive spam
      Ever since I stupidly answered a 'free offer' advert that came along with the Norton Utilities registration site, I have been flooded with e-mailed...
    5. Excessive Memory on Normal dB
      I have created a dB that appears to be normal in all aspects. It has 1400 fields, 900+ Scripts and NO DATA INPUT or Photographs. (Not Yet...
  3. #2

    Default Re: Excessive Deadlocking, can anyone help me out?

    Are these 4 SQL Updates in your CF or in a Stored Procedure? If in CF, then
    theoretically yes that could be the cause of your deadlock ... assuming that
    you have a lot of other users updating at the same time.

    -brian

    "hih" <webforumsuser@macromedia.com> wrote in message
    news:df1kk1$nqd$1@forums.macromedia.com...
    > I'm getting this error:
    >
    > "Error Executing Database Query. [Macromedia][SQLServer JDBC
    > Driver][SQLServer]Transaction (Process ID 63) was deadlocked on lock
    resources
    > with another process and has been chosen as the deadlock victim. Rerun the
    > transaction. "
    >
    > About 25 times a day.
    >
    > Our configuration is CF MX7 running on 2 servers clustered with a Big IP
    box.
    > One server runs MS SQL Server 2000 standard edition. The website is not
    getting
    > crazy traffic, maybe 2-3 simultaneous hits throughout the day.
    >
    > What seems to happen is that the deadlock occurs when a page is running
    > updates to 4 different tables. I am not using cftransaction tags, could
    this be
    > the problem?
    >

    Brian Hogue Guest

  4. #3

    Default Re: Excessive Deadlocking, can anyone help me out?

    well the queries are not stored procedures, but i did a quick audit and it
    seems that the 4 updates were all occuring against 1 data table in seperate
    queries, very dumb i know, but the program is getting to be 5 years old and you
    know how CF 4.5 code can get bad over time...

    hih 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