Solved

IIS Worker Process is paging to disk when it should use RAM memory.

Posted on 2014-04-02
4
2,715 Views
Last Modified: 2014-09-07
Hello,

I work at a school district and this involves a student information server where about 20 people attach using terminal services and about 150 teachers using web portals for grade input.

I have a virtual machine running Windows Server 2008 and SQL Server 2008.  The CPU is spiking because a IIS worker process is writing huge amounts to page file instead of using RAM.

The server has 4 Xeons assigned to it and 16GB of RAM and again it's virtual.  We find that if we recycle the pool for this site the CPU drops way down and levels out, but starts building up again...  We can tell it to recycle the pool every 30 minutes, but wondering if teachers will lose data while they are entering grades when that recycle happens.

Is there anything anyone can recommend to make this server run smoother?  A way to get that process to use RAM instead of the page file.  Is the recycling the best option?

Thanks for any advice.

Matt
0
Comment
Question by:mscalafasd
  • 2
  • 2
4 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 39974388
If you look in Task Manager, how much memory is being used by the w3wp.exe process?

Actually you might be better going in to IIS selecting the root node in the tree (the server itself) and double-clicking "Worker Processes", as that will break down memory usage by application pool.
0
 

Author Comment

by:mscalafasd
ID: 39974967
CPU Usage is nominal, Memory usage is around 350k and growing, this was from Task Manager.

In the IIS manager:

Private Bytes
286,948.00k

Virtual Virtual Bytes
1,286,568.00

The server seems a little better today, but still slow for teachers to put grades in.  There were a ton of page faults when we looked at the W3WP process using process explorer yesterday.  It was constantly writing to the page file on the disk.
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 400 total points
ID: 39975231
If you look in IIS under Application Pools and select "Set Application Pool Defaults..." from the menu on the right hand side - what value do you have in the "Recycling > Private Memory Limit (KB)" field?
0
 

Author Comment

by:mscalafasd
ID: 39981829
Carl,

The only thing checked is regular time intervals and it's set to 120.  If teachers are entering grades would they lose everything they have done if it recycles as they are inputting?

>>>>>>>>>>
 
Some updates...  We have moved this virtual server from our Compellent SAN to one of the virtual hosts (Dell Poweredge 610R's).  I added two 10,000RPM SAS drives at 600GB each.  Moved the .vmdk files to there.  

Also Dell replaced a cache card that had failed on the compellent, we only have 1 controller so there was no failover.  Using HD Tune Pro the write speed has now gone up from 8 to 20MB to 100, so that is much improved.

I noticed Output Caching was not enabled, and I tried enabling it, but then entire sections of the gradebook would not load at all.  (It's mainly .aspx pages)

Teachers are saying their grades are not disappearing now, but the system is still pretty slow, and that's pretty sad for a weekend with not as many people hitting the system.

So things are better but still a work in progress.

Also the server is only Server 2008 Standard edition, I don't see R2 in there.  Should we optimally be on R2 and should this be Enterprise edition?

Thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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