Ask a Question related to Coldfusion Database Access, Design and Development.
-
rhouliston #1
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
-
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... -
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.... -
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. ... -
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... -
"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, ... -
jdeline #2
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
-
rhouliston #3
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
-
jdeline #4
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
-
rhouliston #5
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
-
Richardji #6
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



Reply With Quote

