Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I failed to call Dispose()

I failed to call Dispose()

Scheduled Pinned Locked Moved The Lounge
helplearning
9 Posts 8 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #1

    A bit amateur-hour, that. I've spent 2 hours trying to work out why things work great for 5 page views and then die a horrible death-by-timeout for every cache call. Several hundred lines of extra logging calls and there it was: the connection pool was being exhausted because I wasn't using a using statement. But of course the kicker is that the original error message telling me that it was a connection pool issue had been staring me in the face all that time :doh:

    cheers Chris Maunder

    T A OriginalGriffO D G 7 Replies Last reply
    0
    • C Chris Maunder

      A bit amateur-hour, that. I've spent 2 hours trying to work out why things work great for 5 page views and then die a horrible death-by-timeout for every cache call. Several hundred lines of extra logging calls and there it was: the connection pool was being exhausted because I wasn't using a using statement. But of course the kicker is that the original error message telling me that it was a connection pool issue had been staring me in the face all that time :doh:

      cheers Chris Maunder

      T Offline
      T Offline
      TinTinTiTin
      wrote on last edited by
      #2

      Shit happens :)

      A person who never made a mistake never tried anything new -Einstein, Albert

      1 Reply Last reply
      0
      • C Chris Maunder

        A bit amateur-hour, that. I've spent 2 hours trying to work out why things work great for 5 page views and then die a horrible death-by-timeout for every cache call. Several hundred lines of extra logging calls and there it was: the connection pool was being exhausted because I wasn't using a using statement. But of course the kicker is that the original error message telling me that it was a connection pool issue had been staring me in the face all that time :doh:

        cheers Chris Maunder

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #3

        Oh, you're one of THOSE guys, eh? Had one at a previous job. Only, he wrote a massive website over 5+ years, so there were undisposed SQL connections everywhere. I eventually got it all fixed up by naming the connection strings and tracking down the locations that left the most unclosed connections. Took much longer than 2 hours!

        Thou mewling ill-breeding pignut!

        C 1 Reply Last reply
        0
        • C Chris Maunder

          A bit amateur-hour, that. I've spent 2 hours trying to work out why things work great for 5 page views and then die a horrible death-by-timeout for every cache call. Several hundred lines of extra logging calls and there it was: the connection pool was being exhausted because I wasn't using a using statement. But of course the kicker is that the original error message telling me that it was a connection pool issue had been staring me in the face all that time :doh:

          cheers Chris Maunder

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          You've had a long week, these things happen ... at least it didn't get out into the outside world, where 10.46 Million members might find out. Oh... :laugh:

          Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          1 Reply Last reply
          0
          • C Chris Maunder

            A bit amateur-hour, that. I've spent 2 hours trying to work out why things work great for 5 page views and then die a horrible death-by-timeout for every cache call. Several hundred lines of extra logging calls and there it was: the connection pool was being exhausted because I wasn't using a using statement. But of course the kicker is that the original error message telling me that it was a connection pool issue had been staring me in the face all that time :doh:

            cheers Chris Maunder

            D Offline
            D Offline
            dan sh
            wrote on last edited by
            #5

            Time to check recent posts in Weird and Wonderful forum. I guess it would have made it there.

            1 Reply Last reply
            0
            • C Chris Maunder

              A bit amateur-hour, that. I've spent 2 hours trying to work out why things work great for 5 page views and then die a horrible death-by-timeout for every cache call. Several hundred lines of extra logging calls and there it was: the connection pool was being exhausted because I wasn't using a using statement. But of course the kicker is that the original error message telling me that it was a connection pool issue had been staring me in the face all that time :doh:

              cheers Chris Maunder

              G Offline
              G Offline
              Gary R Wheeler
              wrote on last edited by
              #6

              Oh, so you're indisposed now? I'll get my coat, officer...

              Software Zen: delete this;

              1 Reply Last reply
              0
              • A AspDotNetDev

                Oh, you're one of THOSE guys, eh? Had one at a previous job. Only, he wrote a massive website over 5+ years, so there were undisposed SQL connections everywhere. I eventually got it all fixed up by naming the connection strings and tracking down the locations that left the most unclosed connections. Took much longer than 2 hours!

                Thou mewling ill-breeding pignut!

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #7

                Real Programmers don't Dispose. They hide the object in a rolled up carpet in the back of an abandoned car.

                cheers Chris Maunder

                1 Reply Last reply
                0
                • C Chris Maunder

                  A bit amateur-hour, that. I've spent 2 hours trying to work out why things work great for 5 page views and then die a horrible death-by-timeout for every cache call. Several hundred lines of extra logging calls and there it was: the connection pool was being exhausted because I wasn't using a using statement. But of course the kicker is that the original error message telling me that it was a connection pool issue had been staring me in the face all that time :doh:

                  cheers Chris Maunder

                  Mike HankeyM Offline
                  Mike HankeyM Offline
                  Mike Hankey
                  wrote on last edited by
                  #8

                  'There is nothing more deceptive than an obvious fact.' Sherlock Holmes Quote -The Bascombe Valley Mystery

                  Along with Antimatter and Dark Matter they've discovered the existence of Doesn't Matter which appears to have no effect on the universe whatsoever! Rich Tennant 5th Wave

                  1 Reply Last reply
                  0
                  • C Chris Maunder

                    A bit amateur-hour, that. I've spent 2 hours trying to work out why things work great for 5 page views and then die a horrible death-by-timeout for every cache call. Several hundred lines of extra logging calls and there it was: the connection pool was being exhausted because I wasn't using a using statement. But of course the kicker is that the original error message telling me that it was a connection pool issue had been staring me in the face all that time :doh:

                    cheers Chris Maunder

                    CPalliniC Offline
                    CPalliniC Offline
                    CPallini
                    wrote on last edited by
                    #9

                    Chris Maunder wrote:

                    I wasn't using a using

                    No, you weren't, definitely.

                    Veni, vidi, vici.

                    In testa che avete, signor di Ceprano?

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups