Solved

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

Posted on 2006-06-28
6
1,297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 143

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 143

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 143

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
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.

615 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