Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2006-06-28
6
Medium Priority
?
1,312 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 300 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

715 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