Solved

A lot of process id in awaiting command in SQL SERVER 2000

Posted on 2006-06-28
6
1,284 Views
Last Modified: 2012-06-27
We have an application using a lot of process id
40 and more for 1 user !

Is it normal ?
The process is sleeping !

When we have 3 users we have 100 or more process id sleeping.

Configuration : SQL SERVER 2000
Application is in Windev.

Do you think that the application don't close the connection and open  a new one for each query ?

Thanks
0
Comment
Question by:jff218
  • 3
  • 2
6 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 16999817
If the user is in fact used by web applications, this could be normal, as in most cases, the connections are pooled, hence a certain amount of connections stay "available".
0
 

Author Comment

by:jff218
ID: 16999835
it's not a web application

The server is very slow when we have 3 or 5 users (in a local network).(Windows SBS 2003) but only sql server

How long is the life of a connection between client and sql Server 2000 ?

thanks
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17000096
>How long is the life of a connection between client and sql Server 2000 ?
as long as the connection is not closed from the application, it remains open. there is no automatic connection closing mechanism.
0
 

Author Comment

by:jff218
ID: 17000178
a process id means a connection  ?

So if i have 50 process id for the same user,on the same database, i have 50 connections ?
Or only one connection ?

do you know if that use MEMORY or slow SQL SERVER ?

Thanks
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17000205
>a process id means a connection  ?
yes.

>do you know if that use MEMORY or slow SQL SERVER ?
each connection uses of course a bit of memory, but should not necessarly slow down sql server as such.
however, if each connection has open transactions (ie holding locks), THAT will slow down sql server, as the locks need to be managed and respected for all the other transactions...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now