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.
| Author |
Topic |
|
MagnumVP
Starting Member
2 Posts |
Posted - 2008-01-06 : 01:43:39
|
| I setup a SQL Agent to send me an email when the Average Latch Wait Time is greater than 300ms. Now I receive an email every 15 seconds stating that the current ALWT is 3916ms. That value never changes with the emails. However, the perfmon shows nothing at all (shows zero).I also have a Buffer cache hit ratio of 2848.00.These numbers are when there is NOBODY on the DB at all It is just sitting there. When I reboot the server, as soon as SQL starts it starts to send the emails again. Server: Intel Xeon Quad Core 2.66RAM: 4GB (with /3GB in the boot.ini)RAID 1: OSRAID 1: Data (DB and logs)CPU Utilization: 0-1%RAM Utilization: 527MBOS: Server 2003 R2 With SP2SQL: 2005 Standard with SP2How can I determine if the ALWT is really 3916? I executed 'Select * from sysprocesses where SPID>50 and waittime>0'Which showed;BROKER_RECEIVE_WAITFOR waittime=110640mswaittype=0x0075status=suspendedprogram_name=DatabaseMail90 - Id<3780> Any assistance is greatly appreciated.Thank YouMagnum |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-01-06 : 15:25:23
|
| In this case, I'll check why only uses 500mg memory on the server and find out what the db mail waiting for. |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2008-01-06 : 15:27:39
|
| BROKER_RECEIVE_WAITFOR is of no concern as far as i know_______________________________________________Causing trouble since 1980blog: http://weblogs.sqlteam.com/mladenpSSMS Add-in that does a few things: www.ssmstoolspack.com <- new version out |
 |
|
|
MagnumVP
Starting Member
2 Posts |
Posted - 2008-01-07 : 10:26:03
|
| The sqlservr.exe is now up to 818,104KB so it does grow as the DB is used. How do I find out what the DB Mail is waiting for? As far as I know it's nothing.Could it have anything to do with using the "Average" in "Average Latch Wait Time (ms)". In my mind the average will never be 0 once it rises above it. I want to get the CURRENT latch and lock times.Thank YouMagnum |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-01-07 : 22:51:10
|
| Check sql instance memory usage in perfmon, you can find latch and lock related counters there too. |
 |
|
|
|
|
|