We help IT Professionals succeed at work.
Get Started

How to reduce the live time of a PostgreSQL processes/connections (working with Windows 2003 Server, IIS, ASP.NET, C#)?

589 Views
Last Modified: 2012-05-11
We have a recurrent problem with our PostgreSQL server (v.8.2): some of our web site applications are creating a lot of connections to a lot of our database (a little bit more than 60).

We already adapted the maximum PostgreSQL connections (200), but it's seams not enough as we have an error message saying that the numbers of connections limit has been reached.

Sometimes, the w3wp.exe process (from IIS) is using more than 80% of the CPU calculation time.

As we supposed that those problems are more or less linked. We have have found the the connections/PostgreSQL Windows processes sometimes run nor one hour after the last access. How should we solve this problem?
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 11 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE