Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SQl Connection PoolingSQl Connection Pooling
Previous
 
Next
New Post
9/10/2007 3:54 PM
 

I upgraded to 4.5.5 the other day from 4.4.1 and today was the first day with a heavy load of users. Twice today my SQL Server has crashed. Apparently, there are a lot of processes running on the sql server tieing up the CPU. The number of connection to the dotnetnuke database is in the hundreds. How is the connection pooling maintained? Is that done in the Microsoft.ApplicationBlocks.Data? Has that changed in this version?

Any insite would be much appreciated, I'm totaly in a panic!

 
New Post
9/10/2007 6:34 PM
 

AFAIK the data access layer has not been touched in quite some time now (since 2.x), so I don't think it's that. The data access layer does handle the opening and closing of connections, but connection pooling is handled by the connection string itself. If not specified then it defaults to 100, you can alter the connection strings in the web.config if you want to allow more (http://www.15seconds.com/issue/040830.htm will give you the details).  I suspect your issue may be elsewhere, I would check the log viewer and ensure that your eventlog hasn't grown too large as it can cause a bottleneck if it becomes outsize.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
11/19/2007 8:37 AM
 

Did you ever learn what was going on in your situation?

I have just run into something that may be similar and shed some light on what's happening. Using DNN 4.7 in our testing environment there are no problems. A pool of 18 connections is created, and those connections just keep getting reused as the sitegets browsed. However, when we move to the production environment, the connection pool just keeps growing until the limit is hit and the site crashes. The reclaimed connections lag way behind. The production environment in this case is 64-bit with 8CPUs and 16 GB RAM, whereas the testing environment is a 32-bit virtual machine.

As Cathal suggested, you can manipulate the size of the connection pool, and I have done that. Set it to 250. Then I can watch the connection pool on the web server grow right up to 250 and kill the site. The problem seems to be that the site is constantly creating new connections instead of reusing existing ones.

Is this a bug with ASP.NET in a 64-bit environment?

Tim


--
Tim Rolands
Avastone Technologies | House of Nuke
Where DotNetNuke(R) Lives
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SQl Connection PoolingSQl Connection Pooling


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out