Solved

Memory counters on Windows Server 2008 Perfmon

Posted on 2013-01-20
6
2,018 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
  • 4
  • 2
6 Comments
 
LVL 10

Expert Comment

by:joelsplace
Comment Utility
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
Comment Utility
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
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 10

Expert Comment

by:joelsplace
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now