Re: Strange memory leak in windows service (pool nonpaged bytes)
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Tue, 15 Apr 2008 17:50:29 +0200
"Adam Clauss" <aclauss@xxxxxxxx> wrote in message news:gsydnQLjBLqKXJnVnZ2dnUVZ_vCknZ2d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
We have a Windows Service written in C# that seems to be the center of a periodic system failure.
The following error gets logged to the system event log:
EVENT_SRV_NO_NONPAGED_POOL
(event ID: 2019).
I turned on performance monitor and started keeping an eye on our process (monitored pool nonpaged bytes for both the entire system and our process).
What I saw initially was no problems, a nice relatively straight line for both (minor ups and downs, but that was expected). However, at some point (we didn't see what initiated this) the values for both our process and the system skyrocketed, both completely pegged off the chart. Unfortunately, we caught it too late to know whether this was a sudden spike, or a gradual growth - I can say that it is not a constant growth, it was fine during the day while I was monitoring it. I now have the actual counter log turned on for those values so I can see exactly what type of increase it was.
In any case, I've never run into anything like this before and am not sure where to even start... google'ing the event log error returned a whole one result, that gave me a great warm, fuzzy feeling.
Our process is basically a "cache" of data, it initiates connections to various other processes from which it retreives data from. Clients also connect to our process in order to retrieve this cached data from us. Commands from clients are also passed via this process and on to the various processes we connect to (and command responses returned the opposite direction). All of these connections are TCP, and there are probably anywhere from 20-50 of these connections open at a time.
Any thoughts on what I should be looking for??
-Adam
The "Non paged pool" refers to the non paged kernel memory pool. Allocation from this pool can only de done by device drivers, to troubleshooting such kind of leaks you'll have to use the Memory Pool Monitor (poolmon.exe).
Please search the KB for "How to use memory pool monitor" for more detailed info
Willy.
.
- Follow-Ups:
- Re: Strange memory leak in windows service (pool nonpaged bytes)
- From: Adam Clauss
- Re: Strange memory leak in windows service (pool nonpaged bytes)
- References:
- Strange memory leak in windows service (pool nonpaged bytes)
- From: Adam Clauss
- Strange memory leak in windows service (pool nonpaged bytes)
- Prev by Date: Re: Problem with VS2008 editor: How to force insert of tab
- Next by Date: Re: Create Program Without DB
- Previous by thread: Re: Strange memory leak in windows service (pool nonpaged bytes)
- Next by thread: Re: Strange memory leak in windows service (pool nonpaged bytes)
- Index(es):
Relevant Pages
|