November 1, 2011 at 12:48 am
Hi all,
one of my production server SQL Server is consuming more memory i.e., almost 32GB.
AWE Enabled,
MAX server memory set to 40GB,
but the PF usage is continuously increasing and after reaching very high PF usage we not able to connect SQL Server.
can anyone help me to fix this issue.. and what are the other things i need to do on that server..?
TIA...
November 1, 2011 at 4:21 am
Can you please let us know which Windows Server and SQL Server are you using? Moreover, is your server on a VM?
November 1, 2011 at 4:52 am
Find, where the memory is leaking ?
Execute :
DBCC memorystatus
And look for
Cachestore_SQLCP(node 0)
find the memory usage in " SINGLEPAGE ALLOCATOR
& MULTIPAGE ALLOCATOR
November 1, 2011 at 4:55 am
Look for open transaction if, any.
Run DBCC freeproccache -- to release proc.
November 1, 2011 at 4:57 am
Also write the version of SQL as well as Windows server.
November 1, 2011 at 5:01 am
How much ram available for the OS. PF is mostly used by the OS, not sql server.
November 1, 2011 at 5:02 am
How much memory total on the server?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 1, 2011 at 5:27 am
Hi all,
First i'd like to say thanks for your inputs.
OS:windows 2003 server Enterprise
SQL: 2005 STD Edition sp2
RAM:32GB
Hard Disk:around 300GB
Ninja:i've seen in Task manager-->Process-->Mem Usage by SQLserver.exe is 31,343,5676 K
dm_tapas: Previously i ran the queries like
DBCC freessytemcache
Dbcc freeproccache.
This two didn't helped me to decrease the PFusage..
November 1, 2011 at 5:30 am
PF usage is through the roof because Windows is starving.
You need to set the max memory of sql server low enough so that the OS will have 4-5 GB of ram for itself.
I wouldn't go above 28 GB max memory for this server.
November 1, 2011 at 5:35 am
HI,
I ran the query DBCC Memorystatus
Cachestore_SQLCP(total)
Single page allocator:2613840
Multi page allocator:4272
November 1, 2011 at 5:36 am
Ninja's_RGR'us (11/1/2011)
PF usage is through the roof because Windows is starving.You need to set the max memory of sql server low enough so that the OS will have 4-5 GB of ram for itself.
I wouldn't go above 28 GB max memory for this server.
November 1, 2011 at 5:38 am
Ninja:i set max server memory for SQL is 40722MB
Should i decrease it or increase?
November 1, 2011 at 5:39 am
MasterDB (11/1/2011)
Ninja:i set max server memory for SQL is 40722MBShould i decrease it or increase?
You can't assign memory that isn't on the machine. You need to decrease it to 28GB.
November 1, 2011 at 5:43 am
you mean to say right click on instance-->properties-->memory-->max server memory to 28 gb ryt?
November 1, 2011 at 5:50 am
Viewing 15 posts - 1 through 15 (of 26 total)
You must be logged in to reply to this topic. Login to reply