Event Notifications: insufficient system memory
I'm looking for a sanity check. Service broker and Event Notifications are new to me, so it is possible I'm either abusing or incorrectly using the technology. I'm experimenting with using Event Notifications and Server Broker to log error messages. The process works pretty well as long as I don't do something stupid such as stressing the process by calling raiserror in a loop of a 100000 - twice. It processed for a while, but eventual either SQL Server terminates (sev 25) or I had to force the SQL service to stop by killing it's process via task manager. I could not connect to SQL Server or stop the service normally.
I have several general questions. I think they are good questions. Any thoughts or suggestions would be appreciated.
1) I'm looking into generating deadlock and blocking email alerts. It appears that Event Notification is the way to go since there are very few events and I can respond to the event with an email. Is there a better method to automate blocking and deadlock email alerts that include event details?
2) If I wanted to retain some history of errors for the developers, should Event Notifications be avoided if a high number of errors can be generated by a badly formed T-SQL? Avoid TRC_ERRORS_AND_WARNINGS and USER_ERROR_MESSAGE? (I could tell the developers not to be stupid, but why would that stop them if it does not stop me?)
3) Is there a way to efficiently filter a Event Notification from entering the queue before the Receive statement is called? I get some events that I throw away after receiving them. For example, perhaps I want all events from all non-system databases without having to add a notification for each single non-system database. Or I want all errors with severity 11-17 only?
4) Is there a trick to filter out events from the procedure activated by the event. I tried using raiserror to debug a procedure without thinking. The result was that the queue never was empty because the processing produced more events to process. As a result, I don't use raiserror and use a try-catch to avoid raising errors in the procedure activated.
5) I can receive one message at a time using local variables or receive a batch of messages using a local table. Is a small batch the best way even if there is memory pressure?
6) In the activated procedure I continue processing in a loop until there are no more messages. This seems to be the most efficient. Is this always the case? Should I exit the procedure after a set number (large) of messages have been received? The procedure would activate again to continue processing?
7) Is there any point to using the MAX_QUEUE_READERS setting when processing event notifications? Should it be 1?
8) I currently get the next conversation group id and process its messages within a transaction. Is this a bad idea with event notifications? Should I just call Receive and get the next batch? I don't really care if I lose some messages if things are going badly. Should I avoid wrapping the receive in a transaction?
9) I could run a trace that starts with SQL Server; however, I think my only choice is to log to a file. Is there a way to trace to a table using SQLTrace without running profiler? I would like to automate the process and have the data in a table so that it can be easily queried and parsed for each database/team.
10) Is there a way to fix my process and handle 100000 messages a minute? Is there a way to skip messages when it gets to busy? Can the query generating the messages get throttled - perhaps along with the query designer - before the server gets into trouble? Query the memory used by a queue and drop/create the queue with a delay if there is an issue?
I'm using a single CPU test machine with only 1 GB and 2 GB pagefile and a single disk. OS: Windows 2003 R2 SP2. SQL: 9.0.3054 and on 9.0.3228 (update package 6 just came out today). I could add memory, but I think that would just permit me to queue more message before running into trouble.
I'll add code shortly - length limit.
Here is the activation procedure to "receive" the messages. I won't bother including the scripts for the two tables. The 50000 char limit is trouble.
CREATE PROCEDURE [monitor].[prReceiveEventNotificationQueue]
AS
SET XACT_ABORT ON;
BEGIN TRY
WHILE 1=1
BEGIN
BEGIN TRANSACTION;
WAITFOR(GET CONVERSATION GROUP @conversation_group_id
FROM DBA.monitor.EventNotificationQueue), timeout 10000;
IF @conversation_group_id IS NULL
BEGIN
ROLLBACK;
BREAK;
END;
DELETE FROM @EventNotification;
RECEIVE TOP (100)
queuing_order,
[conversation_group_id],
message_sequence_number,
NULLIF([service_name], @service_name_expected),
service_id,
NULLIF(service_contract_name, @service_contract_name_expected),
service_contract_id,
NULLIF(message_type_name, @message_type_name_expected),
message_type_id,
validation,
CASE WHEN validation = 'X' THEN CAST(message_body AS XML)
WHEN validation = 'E' THEN CAST('<empty />' AS XML)
WHEN validation = 'N' THEN CAST('<binary><![CDATA['
+ CAST(message_body as varchar(MAX)) + ']]></binary>' AS XML)
END,
NULL,
--NULL,
NULL,
NULL,
NULL,
NULL,
0
FROM DBA.monitor.EventNotificationQueue
INTO @EventNotification
WHERE conversation_group_id = @conversation_group_id;
SELECT @rowcount = @@ROWCOUNT
IF @rowcount = 0
BEGIN
ROLLBACK;
BREAK;
END;
-- preprocess some fields in the XML used in filtering and statistics
-- insert new messages into the EventNotification table
INSERT INTO monitor.EventNotification (
queuing_order,
[conversation_group_id],
message_sequence_number,
[service_name],
service_id,
service_contract_name,
service_contract_id,
message_type_name,
message_type_id,
validation,
message_body,
post_time,
database_name,
event_type,
severity,
error
SELECT
queuing_order,
[conversation_group_id],
message_sequence_number,
[service_name],
service_id,
service_contract_name,
service_contract_id,
message_type_name,
message_type_id,
validation,
message_body,
post_time,
database_name,
event_type,
severity,
error
FROM @EventNotification
WHERE ignore = 0;
COMMIT
-- Gather statistics
WAITFOR DELAY '0:00:00:01'
END;
END TRY
BEGIN CATCH
IF NOT(XACT_STATE() = 0)
ROLLBACK;
INSERT INTO DBA.monitor.ErrorLog (
[number],
error_message()
END CATCH;
RETURN 0;
Similar Messages
-
We have recently upgraded from SQL server 2008 to SQL server 2012.
We are getting this error when browsing to several pages on our website.
There is insufficient system memory in resource pool 'internal' to run this query
Most of the pages just try to do sql statements or stored procedures. I found a fix related to this error for sql 2012
http://support.microsoft.com/kb/2769594/en-gb
I did install it on server but the problem still remains.
I have increased Maximum server memory to 20 GB to see if it will affect but it didnt.
Memory on server is 32GB
This is the sql version we have
Microsoft SQL Server 2012 (SP1) - 11.0.3393.0 (X64)
Oct 25 2013 19:04:40
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )
How can i solve this error?It keeps on appearing when browsing .net websiteThis is the ouptut of memory status
Process/System Counts Value
Available Physical Memory 6559842304
Available Virtual Memory 8741595508736
Available Paging File 17090838528
Working Set 21094821888
Percent of Committed Memory in WS 100
Page Faults 160487165
System physical memory high 1
System physical memory low 0
Process physical memory low 0
Process virtual memory low 0
Memory Manager KB
VM Reserved 51506548
VM Committed 20445040
Locked Pages Allocated 0
Large Pages Allocated 0
Emergency Memory 1024
Emergency Memory In Use 16
Target Committed 20480008
Current Committed 20445040
Pages Allocated 6298528
Pages Reserved 717408
Pages Free 13820616
Pages In Use 5143472
Page Alloc Potential 14312512
NUMA Growth Phase 0
Last OOM Factor 1
Last OS Error 0
Memory node Id = 0 KB
VM Reserved 51504948
VM Committed 10218952
Locked Pages Allocated 0
Pages Allocated 1651360
Pages Free 8323696
Target Committed 10239992
Current Committed 10218952
Foreign Committed 96
Away Committed 0
Taken Away Committed 0
Memory node Id = 1 KB
VM Reserved 1536
VM Committed 10226068
Locked Pages Allocated 0
Pages Allocated 4647208
Pages Free 5496896
Target Committed 10239992
Current Committed 10226072
Foreign Committed 0
Away Committed 0
Taken Away Committed 0
Memory node Id = 64 KB
VM Reserved 0
VM Committed 20
Locked Pages Allocated 0
MEMORYCLERK_SQLGENERAL (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 19136
MEMORYCLERK_SQLGENERAL (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 144
MEMORYCLERK_SQLGENERAL (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 19280
MEMORYCLERK_SQLBUFFERPOOL (node 0) KB
VM Reserved 841608
VM Committed 151560
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 1081360
MEMORYCLERK_SQLBUFFERPOOL (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 1119416
MEMORYCLERK_SQLBUFFERPOOL (Total) KB
VM Reserved 841608
VM Committed 151560
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 2200776
MEMORYCLERK_SQLQUERYEXEC (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 5768
MEMORYCLERK_SQLQUERYEXEC (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 9624
MEMORYCLERK_SQLQUERYEXEC (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 15392
MEMORYCLERK_SQLOPTIMIZER (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 2480
MEMORYCLERK_SQLUTILITIES (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 112
MEMORYCLERK_SQLUTILITIES (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
MEMORYCLERK_SQLUTILITIES (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 128
MEMORYCLERK_SQLSTORENG (node 0) KB
VM Reserved 4800
VM Committed 4800
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 7928
MEMORYCLERK_SQLSTORENG (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 5856
MEMORYCLERK_SQLSTORENG (Total) KB
VM Reserved 4800
VM Committed 4800
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 13784
MEMORYCLERK_SQLCONNECTIONPOOL (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 1184
MEMORYCLERK_SQLCONNECTIONPOOL (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 536
MEMORYCLERK_SQLCONNECTIONPOOL (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 1720
MEMORYCLERK_SQLCLR (node 0) KB
VM Reserved 9450752
VM Committed 10664
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 60648
MEMORYCLERK_SQLSERVICEBROKER (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 528
MEMORYCLERK_SQLHTTP (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
MEMORYCLERK_SNI (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 40
MEMORYCLERK_SNI (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 56
MEMORYCLERK_SNI (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
MEMORYCLERK_SNI (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 112
MEMORYCLERK_FULLTEXT (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 297936
MEMORYCLERK_FULLTEXT (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 3406024
MEMORYCLERK_FULLTEXT (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 3703960
MEMORYCLERK_SQLXP (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
MEMORYCLERK_BHF (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 152
MEMORYCLERK_BHF (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 184
MEMORYCLERK_BHF (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 336
MEMORYCLERK_SQLQERESERVATIONS (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 841952
MEMORYCLERK_XE_BUFFER (node 0) KB
VM Reserved 3072
VM Committed 3072
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 0
MEMORYCLERK_XE_BUFFER (node 1) KB
VM Reserved 1536
VM Committed 1536
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 0
MEMORYCLERK_XE_BUFFER (Total) KB
VM Reserved 4608
VM Committed 4608
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 0
MEMORYCLERK_XTP (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
MEMORYCLERK_HOST (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 40
MEMORYCLERK_SOSNODE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 34168
MEMORYCLERK_SOSNODE (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 11664
MEMORYCLERK_SOSNODE (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 2600
MEMORYCLERK_SOSNODE (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 48432
MEMORYCLERK_SOSOS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 192
MEMORYCLERK_SOSMEMMANAGER (node 0) KB
VM Reserved 85560
VM Committed 85416
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 0
MEMORYCLERK_FULLTEXT_SHMEM (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 576
SM Committed 576
Pages Allocated 0
MEMORYCLERK_SQLSERVICEBROKERTRANSPORT (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 200
MEMORYCLERK_FILETABLE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
MEMORYCLERK_XE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 3440
MEMORYCLERK_SQLLOGPOOL (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 4208
MEMORYCLERK_LWC (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 192
MEMORYCLERK_FSCHUNKER (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 48
CACHESTORE_OBJCP (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 5848
CACHESTORE_SQLCP (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 29664
CACHESTORE_PHDR (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 4616
CACHESTORE_XPROC (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 32
CACHESTORE_TEMPTABLES (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
CACHESTORE_NOTIF (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
CACHESTORE_VIEWDEFINITIONS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
CACHESTORE_XMLDBTYPE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_XMLDBELEMENT (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_XMLDBATTRIBUTE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_STACKFRAMES (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_STACKFRAMES (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_STACKFRAMES (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_STACKFRAMES (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 24
CACHESTORE_BROKERTBLACS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 48
CACHESTORE_BROKERKEK (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_BROKERDSH (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_BROKERUSERCERTLOOKUP (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_BROKERRSB (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_BROKERREADONLY (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 32
CACHESTORE_BROKERTO (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
CACHESTORE_EVENTS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
CACHESTORE_SEHOBTCOLUMNATTRIBUTE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 400
CACHESTORE_SYSTEMROWSET (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 1056
CACHESTORE_SYSTEMROWSET (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 480
CACHESTORE_SYSTEMROWSET (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 1536
CACHESTORE_CONVPRI (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 32
CACHESTORE_CONVPRI (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
CACHESTORE_CONVPRI (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 48
CACHESTORE_FULLTEXTSTOPLIST (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 56
CACHESTORE_SEARCHPROPERTYLIST (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
CACHESTORE_COLUMNSTOREOBJECTPOOL (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 192
CACHESTORE_XML_SELECTIVE_DG (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
USERSTORE_SCHEMAMGR (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8896
USERSTORE_DBMETADATA (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 5088
USERSTORE_DBMETADATA (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 4768
USERSTORE_DBMETADATA (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 9856
USERSTORE_TOKENPERM (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8104
USERSTORE_TOKENPERM (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 448
USERSTORE_TOKENPERM (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8552
USERSTORE_OBJPERM (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 1640
USERSTORE_OBJPERM (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 600
USERSTORE_OBJPERM (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 2240
USERSTORE_SXC (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 160
USERSTORE_SXC (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 168
USERSTORE_SXC (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 8
USERSTORE_SXC (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 336
OBJECTSTORE_LBSS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 368
OBJECTSTORE_LBSS (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 296
OBJECTSTORE_LBSS (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 664
OBJECTSTORE_SNI_PACKET (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 616
OBJECTSTORE_SNI_PACKET (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 648
OBJECTSTORE_SNI_PACKET (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 56
OBJECTSTORE_SNI_PACKET (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 1320
OBJECTSTORE_SERVICE_BROKER (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 496
OBJECTSTORE_LOCK_MANAGER (node 0) KB
VM Reserved 65540
VM Committed 65540
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 11816
OBJECTSTORE_LOCK_MANAGER (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 11632
OBJECTSTORE_LOCK_MANAGER (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 24
OBJECTSTORE_LOCK_MANAGER (Total) KB
VM Reserved 65540
VM Committed 65540
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 23472
OBJECTSTORE_SECAUDIT_EVENT_BUFFER (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
OBJECTSTORE_XACT_CACHE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 2224
OBJECTSTORE_XACT_CACHE (node 1) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 2488
OBJECTSTORE_XACT_CACHE (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 16
OBJECTSTORE_XACT_CACHE (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
Pages Allocated 4728
Buffer Pool Value
Database 274830
Simulated 0
Target 4096000
Dirty 507
In IO 0
Latched 1
Page Life Expectancy 11941
Procedure Cache Value
TotalProcs 333
TotalPages 5914
InUsePages 345
Global Memory Objects Pages
Resource 401
Locks 2934
XDES 561
DirtyPageTracking 24
SETLS 24
SubpDesc Allocators 165
SE SchemaManager 559
SE Column Metadata Cache 549
SE Column Metadata Cache Store 3
SQLCache 270
Replication 2
ServerGlobal 52
XP Global 2
SortTables 3
Query Memory Objects (internal) Value
Grants 2
Waiting 0
Available 1677087
Current Max 1814852
Future Max 1814852
Physical Max 1854482
Next Request 0
Waiting For 0
Cost 0
Timeout 0
Wait Time 0
Small Query Memory Objects (internal) Value
Grants 0
Waiting 0
Available 95518
Current Max 95518
Future Max 95518
Remote Query Memory Objects (internal) Value
Grants 0
Waiting 0
Available 926250
Current Max 926250
Optimization Queue (internal) Value
Overall Memory 17039360000
Target Memory 16709148672
Last Notification 1
Timeout 6
Early Termination Factor 5
Small Gateway (internal) Value
Configured Units 96
Available Units 95
Acquires 1
Waiters 0
Threshold Factor 380000
Threshold 380000
Medium Gateway (internal) Value
Configured Units 24
Available Units 24
Acquires 0
Waiters 0
Threshold Factor 12
Threshold 1392429056
Big Gateway (internal) Value
Configured Units 1
Available Units 1
Acquires 0
Waiters 0
Threshold Factor 8
Threshold -1
Memory Pool Manager Pages
Reserved Current 0
Reserved Limit 2095263
Memory Pool (internal) Pages
Allocations 464738
Predicted 929941
Private Target 0
Private Limit 0
Total Target 2560001
Total Limit 2560001
OOM Count 0
MEMORYBROKER_FOR_CACHE (internal) Pages
Allocations 14370
Rate 1582
Target Allocations 1646012
Future Allocations 0
Overall 2080000
Last Notification 1
MEMORYBROKER_FOR_STEAL (internal) Pages
Allocations 409631
Rate -242825
Target Allocations 2039691
Future Allocations 0
Overall 2080000
Last Notification 1
MEMORYBROKER_FOR_RESERVE (internal) Pages
Allocations 0
Rate -59129
Target Allocations 2080000
Future Allocations 463125
Overall 2080000
Last Notification 1
MEMORYBROKER_FOR_COMMITTED (internal) Pages
Allocations 40735
Rate 1
Target Allocations 1670796
Future Allocations 0
Overall 2080000
Last Notification 1
MEMORYBROKER_FOR_XTP (internal) Pages
Allocations 2
Rate 0
Target Allocations 1630062
Future Allocations 0
Overall 2080000
Last Notification 1
Memory Broker Clerk (Buffer Pool) Pages
Total 274830
Simulated 0
Simulation Benefit 0
Internal Benefit 0
External Benefit 0
Value Of Memory 0
Periodic Freed 0
Internal Freed 0
Mainly we have SQL and IIS on server -
Hello,
I would like to ask you about advice.
We have MSSQL 2008 R2, 32 bit. Memory is 4GB, split into 2GB for Windows and 2GB for applications. Database has recovery model simple because we have replicated data into other servers ( 2 ). Contemporary we work with 2 servers. Max memory for MSSQL is 2048
MB.
We set the backup as follows:
USE MSDB
GO
DECLARE @JMENO_ZALOHY VARCHAR(120)
SELECT @JMENO_ZALOHY = 'E:\backup\BackupSQL\1 Pondeli\DAVOSAM_'+ convert( varchar(2), datepart( hh, getdate() ) ) + '00_DEN_DIFF.bak'
SELECT @JMENO_ZALOHY
BACKUP DATABASE [DAVOSAM]
TO DISK = @JMENO_ZALOHY
WITH INIT, DIFFERENTIAL, CHECKSUM, COMPRESSION
GO
Every second or third day in log there is error message: 'There is insufficient system memory in resource pool 'internal' to run this query' Accurate in time of backup. The error is still repeat, majority in working hours.
Today I have found out, that problem is probably in compression of backup. Because if I removed word: compression, a backup normally runs without error.
Question: Is my hypothesis correct that problem is in backup with compression?
Thank you DavidHello, today evening I have ran backup command bellow. All is OK. Probably MSSQL has cleaned memory. Next attempt I will try in peak next week.
Since time I have removed word compression, in error log is not any error.
I have checked memory as soon as memory gets on top, it is about 1.707 GB the MSSQL writes into log this messgages:
2014-03-14 15:00:04.63 spid89 Memory constraints resulted reduced backup/restore buffer sizes. Proceding with 7 buffers of size 64KB.
2014-03-14 15:00:08.74 Backup Database differential changes were backed up. Database: DAVOSAM, creation date(time): 2014/01/12(22:03:10), pages dumped: 16142, first LSN: 1894063:1673:284,
last LSN: 1894063:1792:1, full backup LSN: 1894053:15340:145, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'E:\backup\BackupSQL\5 Patek\DAVOSAM_1500_DEN_DIFF.bak'}). This is an informational message. No user action is required.
2014-03-14 15:00:12.79 spid72 Memory constraints resulted reduced backup/restore buffer sizes. Proceding with 7 buffers of size 64KB.
2014-03-14 15:00:12.88 Backup Database differential changes were backed up. Database: WEBFORM, creation date(time): 2014/02/01(05:22:47), pages dumped: 209, first LSN: 125436:653:48, last
LSN: 125436:674:1, full backup LSN: 125435:689:36, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'E:\backup\BackupSQL\5 Patek\WEBFORM_1500_DEN_DIFF.bak'}). This is an informational message. No user action is required.
After that the MSSQL reduced memory on 1.692.
USE MSDB
GO
DECLARE @JMENO_ZALOHY VARCHAR(120)
SELECT @JMENO_ZALOHY = 'E:\backup\BackupSQL\6 Sobota\DAVOSAM_'+ convert( varchar(2), datepart( hh, getdate() ) ) + '00_DEN_FULL.bak'
SELECT @JMENO_ZALOHY
BACKUP DATABASE [DAVOSAM]
TO DISK = @JMENO_ZALOHY
WITH INIT, CHECKSUM, COMPRESSION, MAXTRANSFERSIZE=65536
GO
E:\backup\BackupSQL\6 Sobota\DAVOSAM_2100_DEN_FULL.bak
(1 row(s) affected)
Processed 467240 pages for database 'DAVOSAM', file 'DavosAM_Data' on file 1.
Processed 2 pages for database 'DAVOSAM', file 'DavosAM_Log' on file 1.
BACKUP DATABASE successfully processed 467242 pages in 24.596 seconds (148.411 MB/sec).
select * from sys.dm_exec_connections
where net_packet_size > 8192
session_id most_recent_session_id connect_time net_transport protocol_type
protocol_version endpoint_id encrypt_option auth_scheme
node_affinity num_reads num_writes last_read last_write net_packet_size client_net_address
client_tcp_port local_net_address local_tcp_port
connection_id parent_connection_id most_recent_sql_handle
(0 row(s) affected)
SELECT SUM (pages_allocated_count * page_size_in_bytes)/1024 as 'KB Used', mo.type, mc.type
FROM sys.dm_os_memory_objects mo
join sys.dm_os_memory_clerks mc on mo.page_allocator_address=mc.page_allocator_address
GROUP BY mo.type, mc.type, mc.type
ORDER BY 1 DESC;
KB Used type type
29392 MEMOBJ_SORTTABLE MEMORYCLERK_SQLSTORENG
9392 MEMOBJ_SOSNODE MEMORYCLERK_SOSNODE
8472 MEMOBJ_SQLTRACE MEMORYCLERK_SQLGENERAL
5480 MEMOBJ_SECOLMETACACHE USERSTORE_SCHEMAMGR
5280 MEMOBJ_RESOURCE MEMORYCLERK_SQLGENERAL
5008 MEMOBJ_CACHEOBJPERM USERSTORE_OBJPERM
4320 MEMOBJ_SOSSCHEDULER MEMORYCLERK_SOSNODE
2864 MEMOBJ_PERDATABASE MEMORYCLERK_SQLSTORENG
2328 MEMOBJ_SQLCLR_CLR_EE MEMORYCLERK_SQLCLR
2288 MEMOBJ_SESCHEMAMGR USERSTORE_SCHEMAMGR
2080 MEMOBJ_SOSDEADLOCKMONITORRINGBUFFER MEMORYCLERK_SQLSTORENG
2008 MEMOBJ_LOCKBLOCKS OBJECTSTORE_LOCK_MANAGER
1584 MEMOBJ_CACHESTORETOKENPERM USERSTORE_TOKENPERM
1184 MEMOBJ_LOCKOWNERS OBJECTSTORE_LOCK_MANAGER
840 MEMOBJ_SNIPACKETOBJECTSTORE OBJECTSTORE_SNI_PACKET
760 MEMOBJ_SOSDEADLOCKMONITOR MEMORYCLERK_SQLSTORENG
752 MEMOBJ_SESCHEMAMGR_PARTITIONED USERSTORE_SCHEMAMGR
688 MEMOBJ_RESOURCEXACT MEMORYCLERK_SQLSTORENG
616 MEMOBJ_SOSWORKER MEMORYCLERK_SOSNODE
552 MEMOBJ_METADATADB MEMORYCLERK_SQLGENERAL
480 MEMOBJ_SRVPROC MEMORYCLERK_SQLCONNECTIONPOOL
424 MEMOBJ_SQLMGR CACHESTORE_SQLCP
400 MEMOBJ_SBOBJECTPOOLS OBJECTSTORE_SERVICE_BROKER
384 MEMOBJ_SUPERLATCH_BLOCK MEMORYCLERK_SQLSTORENG
384 MEMOBJ_RESOURCEDATASESSION MEMORYCLERK_SQLGENERAL
352 MEMOBJ_SOSSCHEDULERMEMOBJPROXY MEMORYCLERK_SOSNODE
328 MEMOBJ_SBMESSAGEDISPATCHER MEMORYCLERK_SQLSERVICEBROKER
320 MEMOBJ_METADATADB USERSTORE_DBMETADATA
296 MEMOBJ_INDEXSTATSMGR MEMORYCLERK_SQLOPTIMIZER
264 MEMOBJ_LBSSCACHE OBJECTSTORE_LBSS
224 MEMOBJ_XE_ENGINE MEMORYCLERK_XE
216 MEMOBJ_GLOBALPMO MEMORYCLERK_SQLGENERAL
208 MEMOBJ_PROCESSRPC USERSTORE_SXC
200 MEMOBJ_SYSTASKSESSION MEMORYCLERK_SQLCONNECTIONPOOL
200 MEMOBJ_REPLICATION MEMORYCLERK_SQLGENERAL
192 MEMOBJ_SOSSCHEDULERTASK MEMORYCLERK_SOSNODE
176 MEMOBJ_SQLCLRHOSTING MEMORYCLERK_SQLCLR
168 MEMOBJ_SYSTEMROWSET CACHESTORE_SYSTEMROWSET
128 MEMOBJ_RESOURCESUBPROCESSDESCRIPTOR MEMORYCLERK_SQLGENERAL
128 MEMOBJ_CACHESTORESQLCP CACHESTORE_SQLCP
128 MEMOBJ_RESOURCESEINTERNALTLS MEMORYCLERK_SQLSTORENG
120 MEMOBJ_BLOBHANDLEFACTORYMAIN MEMORYCLERK_BHF
120 MEMOBJ_SNI MEMORYCLERK_SNI
88 MEMOBJ_QUERYNOTIFICATON MEMORYCLERK_SQLOPTIMIZER
72 MEMOBJ_HOST MEMORYCLERK_HOST
72 MEMOBJ_INDEXRECMGR MEMORYCLERK_SQLOPTIMIZER
64 MEMOBJ_RULETABLEGLOBAL MEMORYCLERK_SQLGENERAL
56 MEMOBJ_SERVICEBROKER MEMORYCLERK_SQLSERVICEBROKER
56 MEMOBJ_REMOTESESSIONCACHE MEMORYCLERK_SQLGENERAL
56 MEMOBJ_PARSE CACHESTORE_PHDR
48 MEMOBJ_CACHESTOREBROKERTBLACS CACHESTORE_BROKERTBLACS
48 MEMOBJ_APPENDONLYSTORAGEUNITMGR MEMORYCLERK_SQLSTORENG
40 MEMOBJ_SBASBMANAGER MEMORYCLERK_SQLSERVICEBROKER
32 MEMOBJ_OPTINFOMGR MEMORYCLERK_SQLOPTIMIZER
32 MEMOBJ_SBTRANSPORT MEMORYCLERK_SQLSERVICEBROKERTRANSPORT
32 MEMOBJ_CACHESTOREBROKERREADONLY CACHESTORE_BROKERREADONLY
32 MEMOBJ_DIAGNOSTIC MEMORYCLERK_SQLGENERAL
32 MEMOBJ_UCS MEMORYCLERK_SQLSERVICEBROKER
24 MEMOBJ_STACKSTORE CACHESTORE_STACKFRAMES
24 MEMOBJ_CACHESTORESXC USERSTORE_SXC
24 MEMOBJ_FULLTEXTGLOBAL MEMORYCLERK_FULLTEXT
24 MEMOBJ_APPLOCKLVB OBJECTSTORE_LOCK_MANAGER
24 MEMOBJ_FULLTEXTSTOPLIST CACHESTORE_FULLTEXTSTOPLIST
24 MEMOBJ_CONVPRI CACHESTORE_CONVPRI
16 MEMOBJ_SQLCLR_VMSPY MEMORYCLERK_SQLCLR
16 MEMOBJ_VIEWDEFINITIONS MEMORYCLERK_SQLOPTIMIZER
16 MEMOBJ_SBACTIVATIONMANAGER MEMORYCLERK_SQLSERVICEBROKER
16 MEMOBJ_AUDIT_EVENT_BUFFER OBJECTSTORE_SECAUDIT_EVENT_BUFFER
16 MEMOBJ_HASHGENERAL MEMORYCLERK_SQLQUERYEXEC
16 MEMOBJ_SBTIMEREVENTCACHE MEMORYCLERK_SQLSERVICEBROKER
16 MEMOBJ_ASYNCHSTATS MEMORYCLERK_SQLGENERAL
16 MEMOBJ_BADPAGELIST MEMORYCLERK_SQLUTILITIES
16 MEMOBJ_QSCANSORTNEW MEMORYCLERK_SQLQUERYEXEC
16 MEMOBJ_SCTCLEANUP MEMORYCLERK_SQLGENERAL
16 MEMOBJ_XP MEMORYCLERK_SQLXP
8 MEMOBJ_SECURITY MEMORYCLERK_SQLGENERAL
8 MEMOBJ_CACHESTOREBROKERRSB CACHESTORE_BROKERRSB
8 MEMOBJ_EXCHANGEXID MEMORYCLERK_SQLGENERAL
8 MEMOBJ_CACHESTOREVENT CACHESTORE_EVENTS
8 MEMOBJ_CACHESTOREXPROC CACHESTORE_XPROC
8 MEMOBJ_DBMIRRORING MEMORYCLERK_SQLUTILITIES
8 MEMOBJ_SERVICEBROKERTRANSOBJ CACHESTORE_BROKERTO
8 MEMOBJ_CACHESTOREOBJCP CACHESTORE_OBJCP
8 MEMOBJ_CACHESTOREXMLDBELEMENT CACHESTORE_XMLDBELEMENT
8 MEMOBJ_ENTITYVERSIONINFO MEMORYCLERK_SQLSTORENG
8 MEMOBJ_AUDIT_MGR MEMORYCLERK_SQLGENERAL
8 MEMOBJ_EXCHANGEPORTS MEMORYCLERK_SQLGENERAL
8 MEMOBJ_DEADLOCKXML MEMORYCLERK_SQLSTORENG
8 MEMOBJ_CACHESTORETEMPTABLE CACHESTORE_TEMPTABLES
8 MEMOBJ_HTTPSNICONTROLLER MEMORYCLERK_SQLHTTP
8 MEMOBJ_CACHESTOREVIEWDEFINITIONS CACHESTORE_VIEWDEFINITIONS
8 MEMOBJ_CACHESTOREPHDR CACHESTORE_PHDR
8 MEMOBJ_CACHESTOREXMLDBTYPE CACHESTORE_XMLDBTYPE
8 MEMOBJ_CACHESTORE_BROKERUSERCERTLOOKUP CACHESTORE_BROKERUSERCERTLOOKUP
8 MEMOBJ_EVENTSUBSYSTEM MEMORYCLERK_SQLGENERAL
8 MEMOBJ_CACHESTOREBROKERDSH CACHESTORE_BROKERDSH
8 MEMOBJ_SOSDEADLOCKMONITORXMLREPORT MEMORYCLERK_SQLSTORENG
8 MEMOBJ_CACHESTOREXMLDBATTRIBUTE CACHESTORE_XMLDBATTRIBUTE
8 MEMOBJ_CACHESTOREBROKERKEK CACHESTORE_BROKERKEK
8 MEMOBJ_QPMEMGRANTINFO MEMORYCLERK_SQLQUERYEXEC
8 MEMOBJ_CACHESTOREQNOTIFMGR CACHESTORE_NOTIF
(101 row(s) affected)
David -
I am running the SQL2012 express (version shown below) and get the following error after a day or two of operation. This is a new server 2012 installation.
source: SQL2012Express "There is insufficient system memory in resource pool 'internal' to run this query."
The installed version of SQL2012 express is:
Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) Dec 28 2012 20:23:12 Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
I read a few of the postings but couldn't determine the exact hot fix or update to run or if I am running the latest already.
Which .exe file should I run for the update? I downloaded a file called 473913_intl_x64_zip.exe but it said it wasn't tested yet?
Can I uninstall this path or hot fix if it breaks something?
What can I do to correct this internal memory error and prevent from happening.
Thanks
Morris
Thank you MorrisHi MoCoder,
According to your description, the error may be occurred by the following possible reasons, for example,
the ram was be completely used, reached the maximum memory allocation configured values in SQL Server or virtual memory is full and so on. Before you install the related cumulative update of SQL Server 2012, I recommend you do the following
steps for fixing this error. For example, allocate more memory to SQL Server, kill the unnecessary idle sessions, increase the RAM and virtual memory and reduce the number of users and so on.
For more information, you can review the following article,
http://sqlserverlearner.com/tag/there-is-insufficient-system-memory-in-resource-pool-internal-to-run-this-query
In addition, you also need to check if there is the SQL Server memory leak, most of the memory leaks in SQL Server is caused by 3rd party Dll’s which are loaded in SQL Server process,
or you enable the Auto Update Statistics Asynchronously statistics option in a database of Microsoft SQL Server 2012.
For more information, see:
http://support.microsoft.com/kb/2778088/en-us
http://mssqlwiki.com/2012/12/04/sql-server-memory-leak/
Regards,
Sofiya Li
If you have any feedback on our support, please click here.
Sofiya Li
TechNet Community Support -
MSSQL$MICROSOFT##WID insufficient system memory
I am having a ton of intermittent problems with one of my servers in the past 12 hours. It is Windows Server 2012 VM and the error that I am getting is from MSSQL$MICROSOFT##WID. The error is "There is insufficient system memory in resource pool 'default'
to run this query.
This server has plenty of overall free memory, so obviously the above is occurring because of a setting somewhere... any ideas are where I might go to fix it?
Thanks,
RyanRyan ,
Can you post output of following.What is min server memory and max server memory
How much physical RAM you have on your system
What is output of select @@version
select
(physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
(locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
(total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
process_physical_memory_low,
process_virtual_memory_low
from sys. dm_os_process_memory
Also lease upload DBCC MEMORYSTATUS output on some shared location or T drive.Now when you got this error can you give some information about it.
I dont understand 'MSSQL$MICROSOFT##WID insufficient system memory ' this error.Did you see this in errorlog were there any more messages
PS: You should have reaised the thread in Database engine forum,Moderators please move it that forum.Please post all information which I have asked
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Restoring failed: There is insufficient system memory in resource pool 'internal'
Hi,
I am going through all those similar questions but non of them solved my issue.
Our database is lost by mistake, now we need to recover the database from the backup. The backup file is 4.23 GB and when I am trying to restore the database after 40 minutes, I am getting the error 701, There is insufficient system memory in resource pool
'internal' to run this query. Restored failed and when i close it, the state for the DB is still "Restoring".
I did all these challenges but no use, please advice me how to retreive my DB back it is very important and vital.
enabled the "AWE"
enbale/disable the resource governor
changed the server
re-install SQL server
Please help me to sort out the issue.
RegardsHi,
Thanks for your help. My server is Microsoft SQL Server 2008 R2 (SP1) (Intel X86) - Developer Edition on Windows NT 6.1 <X86>
Memory_usedby_Sqlserver_MB = 118
Locked_pages_used_Sqlserver_MB = 0
in resource pool 'internal' ( not allowed ) . I install SQL server 64 bit on another 64 bit operating system as well but this time I got another error.
The backup file can not be added it gives Sql server timeout error. ( this work for another smaller backup file) . I configure the query timeout but not solved. What you suggest now?
SP1 for SQL server 2008 R2 is not the latest but the latest is SP2. Please apply it when you move ahead.
Since you had 32 bit this error can come.I cannot reproduce the error neither I know what all queries or processes were running when you got OOM error during restore so its hard to tell .Did you set value for MAX server memory in sp_configure.How much physical
RAM do you have ?
Can you post complete error when you tried to restore backup on 64 bit. Also make sure you cannot restore backup from 2008 R2 to lower versions.( like 2008, 2005)
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
In My production I have this error ,when ever user use the Full text search , Is there any chance of it happen because of full text , user search "S++" but it return several thousand un ncessary records. how to
avoid this?
Thanks & Regards ManojSee if this helps
http://henkvandervalk.com/sql2014ee-insufficient-system-memory-message
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
There is insufficient system memory in resource pool 'internal' to run this query
hello Everyone,
today i am getting one error while opening activity monitor.
i am unable to open AM and i checked in sql server error log i received error message description about memory dump.
below mentioned message.
There is insufficient system memory in resource pool 'internal' to run this query...RAM: 16 GB
Proceesor : 24 cores
Version:
Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) Jun 28 2012 08:36:30 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
Error:
Memory Manager
KB
VM Reserved 6350064
VM Committed 55380
Locked Pages Allocated 0
Reserved Memory 1024
Reserved Memory In Use 0
2014-08-28 08:34:10.54 spid51
Memory node Id = 0 KB
VM Reserved 6348976
VM Committed 54352
Locked Pages Allocated 0
MultiPage Allocator 22344
SinglePage Allocator 7800
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLGENERAL (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 1224
MultiPage Allocator 2800
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLBUFFERPOOL (node 0) KB
VM Reserved 6316032
VM Committed 22784
Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 0
MultiPage Allocator 400
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLQUERYEXEC (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 120
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLOPTIMIZER (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 648
MultiPage Allocator 976
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLUTILITIES (node 0) KB
VM Reserved
240 VM Committed 240
Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 72
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLSTORENG (node 0) KB
VM Reserved
384 VM Committed 384
Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 680
MultiPage Allocator 3848
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLCONNECTIONPOOL (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 488
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLCLR (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 8
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLSERVICEBROKER (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 128
MultiPage Allocator 544
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLHTTP (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 8
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SNI (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 16
MultiPage Allocator 16
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_FULLTEXT (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 24
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLXP (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 16
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLQERESERVATIONS (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 1312
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_XE_BUFFER (node 0) KB
VM Reserved 4224
VM Committed 4224
Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 0
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SOSNODE (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 1008
MultiPage Allocator 11136
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_SQLSERVICEBROKERTRANSPORT (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 48
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
MEMORYCLERK_XE (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 48
MultiPage Allocator 168
2014-08-28 08:34:10.54 spid51
CACHESTORE_OBJCP (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 8
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
CACHESTORE_SQLCP (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 272
MultiPage Allocator 1568
2014-08-28 08:34:10.54 spid51
CACHESTORE_PHDR (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 168
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
CACHESTORE_XPROC (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 16
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
CACHESTORE_TEMPTABLES (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 16
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
CACHESTORE_NOTIF (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages Allocated 0
SM Reserved
0 SM Committed
0 SinglePage Allocator 16
MultiPage Allocator 0
2014-08-28 08:34:10.54 spid51
CACHESTORE_VIEWDEFINITIONS (node 0) KB
VM Reserved
0 VM Committed
0 Locked Pages -
Hey, guys!
Tried to find an answer, but nothing works for me.
So on one of servers when I am trying to run DBCC CHECKDB throws two errors
Msg 8921, Level 16, State 1, Line 1
Check terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is inconsistent. Check previous errors.
Msg 701, Level 17, State 123, Line 1
There is insufficient system memory in resource pool 'internal' to run this query.
This is a VM hosted on Hyper-V server 2012 R2. VM has Windows Server 2012 R2 and SQL Server 2012 Std. VM had 8 GB of RAM, I increased it to 12GB (static, not dynamic), also I increased paging file size in Windows and size of TEMPDB also recreated TEMPDB.
I also tried to restore the Database, which throws an error from another server. On that server DBCC CHECKDB works fine, but it didn't help - I still receive the same error. Can you suggest, please?Hi,
I agree with you. It is probably a memory issue. First, we need to verify if it is an OS memory issue or caused by SQL Server itself.
Need to use Performance Monitor:
SQLServer:Memory
Memory
Dynamic Management Views:
sys.dm_os_sys_info
sys.dm_exec_query_memory_grants
1. Use performance monitor to check OS memory: available memory(MB) and monitor the OS memory status before the query and when running the query. If it does not change, I can exclude the OS memory factor. Then, I can conclude
this memory issue was caused by SQL Server internal. Also, check if there is Memory leak on your system.
2. Use the below script in SQL Server Management Studio and Result to Text.
while(1=1)
begin
print getdate()
print '*****sys.dm_exec_query_memory_grants******'
select * from sys.dm_exec_query_memory_grants
print 'DBCC memorystatus'
dbcc memorystatus
waitfor delay '00:00:01'
end
Then, check SQLServer:Memory-Granted Workspace Memory (KB) when the issue occurs which specifies the total amount of memory currently granted to executing processes, such as hash, sort, bulk copy, and index creation operations.
And compared with the information got in
sys.dm_exec_query_memory_grants.
3. In addition, use sys.dm_os_sys_info
to identify bpool_commit_target and bpool_commited.
In SQL Server 2012, the columns have been renamed as
committed_target_kb and committed_kb.
committed_kb represents the committed memory in kilobytes (KB) in the memory manager. Does not include reserved memory in the memory manager.
committed_target_kb represents the amount of memory, in kilobytes (KB), that can be consumed by SQL Server memory manager. The target amount is calculated using a variety of
inputs like:
the current state of the system including its load
the memory requested by current processes
the amount of memory installed on the computer
configuration parameters
If committed_target_kb is larger than
committed_kb, the memory manager will try to obtain additional memory. If
committed_target_kb is smaller than committed_kb, the memory manager will try to shrink the amount of memory committed. The
committed_target_kb always includes stolen and reserved memory.
MSSQLSERVER_701
http://msdn.microsoft.com/en-us/library/aa337311.aspx
An in-depth look at SQL Server Memory–Part 3
http://blogs.msdn.com/b/sqljourney/archive/2013/11/02/10402729.aspx
INF: Using DBCC MEMORYSTATUS to Monitor SQL Server Memory Usage
http://support.microsoft.com/kb/271624/en-us
Hope it helps.
Tracy Cai
TechNet Community Support -
There is insufficient system memory
I have 6 GB of ram,6GB swap space,i7 and a GTX480 1.5GB and I'm getting this error:
There is insufficient system memory available to run textures with the highest quality.To enable you to play normally ,textures are used with lower quality.
The game that's giving me the problem is divinity 2.I tried rebooting with no luck.I'm not sure how/where to begin to fix the issue.Can someone point me in the right direction.THX
Last edited by unilx (2010-12-15 17:06:19)make a file like this
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"DirectDrawRenderer"="opengl"
"VideoMemorySize"="256"
"VideoPciDeviceID"=dword:000006e0
"VideoPciVendorID"=dword:000010de
with VideoMemorySize set to 1500
10de is the nvidia vendor id and so you need to do
lspci -n | grep 10de
and set VideoPciDeviceID to the value given after 10de:
save the file and do
regedit file.reg
Last edited by thestinger (2010-12-15 22:35:51) -
There is insufficient system memory in resource pool 'default' to run this query.
Hi All,
Please check the following screenshot
We are getting frequently this error messages, please provide suitable information in order to troubleshoot for your reference I;m providing some information about my server.
Microsoft SQL server 2012 Enterprise Edition
Overall memory - 8gb
Thank you
DBAHi,
You should have posted in SQL Server Database engine forum. Anyways Moderators will move it.
Now to solve this error I would require a lot of information if you fail to provide any or not willing to provide due to some reason you have to raise call with MS.What is output of below
select @@Version
go
select
(physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
(locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
(total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
process_physical_memory_low,
process_virtual_memory_low
from sys. dm_os_process_memory
Can you upload complete Log file on shared drive for analysis. ?
How much RAM is on physical server ? How much is max server memory ? How much is page file
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Windows 8.1 - Windows Couldn't connect to the System Event Notification Service service
I have an issue that has been bothering me for a while on new 8.1 computers. Standard users are not able to log into the computer on the first try consistently. They receive the error message: Group Policy client service failed the sign-in access is
denied. They are stuck at the logon screen.
If an administrator logs in (local or domain), they can log in but get a black desktop with two error messages. The first is Location is Not available - C:\Windows\system32\config\systemprofile\Desktop is unavailable. The second error message is a popup
balloon. It states "Failed to Connect to a Windows service. Windows couldn't connect to the System Event Notification Service service."
When a standard user attempts to log in, event viewer records three warnings. They are listed in order from oldest to newest
The winlogon notification subscriber <Profiles> was unavailable to handle a critical notification event. -Logged 9:14:44
The winlogon notification subscriber <GPClient> failed a critical notification event. - Logged 9:14:44
The winlogon notification subscriber <Profiles> was unavailable to handle a notification event. - Logged 9:14:49
After a reboot, users still have the issue. I noticed that the user profile services and system event notification service are not running though their startup type is automatic. They start after a minute or two.Hi Joseph__Moody,
Based on your description ,I assume it is a domain environment .First of all ,I would suggest you to try to update all the machine .
"I have an issue that has been bothering me for a while on new 8.1 computers"
Do you mean all the Windows 8.1 machine share the same symptom or just a specific one ?Did the machine work correctly before ?When did the issue start to occur ?Have you installed any third party software before ?Can we operate the machine when we login with
an administrator account ?
If the issue occurred with the specific machine :
"The first is Location is Not available - C:\Windows\system32\config\systemprofile\Desktop is unavailable."
Please try the following suggestions if we can operate the machine when we login with the administrator account :
Open Windows Explorer and navigate to: C:\Windows\system32\config\systemprofile and verify if it has the Desktop folder there.If the folder doesn`t exit, we can copy from C:\users\Default\Desktop location(This folder is hidden by default).
We also can try the following suggestions to have a troubleshoot :
1.Run "sfc /scannow"or "dism /online /cleanup-image /restorehealth" to check the health of the system files.
2.Perform a full scan with an antivirus software.
3."They start after a minute or two."
I suspect there is a third party service confilct here. Please perform a clean boot to verify whether there is a third party conflict here .
How to perform a clean boot in Windows
https://support.microsoft.com/en-us/kb/929135
If the issue occurred with multiple machines in the domian ,I would suggest you to check whether you have configured any logon scripts and logon group policy .We can remove the machine from the domain to have a troubleshoot .
If the issue occurred recently ,we can perform a system restore to recover the machine to a previous normal point.
Best regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]. -
HP Touchsmart 9100 all-in-one
Windows 7 professional
First I get a window that says
failed to connect to a window service --windows could not connect to the system event notification svc. This problem prevents standard user from logging into the system. as an administrator you can review the system event log for details about why the service didn't respond.
Windows help and support cant start. There is a problem with Windows Help and support. To view our online help content visit windows website;
The Internet is not available and the troubleshooter does not work. I get this error when I try to connect to Internet;
ERROR 137 (net::ERR-NAME-RESOLUTION_FAILED) unknown error
I cannot run any diagnostics. I get this:
An error occurred while troubleshooting. Then it says Diagnostics troubleshooting wizard has stopped working. A prooblem has caused the system to stop working correctly. Windows will close the program and nootify you if a solution is available.
I get this window:
Package ID: Performance Diagnostic
Path; Unknown
Error Code; 0x80072ee4
User;
Context: Restricted
I restarted with the same result.
I tried to do a startup repair and it said no problem was detected.
Yesterday I had a problem where the cursor moved but nothing was clickable. I could not detect a problem, so I did a system restore to oct. 1 and it seemed to work. The only thing added yesterday was malwarebytes. I scanned with that program and removed one item, but I cannot remember what it was.
I ran an AVG virus scan and it detected no viruses.
I have the same issues in safe mode.
When I go to services.msc it says it is "starting" and I cannot restart it.Hello sallatticum:
Welcome to Hp's forum . This link is how to correct your error. How it works on a business computer that I do not because you have a total different operating system then home users computers do. http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/error-code-0x80072ee4-and-the...
You need to goto the HP's Business Support Forum with your computer issues. Next time or if this fix did not work for your issue. http://h30499.www3.hp.com/t5/Business-PCs-Compaq-Elite-Pro/bd-p/bsc-271 Please click on Kudos if this resolved your issue. Thank you frrw. -
Insufficient system resources exist to complete the requested service
[I did intend to start this post with a screenshot of the above error when I initiate the transfer from Windows Explorer, but apparently 'Body text cannot contain images or links until we are able to verify your account.' so I will just have to do some typing,
viz the error dialog says:
'An unexpected error is keeping you from copying the file. If you continue to receive this error, you can use the error code to search for help with this problem.
Error 0x800705AA: Insufficient system resources exist to complete the requested service.'
I get this error pretty much 100% of the time from one particular PC when trying to copy a folder of 10 2GB files to a server with both mirror and parity storage spaces.
I recently purchased a Thecus W5000 running Windows Storage Server 2012 R2 Essentials. Absent any guidance either way I decided to set up a storage pool across the three 3TB WD Red drives that I have installed in it and to allocate 1.5TB of that space to a
mirror storage space and the remainder to a parity storage space. Having read some faily dire things about storage spaces, but wanting the resilience provided by those two types of storage space, I decided to run some benchmarking tests before finalising anything.
To that end I only went as far through the Essentials setup as creating a handful of user accounts before setting up the storage spaces and sharing both of them, with all authenticated users permitted full control. My benchmarking consists of a Take Command
batch file timing three large directory copies - one with 10 2GB files, one with 10240 10K files and another with a multi-level directory with a variety of files of differing sizes. The first two are completely artificial and the latter is a real world example
but all are roughly 20GB total size.
To test various aspects of this I copied the three structures to and then from a partition created on the internal disk (the W5000 has a 500GB SSHD) and to the two storage space partitions. I also created a version of the batch file for use internally which
did something similar between the internal disk and the two storage space partitions, and another as a control that tested the same process between the two Windows PCs. The internal test ran to successful completion, as did the PC to PC copy and the external
one from my Windows 8.1 64-bit system (i5 3570K, 16GB RAM, 1TB HD) but when I ran it from my Windows 7 Pro 64-bit gaming rig (i7 2600K, 8GB RAM, 1TB HD) I got a number of failures with this error from Take Command:
TCC: (Sys) C:\Program Files\bat\thecus_test_pass.btm [31] Insufficient system resources exist to complete the requested service.
(where line 31 of that batch file is a copy command from local D: to the parity space on the Thecus).
The error occurs only when copying large files (the 2GB ones already mentioned but some of those in the real world structure that are about 750MB in size) from the Win7 system to the Thecus and only when doing so to the storage space volumes - ie. copying to
the internal disk works fine, copying from all volumes works fine, copying internally within the Thecus works fine, copying between the Win8 and Win7 machines works fine and initiating the copy as a pull from the server between the same two disks also works
fine. One aspect of this that surprised me somewhat was just how quickly the copy fails when initiated from Windows Explorer - checking out the details section of the copy dialog I see roughly ten seconds of setting up and then within five seconds after the
first file transfer is shown as starting the error dialog pops up (as per the image no longer at the top of this post).
There are no entries in the event log on either machine related to this error and I've had the System Information window of the Sysinternals Process Explorer up and running on both machines whilst testing this, and it shows nothing surprising on either side.
I've also run with an xperf base active and I can't see anything pertinent in the output from either system.
Frankly, I am at a loss and have no idea what other troubleshooting steps I should try. The vast majority of the existing advice for this error message seems to relate to Windows 2003 and memory pools - which both the fact that this works from one PC but not
the other and the SysInfo/xperf output seems to suggest is not the issue. The other thing I've seen mentioned is IRPStackSize, but again if that was the problem I would expect the failure to occur where ever I initiated the large file transfer from.Ff it works from the win 8 box, it must be in the win 7 box?
I'm going to answer this one first because much of the rest of this is not going to be pertinent to the problem at hand. I've been over and over this aspect whilst trying to think this issue through and you are right, except that it only happens when copying
files to the Thecus and only then when the target is a ReFS partition on a mirror or parity storage space. So the best I can come up with is that it is most likely an issue on the Win7 box that is triggered by something that is happening on the server side,
but even that is a bit of a stretch. This is why the lack of information from the error message bugs me so much - in order to debug a problem like this you need to know what resource has been exhausted and in which part of the software stack.
Now that may not be easy to do in a generic way, and since programmers are inherently lazy it is tempting just to return a simple error value and be done with it. However, I've been in the position of doing just that in a commercial product and ended up
having to go back and improve the error information when that particular message/code was tripped and I was expected to debug the problem! Obviously there is a significant difference between a Microsoft consumer product and a mainframe product that costs many
times as much and comes with a built in maintenance fee, but the underlying requirement is the same - somebody needs to be able to solve the problem using the information returned. In this case that simply isn't possible.
You spend your time testing file copies, where I devote most of my time to backup and restore
I don't really want to be testing file copies - the initial intention was to benchmark the different storage space and file system combinations that I was intending to use but the error whilst doing so has spiralled into a cycle of testing and tweaking that
really isn't achieving anything. My primary reason for having a NAS at all has always been backup. My current strategy for the two boxes participating in this testing involves having a local drive/partition to hold backups, running a daily incremental file
copy to that partition which is then immediately copied to a NAS and backing that up with a regular (needs to be at least once per month to be totally secure) full image copy of the local disks that is also copied to the NAS afterwards (hence my fascination
with copying large files).
There is a weakness in that strategy because I've never been very good at performing that full image backup regularly enough, so one of the reasons for buying the W5000 was the possibility of making those backups automatic and driven from the server end.
However, that takes the local backup drives out of the equation and leaves me with the need to backup the NAS, which I don't do with my existing unit because there are (nearly) always copies held elsewhere.
The other reasons for going with the Thecus were a desire to backup the other machines in the household - I've always dreaded a hard drive failure on my wife's laptop but getting her to perform any kind of housekeeping is nigh on impossible and also to provide
a file server capability protected by a single set of userids (the existing NAS data is open to all household members). So my goal is backup and restore too ;)
I meant a different nic on the beast (win 7)
I should have realised that but obviously wasn't thinking straight. I don't have a spare gigabit NIC to hand (although perhaps even a megabit one might provide an interesting data point) although there is such a card in one of my other (less used) PCs that
I could cannibalise for testing purposes. Another project for the coming weekend methinks.
put some limits on it to keep the lawyers happy. 2gb ram, OS loaded on a drive, limit the # of Hard Drives
That statement got me thinking, because I've never been able to find a definition anywhere of what the restrictions are with WSS 2012 R2 Essential - if I bring up the software license terms on the box itself they are for 2012 Standard!?- and wonder whether
they'd stop me doing things like adding RAM or changing the processor.
Even my buddies at wegotserved do not seem to have done any hands on reviews and they get "everything."
The cynic in me wonders whether that is because Thecus know that they've just shovelled this onto a handful of existing boxes that barely meet the spec. and which simply aren't up to snuff as anything other than a box full of disks. The Thecus boxes
look like good value because they include the server OS (the unit cost me roughly 50% more than I could buy Windows Server 2012 R2 Essentials for) but if you can't realise that value then they are just an expensive NAS.
if perhaps the algorithms in the Seagate SSHD do not know ReFS?
I haven't put a ReFS partition on the SSHD, only on the three 3TB WD Reds.
I will ask my contacts at MS to take a look at this thread, but they stay so busy with v.next I don't know if they will spend many cycles on it
Perhaps you could ask them if the next version of the OS could do a better job of identifying which resources have been exhausted, by what part of the stack and where in the maze of connectivity that makes up a modern computing environment?? {gd&r}
Cheers, Steve -
Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book. Cannot turn these off. They repeat several times per session and every time computer is used. How to diagnose this?
First, uninstall "SuperTV" (whatever that is) according to the developer's instructions. It isn't working and it's filling the log with noise.
If you have more than one user account, these instructions must be carried out as an administrator.
Launch the Console application.
Step 1
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Post the messages logged before the boot, while the system was unresponsive or was failing to shut down. Please include the BOOT_TIME message at the end of the log extract.
Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
Step 2
Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.
Maybe you are looking for
-
I used to be able to open the playlist, choose to Edit it, then go to the song I wanted to add and the song would have a plus sign next to it and if I tapped the song, it would be added to the playlist however many times I tapped it. Now when I Edit
-
HT5577 I lost recovery key and trusted device, how do I rescue my funds on account?
Lost recovery key and trusted dev, and need to transfer balance on account how do I do this?
-
I have a 17" iMac G5 ALS, recently the computer started up fine but after putting it to sleep the screen stays black. I've tried restarting and zapping PRAM but nothing gets the screen working. I've plugged in an external monitor and I can see that e
-
Purchased an app I can't use because I don't own an apple product
I purchased what I THOUGHT was a meditation album. Come to find out it's an APP....I don't own an Apple product. Does anybody know if I have any recourse? I can't use it on my laptop. Thanks.
-
When I first open my Mozilla Firefox start page, strange Chinese writings appear on the page. The Mozilla Firefox name is in English, but when I type something in on the search bar and click on it, I only get more Chinese writing. What is the problem