Bizarre Errors in SQL Logs

  • This morning my SQL Server (2005) locked up and would not allow us to log in. We had to restart the server. Once I was able to get in I found very strange errors in my logs?? Can someone tell me what these are?

    Date,Source,Severity,Message

    07/02/2009 01:25:05,Server,Unknown,External dump process return code 0x20002001.The error information has been submitted to Watson error reporting.

    07/02/2009 01:24:54,Server,Unknown,Stack Signature for the dump is 0x0000000000000286

    07/02/2009 01:24:54,Server,Unknown,* Short Stack Dump

    07/02/2009 01:24:54,Server,Unknown,* -------------------------------------------------------------------------------

    07/02/2009 01:24:54,Server,Unknown,* *******************************************************************************

    07/02/2009 01:24:54,Server,Unknown,*

    07/02/2009 01:24:54,Server,Unknown,* Non-yielding IOCP Listener

    07/02/2009 01:24:54,Server,Unknown,*

    07/02/2009 01:24:54,Server,Unknown,* 07/02/09 01:24:54 spid 0

    07/02/2009 01:24:54,Server,Unknown,* BEGIN STACK DUMP:

    07/02/2009 01:24:54,Server,Unknown,*

    07/02/2009 01:24:54,Server,Unknown,* *******************************************************************************

    07/02/2009 01:24:54,Server,Unknown,***Stack Dump being sent to D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\SQLDump0001.txt

    07/02/2009 01:24:54,Server,Unknown,**Dump thread - spid = 0 PSS = 0x0000000000000000 EC = 0x0000000000000000

    07/02/2009 01:24:54,Server,Unknown,Using 'dbghelp.dll' version '4.0.5'

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYBROKER_FOR_RESERVE Allocations = 284224 Rate = 0 Target Allocations = 1120416 Future Allocations = 291190 Last Notification = GROW

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYBROKER_FOR_STEAL Allocations = 21238 Rate = 0 Target Allocations = 850464 Future Allocations = 0 Last Notification = GROW

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYBROKER_FOR_CACHE Allocations = 347049 Rate = 0 Target Allocations = 1176275 Future Allocations = 0 Last Notification = GROW

    07/02/2009 01:01:10,spid2s,Unknown,Big Gateway Configured Units = 1 Available Units = 1 Acquires = 0 Waiters = 0 Threshold Factor = 8 Threshold = -1

    07/02/2009 01:01:10,spid2s,Unknown,Medium Gateway Configured Units = 8 Available Units = 8 Acquires = 0 Waiters = 0 Threshold Factor = 12 Threshold = -1

    07/02/2009 01:01:10,spid2s,Unknown,Small Gateway Configured Units = 32 Available Units = 32 Acquires = 0 Waiters = 0 Threshold Factor = 380000 Threshold = 380000

    07/02/2009 01:01:10,spid2s,Unknown,Optimization Queue Overall Memory = 10289700864 Target Memory = 6967001088 Last Notification = GROW Timeout = 6 Early Termination Factor = 5

    07/02/2009 01:01:10,spid2s,Unknown,Small Query Memory Objects: Grants=0 Waiting=0 Maximum=12800 Available=12800 Limit=12800

    07/02/2009 01:01:10,spid2s,Unknown,Query Memory Objects: Next Request=0 Waiting For=0 Cost=0 Timeout=0 Wait Time=0 Last Target=1050390

    07/02/2009 01:01:10,spid2s,Unknown,Query Memory Objects: Grants=1 Waiting=0 Maximum=1008775 Available=724551 Limit=1037590

    07/02/2009 01:01:10,spid2s,Unknown,Global Memory Objects: Resource=588Locks=1215SE Schema Mgr=2341SQLCache=5198Replication=2ServerGlobal=52XPGlobal=2Xact=109SETLS=8DatasetMemObjs=16SubpDescPmos=19SortTables=2

    07/02/2009 01:01:10,spid2s,Unknown,Process physical/virtual memory pressure: 0/0 System physical memory pressure: 0

    07/02/2009 01:01:10,spid2s,Unknown,Procedure Cache: TotalProcs=33403 TotalPages=345078 InUsePages=1566

    07/02/2009 01:01:10,spid2s,Unknown,Buffer Counts: Committed=1548288 Target=1567056 Hashed=1076098Internal Reservation=313411 External Reservation=180321Stolen Potential=841424 Min Free=528 Visible=1567056 Available Paging File=23963017216

    07/02/2009 01:01:10,spid2s,Unknown,Buffer Distribution: Stolen=125145 Free=0 Cached=347045Database (clean)=763186 Database (dirty)=312905I/O=0 Latched=7

    07/02/2009 01:01:10,spid2s,Unknown,OBJECTSTORE_LOCK_MANAGER (Total) VM Reserved = 32768 KB VM Committed = 32768 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 9696 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,OBJECTSTORE_SERVICE_BROKER (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 272 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,OBJECTSTORE_SNI_PACKET (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 648 KBMultiPage Allocator = 48 KB

    07/02/2009 01:01:10,spid2s,Unknown,OBJECTSTORE_LBSS (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 128 KBMultiPage Allocator = 16 KB

    07/02/2009 01:01:10,spid2s,Unknown,USERSTORE_SXC (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 40 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,USERSTORE_OBJPERM (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 160 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,USERSTORE_TOKENPERM (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 520 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,USERSTORE_DBMETADATA (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 3264 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,USERSTORE_SCHEMAMGR (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 18744 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_SYSTEMROWSET (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 1040 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_EVENTS (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 16 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_BROKERTO (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_BROKERREADONLY (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 32 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_BROKERRSB (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_BROKERUSERCERTLOOKUP (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_BROKERDSH (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_BROKERKEK (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_BROKERTBLACS (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 112 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_STACKFRAMES (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 0 KBMultiPage Allocator = 8 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_XMLDBATTRIBUTE (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_XMLDBELEMENT (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_XMLDBTYPE (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_VIEWDEFINITIONS (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 16 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_NOTIF (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 16 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_TEMPTABLES (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 16 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_XPROC (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 56 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_PHDR (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 16040 KBMultiPage Allocator = 368 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_SQLCP (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 2694960 KBMultiPage Allocator = 17496 KB

    07/02/2009 01:01:10,spid2s,Unknown,CACHESTORE_OBJCP (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 30528 KBMultiPage Allocator = 1176 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLSERVICEBROKERTRANSPORT (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 48 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SOSNODE (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 27232 KBMultiPage Allocator = 14592 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_HOST (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 32 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLQERESERVATIONS (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 2273792 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_BHF (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 48 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLXP (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 16 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_FULLTEXT (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 16 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SNI (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 200 KBMultiPage Allocator = 16 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLHTTP (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLSERVICEBROKER (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 136 KBMultiPage Allocator = 320 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLCLR (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 8 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLCONNECTIONPOOL (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 408 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLSTORENG (Total) VM Reserved = 20224 KB VM Committed = 20224 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 5480 KBMultiPage Allocator = 640 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLUTILITIES (Total) VM Reserved = 120 KB VM Committed = 120 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 3560 KBMultiPage Allocator = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLOPTIMIZER (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 1944 KBMultiPage Allocator = 112 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLQUERYEXEC (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 85832 KBMultiPage Allocator = 592 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLBUFFERPOOL (Total) VM Reserved = 12615680 KB VM Committed = 12599296 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 0 KBMultiPage Allocator = 8 KB

    07/02/2009 01:01:10,spid2s,Unknown,MEMORYCLERK_SQLGENERAL (Total) VM Reserved = 0 KB VM Committed = 0 KB AWE Allocated = 0 KB SM Reserved = 0 KB SM Committed = 0 KBSinglePage Allocator = 44920 KBMultiPage Allocator = 4544 KB

    07/02/2009 01:01:10,spid2s,Unknown,Memory node Id = 0 VM Reserved = 12711224 KB VM Committed = 12694184 KB AWE Allocated = 0 KB SinglePage Allocator = 2946296 KBMultiPage Allocator = 40120 KB

    07/02/2009 01:01:10,spid2s,Unknown,Memory Manager VM Reserved = 12716984 KBVM Committed = 12699856 KB AWE Allocated = 0 KB Reserved Memory = 1024 KB Reserved Memory In Use = 0 KB

    07/02/2009 01:01:10,spid2s,Unknown,LazyWriter: warning no free buffers found.

  • I have 12 GB of memory and running service pack 2. Could this bad memory problem?

  • hi,

    Make sure to set the limits on the amount of memory and worker threads that SQL Server uses. If you only have 12GB of memory, SQL should be limited to perhaps 10GB (read the specs for your SQL Server Edition). The OS needs to consume memory as well, and I have seem SQL crashed because it tries to consume all the memory to the point that there is nothing left for the input buffer (can't login).

    It will take one run away query to eat all the memory, so check some of the procedures/jobs.

    hope this helps.

  • Where can I set those limits? I looked at the jobs and we don't really have anything running at the time it crashed.

  • Using SSMS (SS management studio), right click the server node and select properties. Click memory and set the max server memory.

    Then click Processor, and set the MAx worker threads.

    Something must be eating the memory, so check any procedure calls/query.

    I posted a note on the memory settings based on the SS edition. Look for post under my profile.

    hope this helps.

  • You need to enable awe from sp_configuration and define the max server memory and min server memory, before going for this keep in mind you are also running operating system in the box so you need to reserve some memory for it as well. 😀

    Nitin Gupta

    Thanks & Regards,

    Nitin Gupta
    SQl Server (7.0,2000,2005) - Sr. DBA
    HCL Technologies, India

  • When I looked at the server memory options this is what it's set too?

    MIN is 0(mb)

    MAX is set to 2147483647(mb)

    other memory options

    Index creation memory = 0

    Min memory per query = 1024 (kb)

  • Molly Cary (7/2/2009)


    When I looked at the server memory options this is what it's set too?

    MIN is 0(mb)

    MAX is set to 2147483647(mb)

    other memory options

    Index creation memory = 0

    Min memory per query = 1024 (kb)

    It means SQL Server will take all the memory it can, potentially starving your OS. If you are only running SQL Server on this system and only one instance, I'd set the Max memory to 10240 MB.

    Can't remember, is this an x64 system?

  • Just in case anyone is in any doubt, the specific error "Non-Yielding IOCP Listener" is indeed directly related to an inappropriate setting for server max memory - though I have never seen it personally on a server dedicated to SQL Server.

    A very detailed look at the issue can be found here

    Regardless of whether this is a 32-bit or 64-bit server, whether Enterprise Edition or not, or any of the other myriad interesting settings...you should set max memory at least 4GB below physical and monitor it. When the server reaches steady-state (hours/days), you can adjust the max memory setting appropriately, always leaving at least 1GB 'free' to cope with sudden memory demands from the OS or other applications and services running on the server.

    See this article for more information and links.

    Paul

  • There is FIX available for this issue check the following link:

    http://support.microsoft.com/kb/941689

    Cheers,

    Got an idea..share it !!

    DBA_Vishal

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply