Solved

Memory counters on Windows Server 2008 Perfmon

Posted on 2013-01-20
6
2,080 Views
Last Modified: 2013-02-27
Hello

I am running a server with Windows 2008 Server SP2. The application is working ok, but I'm slightly worried that we're running out of memory.

The server has 4GB RAM. The application installed is a 32bit application, however it has 3 main processes.

I went to Perfmon, and looked at the following counters:

Available Mbyes: Average is 300MB
% Commited Bytes in Use: Average is 22%
Pages/ Sec: Average is 5
Commited Bytes: Average is 2.5 GB
Pages Output/Sec: 0

I've been reading a couple of articles on the Net, and a lot seem to contradict each other!

For instance:

http://technet.microsoft.com/en-gb/magazine/2008.08.pulse.aspx

and http://blog.whatwoulddando.com/tag/perfmon-troubleshooting/

The later says that if Available Mbytes is less than 20-25% of installed RAM, then we have an issue, but the first one says 5%.

Likewise, for Pages/Sec, the latter says anything higher than 5 is a problem. The second says 1000! Whereas for Pages/ Sec, this article says 40

 http://blogs.technet.com/b/askperf/archive/2008/01/25/an-overview-of-troubleshooting-memory-issues.aspx

Could someone confirm?

Basically, I need a reliable counter that will tell me:

i. How much Physical memory I have left
ii. How much memory applications get from RAM as opposed to paging?

Any help appreciated!!!
0
Comment
Question by:neil4933
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 10

Expert Comment

by:joelsplace
ID: 38798793
I use Microsoft\Sysinternals' Process Explorer.
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
Check out the advanced settings for more columns of info.
You said you app is 32bit.  Is your server 32bit standard?  If not, is there a reason you don't add more RAM?
RAM limits:  http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx#physical_memory_limits_windows_server_2008
0
 
LVL 10

Expert Comment

by:joelsplace
ID: 38798797
I just noticed the RAM chart link has a mistake.  It lists 4GB max for x86 2008 SBS server.  There is no such product.  SBS2008 was 64bit only.
0
 

Author Comment

by:neil4933
ID: 38798916
Thanks, yes it's a 64bit server but we don't want to allocate more RAM if not needed as we need to pay for it from our hoster.

Really, what I'm looking for is a couple of good Perfmon counters to use and what their recommended maximum should be?

Appreciate the help!
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 10

Expert Comment

by:joelsplace
ID: 38798982
You want to look at Committed Bytes in Perfmon under memory.  If that is running higher than the amount of physical RAM you are using then you need more RAM because the excess is being constantly paged.  I just checked my idle SBS2008 server and it shows a 5.8GB average which isn't far off of the 64% "Used Physical Memory" on the main page of Perfmon.
0
 

Author Comment

by:neil4933
ID: 38799200
Thanks, I did already, here's what I saw initially:

Available Mbyes: Average is 300MB
% Commited Bytes in Use: Average is 22%
Pages/ Sec: Average is 5
Commited Bytes: Average is 2.5 GB
Pages Output/Sec: 0

(Also Paged read/Sec is 2)

So the Commited Bytes is 2.5 GB, but the Available MBytes is 300MB? I don't see how that could be? Where is the discrepency?
0
 
LVL 10

Accepted Solution

by:
joelsplace earned 500 total points
ID: 38799534
Does it show the full 4GB as total memory?
You can also look at the counter for %Usage on the page file.
You may have a memory leak somewhere that is causing the difference.  My Committed Bytes 5.871G + Available MB 2,856 is very close to my 8GB RAM.  It's actually more but I figure that is due to the way it's calulated in all the different counters.
Do your numbers add up after a reboot?
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question