Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Process memory usage

Author  Topic 

CanadaDBA

583 Posts

Posted - 2007-02-21 : 11:40:58
I am using a tool to monitor SQL Server and Windows. It is warning me that:

Process 1004:services has a virtual address space of 1,846.20 MB. This is close to the Windows two gigabyte address space limit.

When locate the process 1004, it shows 15 threads that Elapsed time for all of them is 1d, 3hrs. The Thread state is Waiting and the Thread Wait Reason is "Waiting for an Execution Delay to be resolved".

I think that 1d, 3hrs is from the time I rebooted my server.

Should I take any action? How?

mcrowley
Aged Yak Warrior

771 Posts

Posted - 2007-02-21 : 15:02:07
What is process 1004 according to Task Manager?
Go to Top of Page

CanadaDBA

583 Posts

Posted - 2007-02-22 : 07:48:18
It's services.exe.
quote:
Originally posted by mcrowley

What is process 1004 according to Task Manager?



Canada DBA
Go to Top of Page

mcrowley
Aged Yak Warrior

771 Posts

Posted - 2007-02-22 : 13:54:41
Sounds like a memory leak somewhere. I would have expected that to be either sqlservr.exe or Exchange. Is there a web server on this machine?
Go to Top of Page

CanadaDBA

583 Posts

Posted - 2007-02-23 : 14:43:26
This machine is dedicated to SQL server.

It is strange to me too. Here is the data from processes window:

Process %CPU Mem Usage(MB) VM Size(MB)
---------- ---- ------------ -----------
sqlserver 1.32 215.70 330.73
services 0.34 3.94 4.71

And still I am getting the message I wrote in my original post. The services has 17 threads that most of them have "waiting" status. I see different reasons for each line:

ThreadID Elapsed Thread Wait Reason
------ ------- ----------------------------------------------
1028 3d, 3hrs Waiting for an Execution Delay to be resolved
1032 3d, 3hrs Waiting for an Execution Delay to be resolved
1036 3d, 3hrs Waiting for a user request
1124 3d, 3hrs Waiting for an event pair low
1132 3d, 3hrs Waiting for an LPC Receive notice
1136 3d, 3hrs Waiting for a user request
1140 3d, 3hrs Waiting for an LPC Receive notice
1180 3d, 3hrs Waiting for an event pair low
1216 3d, 3hrs Waiting for a component of the Windows NT Executive
1276 3d, 3hrs Waiting for an LPC Receive notice
1336 3d, 3hrs Waiting for a component of the Windows NT Executive
1340 3d, 3hrs Waiting for a user request
972 3d, 3hrs Waiting for an LPC Receive notice
3592 3d, 3hrs Waiting for a user request
3596 3d, 3hrs Waiting for a user request
4744 1d, 8hrs Waiting for an event pair low
2224 0:09 Waiting for an Execution Delay to be resolved

I don't know if I can or have to do somthing.

quote:
Originally posted by mcrowley

Sounds like a memory leak somewhere. I would have expected that to be either sqlservr.exe or Exchange. Is there a web server on this machine?



Canada DBA
Go to Top of Page

mcrowley
Aged Yak Warrior

771 Posts

Posted - 2007-02-23 : 15:01:21
I am not sure about the threads under Services.exe. I never delved into it on any box healthy or otherwise, so I don't know what a healthy one looks like. Outside of the error on the first post, it looks like everything is running fine. You may want to contact the vendor of the monitoring tool to see what they are looking at. 300 MB looks a bit small for SQL Server memory, unless this machine has recently been rebooted.
Go to Top of Page

CanadaDBA

583 Posts

Posted - 2007-02-23 : 15:38:03
Yes, it was rebooted two days ago.

Canada DBA
Go to Top of Page

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2007-02-23 : 16:13:23
Did you just install the monitoring tool?

Maybe that is causing the problem.


CODO ERGO SUM
Go to Top of Page
   

- Advertisement -