PVWA IIS "Private Virtual Memory" and "Private Memory Limit" Configuration

PVWA IIS "Private Virtual Memory" and "Private Memory Limit" Configuration

89
Created On 11/10/26 10:53 AM - Last Modified 11/10/26 15:52 PM


Objective


If there is a requirement to applying Secure Technical Implementation Guidelines (STIGs) to production IIS servers running on Windows Server 2016 and newer, then in IIS, the "Private Virtual Memory" and "Private Memory Limit" settings must be something other than 0.  This article goes over how to apply these settings properly.
 

Reference Links: 
https://stigviewer.com/stig/iis_8.5_site/2018-01-03/finding/V-76871
https://stigviewer.com/stig/iis_8.5_site/2019-01-08/finding/V-76869



Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7

Procedure


  1. Identify IIS Worker Process Current Load
    1. Login to PVWA server and open IIS Console
    2. Select the Server level (in my case, my server is called COMPONENTSS)
    3. Double-click “Worker Processes” under IIS section
    1. Identify the App Pool that is in use for the PVWA and look at the “Virtual Bytes (KB)” section
    1. Write down that integer(in my case, 2,165,868,532 KB)  This is my benchmark of what PVWA’s IIS App Pool is running as.
    2. Double that integer (in my case, 4,331,737,064 KB).  For sake of rounding, I’m using 4,000,000,000 KB.
NOTE: YOUR VALUES WILL LIKELY DIFFER FROM MINE.  PLEASE follow the instructions and calculate 2x what your “Virtual Bytes (KB)” allocation is and use that value
  1. Change IIS App Pool Load via Advanced Settings
    1. Login to PVWA server and open IIS Console
    2. Select “Application Pools”
    3. Select “PasswordVaultWebAccessPool” if it exists, if not, select the relevant App Pool identified above
    4. Select “Advanced Settings…” on the right pane
    5. Set “Private Memory Limit (KB)” to 4000000000 (4 and 9 zeros)
    6. Set “Virtual Memory Limit (KB)” to 4000000000 (4 and 9 zeros)
    1. Click OK
    2. Open elevated CMD prompt
    3. Execute “iisreset”
    4. Test PVWA by logging in and keeping an active session for more than a minute.  If the session lasts more than 30 seconds, you've successfully set this STIG correctly that doesn't impeve the PVWA from performing properly.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000ofxCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail