Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 16th, 2008, 01:14 PM
Newbie
 
Join Date: Aug 2008
Posts: 1
Default Need Help Closing Database connections

I am running a website at GoDaddy where I have their least expensive plan that supports Linux/ColdFusion/mySQL. Apparently this plan supports a small number of active database connections (50). I wrote my ColdFusion code in Dreamweaver and just assumed it would take care of issues like this, but I guess it doesn't.

If I have a few windows open on the same machine and just keep hitting the site, I can easily cause it to 'crash' to the point where it says there is a JRUN Server error. Godaddy support says this is happening because I have too many open database connections and that I need to adjust my code so that the database connections are closed.

I don't know how to do that or what the best practices are about when to, and when not to, do it. Any advice would be greatly appreciated.
Reply
  #2  
Old August 17th, 2008, 11:58 AM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 12,722
Default

Do they provide an interface to the CF Administrator? You can change the settings there? Also how many queries do you have on a page?
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles