?
Solved

Memory counters on Windows Server 2008 Perfmon

Posted on 2013-01-20
6
Medium Priority
?
2,177 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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 2000 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Suggested Courses

752 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