Solved

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

Posted on 2014-04-02
4
2,902 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
[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
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Two wordpress questions 3 102
File upload fails with SSL Certificate 3 54
OWA issue - Exchange 2013 - 440 Login Timeout 8 89
DNS CNAME records visibility on a web server 2 65
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

740 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