connection pooling

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Trevor Hartman

    #1

    connection pooling

    Hi,

    Every now and then (once a week maybe), I get this error on my page saying
    Timeout Expired. The timeout period elapsed prior to obtaining a connection
    from the pool. This may have occurred because all pooled connections were
    in use and max pool size was reached. I don't know anything about
    connection pooling, but could someone give me a suggestion on how to take
    care of this? It usually goes away by itself eventually, or I just restart
    IIS.

    Thanks - Trevor


  • Swanand Mokashi

    #2
    Re: connection pooling

    Are you using the same user name and password to connect to SQL Server (I
    assume) , everytime you connect ?
    If not you are NOT using the advantages of connection pooling.
    --
    Swanand Mokashi
    Microsoft Certified Professional
    The personal homepage of Swanand Mokashi — engineer, founder of Malaika Consultants, and a curious tinkerer writing about technology, music, and life.

    Home of the Stock Quotes, Quote of the day and Horoscope web services
    "Trevor Hartman" <synapsee@hotma il.com> wrote in message
    news:O1mATEUVDH A.2192@TK2MSFTN GP10.phx.gbl...[color=blue]
    > Hi,
    >
    > Every now and then (once a week maybe), I get this error on my page saying
    > Timeout Expired. The timeout period elapsed prior to obtaining a[/color]
    connection[color=blue]
    > from the pool. This may have occurred because all pooled connections were
    > in use and max pool size was reached. I don't know anything about
    > connection pooling, but could someone give me a suggestion on how to take
    > care of this? It usually goes away by itself eventually, or I just[/color]
    restart[color=blue]
    > IIS.
    >
    > Thanks - Trevor
    >
    >[/color]


    Comment

    • Mark Heimonen

      #3
      Re: connection pooling

      You can receive this error if you forget to close your database connections
      when you are done with them. Take a look at Management-->Current
      Activity-->Process Info in Enterprise Manager. If you see a lot.
      Double-clicking on each activity will tell you the last command that was
      run. If you see a lot of activities with the same command listed, search
      your code for references to that command. If this is the case, Most likely,
      you are forgetting to close the connection somewhere.

      "Swanand Mokashi" <swanand@swanan dmokashi.com> wrote in message
      news:u$0gYIUVDH A.2224@TK2MSFTN GP09.phx.gbl...[color=blue]
      > Are you using the same user name and password to connect to SQL Server (I
      > assume) , everytime you connect ?
      > If not you are NOT using the advantages of connection pooling.
      > --
      > Swanand Mokashi
      > Microsoft Certified Professional
      > http://www.swanandmokashi.com/
      > Home of the Stock Quotes, Quote of the day and Horoscope web services
      > "Trevor Hartman" <synapsee@hotma il.com> wrote in message
      > news:O1mATEUVDH A.2192@TK2MSFTN GP10.phx.gbl...[color=green]
      > > Hi,
      > >
      > > Every now and then (once a week maybe), I get this error on my page[/color][/color]
      saying[color=blue][color=green]
      > > Timeout Expired. The timeout period elapsed prior to obtaining a[/color]
      > connection[color=green]
      > > from the pool. This may have occurred because all pooled connections[/color][/color]
      were[color=blue][color=green]
      > > in use and max pool size was reached. I don't know anything about
      > > connection pooling, but could someone give me a suggestion on how to[/color][/color]
      take[color=blue][color=green]
      > > care of this? It usually goes away by itself eventually, or I just[/color]
      > restart[color=green]
      > > IIS.
      > >
      > > Thanks - Trevor
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...