Cope with event ID 2020 errors

Servers that run under extremely heavy loads -- meaning they have a lot of services running and a lot of open file handles -- may start logging a great many errors of Event ID 2020. The error information reads:

"Event ID 2020 - The server was unable to allocate from the system paged pool because the pool was empty."

This happens if Windows 2000's memory manager can't de-allocate paged pool memory fast enough to keep up with demand. Paged pool memory is system or kernel code that can be swapped out to disk when there's little physical RAM left. De-allocating paged pool memory is the actual swapping process. Normally this swapping starts happening when 80% of the total paged pool is used by system operations, but it may need to happen a lot sooner if the server starts experiencing heavy loads.

To do this, you'll need to edit the Registry. (Make sure you've backed it up, and can restore it in the event you do something untoward.) Run REGEDT32 and open the key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management

Add a REG_DWORD value named PoolUsageMaximum (assuming there isn't one already), and set the value of the key to 40 (decimal). This indicates that the memory manager should begin trimming down allocated paged pool memory when 40% of the total paged pool is in use.

Set the PagedPoolSize REG_DWORD key to 0xFFFFFFFF (hex), which allows the largest possible

    Requires Free Membership to View

paged pool permitted. Close down REGEDT32 and reboot.


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.


This was first published in May 2002

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.