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

  1. #1

    Default 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


    Trevor Hartman Guest

  2. Similar Questions and Discussions

    1. slow connection - pooling is a solution?
      Hi, Every time, I create a connection to mySQL server, it takes about 3 seconds before the connection is made. The server is at the other side of...
    2. Connection Pooling Error
      Our development team has inherited a web site written in Cold Fusion. In some situations we are now getting an error message "HTTP connection...
    3. CFMX 6.1 and Oracle 9i Connection Pooling
      I'm running CF MX 6.1 Enterprise with the Native Oracle driver and connecting to an Oracle 9i database. I have maintain connections selected . A...
    4. Oracle connection pooling
      Hi, I am getting issues that Oracle collecting opened sessions (connections) from my webservice using regular System.Data.OleDb.OleDbConnection...
    5. Java Connection/Pooling Question
      Hello Everyone, I received an inquiry from one of our developers about a pooling situation he is trying to code for. Not being a java or JDBC...
  3. #2

    Default 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
    [url]http://www.swanandmokashi.com/[/url]
    Home of the Stock Quotes, Quote of the day and Horoscope web services
    "Trevor Hartman" <synapsee@hotmail.com> wrote in message
    news:O1mATEUVDHA.2192@TK2MSFTNGP10.phx.gbl...
    > 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 Guest

  4. #3

    Default 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@swanandmokashi.com> wrote in message
    news:u$0gYIUVDHA.2224@TK2MSFTNGP09.phx.gbl...
    > 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
    > [url]http://www.swanandmokashi.com/[/url]
    > Home of the Stock Quotes, Quote of the day and Horoscope web services
    > "Trevor Hartman" <synapsee@hotmail.com> wrote in message
    > news:O1mATEUVDHA.2192@TK2MSFTNGP10.phx.gbl...
    > > 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
    > >
    > >
    >
    >

    Mark Heimonen Guest

  5. #4

    Default Connection Pooling

    Hi,

    I'm having a security issue that I hope someone here can resolve. I'm running
    web apps through CF 6.0 with a SQL Server 2000 backend. It's come to my
    attention that when a login password on SQL Server is changed, the effects of
    the password don't fully take effect for another 30 mins. Now I'll explain what
    I mean by "don't fully take effect."

    Let's say I have user "bob" with password "password". If I change the password
    to "new_password", both passwords, old and new, will now be valid for the next
    30 mins.

    Essentially, I want the old password to be immediately invalidated when the
    password is changed.

    I posted this message on the Microsoft support newsgroup thinking it was a SQL
    Server issue, but I was redirected to ColdFusion being advised that it may be a
    connection pooling issue.

    Can someone help me out. Is it a CF server configuration that I can "tweak"?

    TIA,
    Eric

    l_eric_l Guest

  6. #5

    Default Connection Pooling

    Hello,

    I have a Cold Fusion application that access a database through a DSN created
    in the Cold Fusion Administrator. I have been doing alot of reading regarding
    connection pooling, and understand that Cold Fusion maintains multiple
    connections to the database that are shared among requests.

    When I specify values for username and password in a cfquery tag, my
    understanding is that these values would override the username and password
    configured in the Cold Fusion Administrator. Since the username and password
    are a part of the connection, is a new connection opened for each cfquery? Or,
    are these connections somehow pooled as well?

    thanks.

    nimoh2 Guest

  7. #6

    Default Re: Connection Pooling

    I found an article on TalkingTree.com written by Steven Erat (Senior Servers
    Support Engineer at Adobe) that answers my question.

    In the article, Steven implies that connections in the pool are identified not
    only by DSN, but by username as well. Therefore, new connections are not
    needed by every cfquery tag, only when there are no connections available in
    the pool for the particular DSN and username.

    nimoh2 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