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 |
crayon1234
Starting Member
3 Posts |
Posted - 2012-09-10 : 23:19:27
|
Hi I am having trouble with a memory leak on a prod sql server. Over the period of a few weeks, the memory creeps up until the server becomes unresponsive and applications are unable to connect to the databases and we have to reboot the server. I dont beleive sql is necessarily the cause as I have capped the memory and the sql perfom counters look fine. But I cannot tell what is using the memoryWindows Server 2008 R2 EnterpriseVirtual64-bit2 vcpu 20GB RamSQL Server 2008 R2 RTMEnterprise Edition Max Memory 12288 (12GB)Lock Pages in memory is switched onOnly SQL Server service and reporting services are running however there are a couple of small scheduled tasks that run executables, plus ingres drivers on this server. Also CLR is enabled in sql server.Also this has symmantec as the antivirus and I notice that after a reboot of a server, the cpu for smc.exe and also for system process creeps up over time until the server needs a reboot (2-3 weeks) Not sure if this is a cause or a symptom though.We have tried shutting down everything on the server except core OS services however even with all that shut down including sql, the server still holds a heap of memory as in use. Any ideas where I can find what's using the memory? Resource monitor does not indicate where the memory is in useI know some of you will say to patch the OS and sql and yes that is an option we are exploring but it is a massive task and other similar servers are at the same level and are doing ok.I think I have actually given SQL Server more memory than it needs as the page life expectancy and buffer cache hit ration look ridiculously healthy. Below is dbcc memorystatus output. I think the SQL Server is ok and not involved in the memory leakMemory Manager KB---------------------------------------- -----------VM Reserved 21394016VM Committed 324752Locked Pages Allocated 12927616Reserved Memory 1024Reserved Memory In Use 0(5 row(s) affected)Memory node Id = 0 KB---------------------------------------- -----------VM Reserved 21390368VM Committed 321216Locked Pages Allocated 12927616MultiPage Allocator 213432SinglePage Allocator 2420992(5 row(s) affected)Memory node Id = 64 KB---------------------------------------- -----------VM Reserved 2560VM Committed 2504Locked Pages Allocated 0MultiPage Allocator 2416SinglePage Allocator 2420992(5 row(s) affected)MEMORYCLERK_SQLGENERAL (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 6576MultiPage Allocator 11656(7 row(s) affected)MEMORYCLERK_SQLBUFFERPOOL (node 0) KB---------------------------------------- -----------VM Reserved 21020672VM Committed 32768Locked Pages Allocated 12885120SM Reserved 0SM Committed 0SinglePage Allocator 0MultiPage Allocator 1592(7 row(s) affected)MEMORYCLERK_SQLQUERYEXEC (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 808MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_SQLOPTIMIZER (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 29168MultiPage Allocator 896(7 row(s) affected)MEMORYCLERK_SQLUTILITIES (node 0) KB---------------------------------------- -----------VM Reserved 240VM Committed 240Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 536MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_SQLSTORENG (node 0) KB---------------------------------------- -----------VM Reserved 42496VM Committed 0Locked Pages Allocated 42496SM Reserved 0SM Committed 0SinglePage Allocator 12200MultiPage Allocator 36432(7 row(s) affected)MEMORYCLERK_SQLCONNECTIONPOOL (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 93752MultiPage Allocator 4392(7 row(s) affected)MEMORYCLERK_SQLCLR (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_SQLSERVICEBROKER (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 280MultiPage Allocator 544(7 row(s) affected)MEMORYCLERK_SQLHTTP (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_SNI (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 544MultiPage Allocator 16(7 row(s) affected)MEMORYCLERK_SNI (node 64) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 0MultiPage Allocator 16(7 row(s) affected)MEMORYCLERK_SNI (Total) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 544MultiPage Allocator 32(7 row(s) affected)MEMORYCLERK_FULLTEXT (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 192MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_SQLXP (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 16MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_BHF (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 624MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_XE_BUFFER (node 0) KB---------------------------------------- -----------VM Reserved 4224VM Committed 4224Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 0MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_HOST (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 24MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_SOSNODE (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 30472MultiPage Allocator 15608(7 row(s) affected)MEMORYCLERK_SOSNODE (node 64) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 2336(7 row(s) affected)MEMORYCLERK_SOSNODE (Total) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 30480MultiPage Allocator 17944(7 row(s) affected)MEMORYCLERK_FULLTEXT_SHMEM (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 48SM Committed 48SinglePage Allocator 0MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_SQLSERVICEBROKERTRANSPORT (node 0) KB---------------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 48MultiPage Allocator 0(7 row(s) affected)MEMORYCLERK_XE (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 264MultiPage Allocator 456(7 row(s) affected)CACHESTORE_OBJCP (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 215120MultiPage Allocator 20352(7 row(s) affected)CACHESTORE_SQLCP (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 1844536MultiPage Allocator 73760(7 row(s) affected)CACHESTORE_PHDR (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 56208MultiPage Allocator 80(7 row(s) affected)CACHESTORE_XPROC (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 72MultiPage Allocator 0(7 row(s) affected)CACHESTORE_TEMPTABLES (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 128MultiPage Allocator 0(7 row(s) affected)CACHESTORE_NOTIF (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 16MultiPage Allocator 0(7 row(s) affected)CACHESTORE_VIEWDEFINITIONS (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 16MultiPage Allocator 0(7 row(s) affected)CACHESTORE_XMLDBTYPE (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)CACHESTORE_XMLDBELEMENT (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)CACHESTORE_XMLDBATTRIBUTE (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)CACHESTORE_STACKFRAMES (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 0MultiPage Allocator 8(7 row(s) affected)CACHESTORE_STACKFRAMES (node 64) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 0MultiPage Allocator 8(7 row(s) affected)CACHESTORE_STACKFRAMES (Total) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 0MultiPage Allocator 16(7 row(s) affected)CACHESTORE_BROKERTBLACS (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 152MultiPage Allocator 0(7 row(s) affected)CACHESTORE_BROKERKEK (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)CACHESTORE_BROKERDSH (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)CACHESTORE_BROKERUSERCERTLOOKUP (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)CACHESTORE_BROKERRSB (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)CACHESTORE_BROKERREADONLY (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 32MultiPage Allocator 0(7 row(s) affected)CACHESTORE_BROKERTO (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)CACHESTORE_EVENTS (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 16MultiPage Allocator 0(7 row(s) affected)CACHESTORE_SYSTEMROWSET (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8592MultiPage Allocator 0(7 row(s) affected)CACHESTORE_CONVPRI (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 240MultiPage Allocator 0(7 row(s) affected)CACHESTORE_FULLTEXTSTOPLIST (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 64MultiPage Allocator 120(7 row(s) affected)USERSTORE_SCHEMAMGR (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 36648MultiPage Allocator 1704(7 row(s) affected)USERSTORE_DBMETADATA (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 12040MultiPage Allocator 0(7 row(s) affected)USERSTORE_TOKENPERM (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 11160MultiPage Allocator 45320(7 row(s) affected)USERSTORE_OBJPERM (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 2624MultiPage Allocator 0(7 row(s) affected)USERSTORE_SXC (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 2784MultiPage Allocator 0(7 row(s) affected)USERSTORE_SXC (node 64) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 8MultiPage Allocator 0(7 row(s) affected)USERSTORE_SXC (Total) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 2792MultiPage Allocator 0(7 row(s) affected)OBJECTSTORE_LBSS (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 56MultiPage Allocator 256(7 row(s) affected)OBJECTSTORE_SNI_PACKET (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 12160MultiPage Allocator 56(7 row(s) affected)OBJECTSTORE_SNI_PACKET (node 64) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 0MultiPage Allocator 56(7 row(s) affected)OBJECTSTORE_SNI_PACKET (Total) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 12160MultiPage Allocator 112(7 row(s) affected)OBJECTSTORE_SERVICE_BROKER (node 0) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 424MultiPage Allocator 0(7 row(s) affected)OBJECTSTORE_LOCK_MANAGER (node 0) KB---------------------------------------- -----------VM Reserved 32768VM Committed 32768Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 75024MultiPage Allocator 0(7 row(s) affected)OBJECTSTORE_LOCK_MANAGER (node 64) KB---------------------------------------- -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 24MultiPage Allocator 0(7 row(s) affected)OBJECTSTORE_LOCK_MANAGER (Total) KB---------------------------------------- -----------VM Reserved 32768VM Committed 32768Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 75048MultiPage Allocator 0(7 row(s) affected)OBJECTSTORE_SECAUDIT_EVENT_BUFFER (node 0) KB------------------------------------------ -----------VM Reserved 0VM Committed 0Locked Pages Allocated 0SM Reserved 0SM Committed 0SinglePage Allocator 16MultiPage Allocator 0(7 row(s) affected)Buffer Pool Value---------------------------------------- -----------Committed 1572864Target 1572864Database 761773Dirty 13243In IO 0Latched 0Free 508467Stolen 302624Reserved 0Visible 1572864Stolen Potential 1191596Limiting Factor 17Last OOM Factor 0Page Life Expectancy 38477(14 row(s) affected)Process/System Counts Value---------------------------------------- --------------------Available Physical Memory 1735827456Available Virtual Memory 8773822717952Available Paging File 8068472832Working Set 335884288Percent of Committed Memory in WS 100Page Faults 22911202System physical memory high 1System physical memory low 0Process physical memory low 0Process virtual memory low 0(10 row(s) affected)Procedure Cache Value---------------------------------------- -----------TotalProcs 17677TotalPages 276266InUsePages 3358(3 row(s) affected)Global Memory Objects Pages---------------------------------------- -----------Resource 862Locks 9381XDES 270SETLS 2SE Dataset Allocators 4SubpDesc Allocators 2SE SchemaManager 2120SE Column Metadata Cache 2673SQLCache 4858Replication 2ServerGlobal 50XP Global 2SortTables 3691(13 row(s) affected)Query Memory Objects (internal) Value---------------------------------------- -----------Grants 0Waiting 0Available 810483Current Max 810483Future Max 810483Physical Max 1139283Next Request 0Waiting For 0Cost 0Timeout 0Wait Time 0(11 row(s) affected)Small Query Memory Objects (internal) Value---------------------------------------- -----------Grants 0Waiting 0Available 42657Current Max 42657Future Max 42657(5 row(s) affected)Query Memory Objects (default) Value---------------------------------------- -----------Grants 0Waiting 0Available 1061212Current Max 1061212Future Max 1061212Physical Max 1126087Next Request 0Waiting For 0Cost 0Timeout 0Wait Time 0(11 row(s) affected)Small Query Memory Objects (default) Value---------------------------------------- -----------Grants 0Waiting 0Available 55853Current Max 55853Future Max 55853(5 row(s) affected)Optimization Queue (internal) Value---------------------------------------- --------------------Overall Memory 10328047616Target Memory 7471472640Last Notification 1Timeout 6Early Termination Factor 5(5 row(s) affected)Small Gateway (internal) Value---------------------------------------- -----------Configured Units 8Available Units 8Acquires 0Waiters 0Threshold Factor 380000Threshold 380000(6 row(s) affected)Medium Gateway (internal) Value---------------------------------------- -----------Configured Units 2Available Units 2Acquires 0Waiters 0Threshold Factor 12Threshold -1(6 row(s) affected)Big Gateway (internal) Value---------------------------------------- -----------Configured Units 1Available Units 1Acquires 0Waiters 0Threshold Factor 8Threshold -1(6 row(s) affected)Optimization Queue (default) Value---------------------------------------- --------------------Overall Memory 10328047616Target Memory 7598825472Last Notification 1Timeout 6Early Termination Factor 5(5 row(s) affected)Small Gateway (default) Value---------------------------------------- -----------Configured Units 8Available Units 8Acquires 0Waiters 0Threshold Factor 380000Threshold 380000(6 row(s) affected)Medium Gateway (default) Value---------------------------------------- -----------Configured Units 2Available Units 2Acquires 0Waiters 0Threshold Factor 12Threshold -1(6 row(s) affected)Big Gateway (default) Value---------------------------------------- -----------Configured Units 1Available Units 1Acquires 0Waiters 0Threshold Factor 8Threshold -1(6 row(s) affected)Memory Pool Manager Pages---------------------------------------- -----------Reserved Current 0Reserved Limit 1191596(2 row(s) affected)Memory Pool (internal) Pages---------------------------------------- -----------Allocations 5793Predicted 5793Private Target 0Private Limit 0Total Target 1494220Total Limit 1494220OOM Count 0(7 row(s) affected)MEMORYBROKER_FOR_CACHE (internal) Pages---------------------------------------- -----------Allocations 3776Rate 0Target Allocations 913804Future Allocations 0Overall 1260748Last Notification 1(6 row(s) affected)MEMORYBROKER_FOR_STEAL (internal) Pages---------------------------------------- -----------Allocations 2017Rate -1Target Allocations 912045Future Allocations 0Overall 1260748Last Notification 1(6 row(s) affected)MEMORYBROKER_FOR_RESERVE (internal) Pages---------------------------------------- -----------Allocations 0Rate 0Target Allocations 910028Future Allocations 0Overall 1260748Last Notification 1(6 row(s) affected)Memory Pool (default) Pages---------------------------------------- -----------Allocations 296831Predicted 578399Private Target 0Private Limit 0Total Target 1494220Total Limit 1494220OOM Count 0(7 row(s) affected)MEMORYBROKER_FOR_CACHE (default) Pages---------------------------------------- -----------Allocations 279269Rate 46Target Allocations 1189343Future Allocations 0Overall 1260748Last Notification 1(6 row(s) affected)MEMORYBROKER_FOR_STEAL (default) Pages---------------------------------------- -----------Allocations 17562Rate 1Target Allocations 927591Future Allocations 0Overall 1260748Last Notification 1(6 row(s) affected)MEMORYBROKER_FOR_RESERVE (default) Pages---------------------------------------- -----------Allocations 0Rate -1Target Allocations 1191549Future Allocations 281521Overall 1260748Last Notification 1(6 row(s) affected)DBCC execution completed. If DBCC printed error messages, contact your system administrator. |
|
jackv
Master Smack Fu Yak Hacker
2179 Posts |
Posted - 2012-09-11 : 09:24:57
|
If you think you're experiencing a memory leak you can check the "\Process(process_name)\Private Bytes" Perf counter - which rises steadily during a memory leakJack Vamvas--------------------http://www.sqlserver-dba.com |
|
|
crayon1234
Starting Member
3 Posts |
Posted - 2012-09-11 : 23:20:23
|
Thanks for the quick reply. I have checked the private bytes in the past and there is nothing that is holding a large amount. The total does not get anywhere near to the amount of ram on the server even when adding in the amount of lock memory sql server has.Also during a reboot of this server, I have tried first shutting down all the non core services. I can see sql drop down its lock memory once that service is shutdown. I then shutdown all non essential services however the server still indicates that 4-5GB of memory is in use but nothing in private bytes indicate that. Its like the memory does not get released by the system somehow. |
|
|
jackv
Master Smack Fu Yak Hacker
2179 Posts |
Posted - 2012-09-12 : 01:48:29
|
are you getting any other messages , such as Low virtual memory etc? how long does it take for the problem to appear , after you've rebooted?Jack Vamvas--------------------http://www.sqlserver-dba.com |
|
|
crayon1234
Starting Member
3 Posts |
Posted - 2012-09-12 : 20:09:39
|
Given the server 20GB ram. Restricted sql to 12GB. The memory takes about 3 weeks to consume the entire 20GB and at that time, people cannot log in to the server, sql connections cant be made. I have left my account logged in and I try to launch things liek notepad.exe and get not enough resources error messageI have put perfmon counters on. The sql memory looks fine and probably has more assigned than it needs. The avail memory counter you can see it steadily decrease over the 3 weeks. The cpu for system and smc.exe steadily rise over the 3 weeks. Not sure if that is just a symptom though. Nothing in the private bytes indicates its holding the memory. |
|
|
chadmat
The Chadinator
1974 Posts |
Posted - 2012-09-13 : 02:27:25
|
Are you logging private bytes or Working Set for all processes? You should see a steady increase in these counters for the process that is leaking memory.-Chad |
|
|
nilesh29
Starting Member
1 Post |
Posted - 2015-02-05 : 06:33:33
|
Did you guys got it resolved? I am in same issue right now. |
|
|
jackv
Master Smack Fu Yak Hacker
2179 Posts |
Posted - 2015-02-09 : 01:40:05
|
nilesh29, can you be more specific? Are there any particular big memory consumers ? Is it a Physical or VM? You'll need to post some extra informationJack Vamvas--------------------http://www.sqlserver-dba.com |
|
|
|
|
|
|
|