Connection Failure on established datasources

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

  1. #1

    Default Connection Failure on established datasources

    I'm running CF MX 7.01 - with all current hotfixes in place. This is
    connecting to a MS SQL Server database with the SQL drivers. We've recently
    noticed that at fairly random intervals, coldfusion will lose connection to the
    database.

    We get pages of errors in the coldfusion-err.log like this

    A non-SQL error occurred while requesting a connection from zzzzz
    Timed out trying to establish connection.

    At this point the only way to fix this problem is to restart coldfusion. And
    it seems to go on for days and then suddenly stop and be fine again.

    The database can be connected to. I can log into the box, I can connect to
    the datasources via Enterprise Manager.

    I'm at a loss, any ideas whats going on and how to fix this?

    rhouliston Guest

  2. Similar Questions and Discussions

    1. CPAN, LWP and Net:FTP firewall issues? Connection established transfer fails, yet ftp and wget work manual.
      I assume this is a firewall issue, but seeing I'm new to perl I'm not sure what the problem is. I have Perl 5.8.00 installed on RedHat 8.0 with...
    2. cfhttp connection failure
      I have an rss feed that I have been displaying for over a year that suddenly developed a connection failure on my cfhttp tag in the last 2 weeks....
    3. CFHTTP - Connection Failure
      I'm having a very frustrating issue that I need help with. I am using CFHTTP to to a GET of an internal page so that I can parse it for some info. ...
    4. Trusted sql connection failure
      Hi all I have a asp.net application, developed in Beta 2. It is working fine when the project is stored in a web file system mode. I had to...
    5. "A connection to the server could not be established" - Trying to open existing project
      I came in today and tried to edit a project that I was working with, locally, at the tail end of last week. This web project was created, hosted, ...
  3. #2

    Default Re: Connection Failure on established datasources

    Check the ColdFusion server.log to see if you are experiencing slow running pages or losing threads around the time the timeouts occur.
    jdeline Guest

  4. #3

    Default Re: Connection Failure on established datasources

    At exactly the same time I started getting time-out errors, I started getting
    many many of these errors as well

    May 22, 2006 8:57 AM Warning 0
    Thread: jrpp-46, processing template: D:\Inetpub\wwwroot\ping.cfm, completed
    in 30 seconds, exceeding the 30 second warning limit

    This page should have processed in a matter of seconds, all it is, is a single
    query to the db. At this point I end up with a couple of hundred more of these
    until I have to restart the server. But I wasn't sure if this was a cause or a
    symptom

    rhouliston Guest

  5. #4

    Default Re: Connection Failure on established datasources

    In the server log, back up in time, 10-20 minutes, and see if you are getting messages that indicate that threads are beginning to hang. Also, how many concurrent threads is ColdFusion running?
    jdeline Guest

  6. #5

    Default Re: Connection Failure on established datasources

    There were no errors in the server log for the previous 30 min.

    General Settings
    Simultaneous request limit 20
    Timeout requests Yes
    Request Time Limit 60 seconds
    Use UUID for CFToken No
    Enable Whitespace Management Yes
    Missing Template Handler
    Site-wide Error Handler
    Enable HTTP status codes Yes
    Enable Global Script Protection Yes
    Default CFForm ScriptSrc Directory /CFIDE/scripts/
    Maximum size of post data 500 MB
    Maximum number of report threads 10
    Request Throttle Threshold 2 MB
    Request Throttle Memory 200 MB

    Database Settings:
    We have 5 datasources with similar settings
    Limit Connections - checked
    Restrict Connections to 5
    Maintain Connections - checked
    Max Pooled Statements 1000
    Timeout - 20 Interval - 7

    rhouliston Guest

  7. #6

    Default Re: Connection Failure on established datasources

    Hi,

    I have exactly the same problem. CF 7.01, all hotfixes applied. Thought the
    datadirect / ODBC updates would have fixed this but they haven't.

    There are two DSN's, both SQL, one pointing to a clientvars db on an
    SQL2000box, the other pointing to a content db on an SQL2005 box.

    There are no connections limits on the DSN's, clob is enabled on one of them,
    maintain connections is selected on both.

    Threads are limited to 10.

    Look forward to anyone else that can throw any light !



    Richardji 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