none
Nonpaged pool memory leak caused by Http.sys RRS feed

  • Question

  • We are using the .Net HttpListener class to implement a simple HTTP server in windows server 2012 R2 (enable https): 
    https://msdn.microsoft.com/en-us/library/system.net.httplistener(v=vs.110).aspx
    After running serveral days with continuous hight througput (about 200~300 request per second, non keep-alive connection), the nonpaged pool memory usage is about 1.2 GB.
    With the tool Poolmon.exe as the following link illustrated:
    https://msdn.microsoft.com/en-us/library/system.net.httplistener(v=vs.110).aspx
    It seems the underling http.sys of HttpListener cause Nonpaged memory leak. 
    I am wondering is there some bug in the http.sys or the .net HttpListener that may lead to nonpaged memory leak?


    Friday, July 1, 2016 3:39 AM

All replies

  • Hi Simon,

    >>"We are using the .Net HttpListener class to implement a simple HTTP server "

    How did you implement the HTTP server? Could you provide the key code? Please make sure you have dispose all the resources after using it.

    Best Regards,
    Li Wang


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, July 4, 2016 6:32 AM
    Moderator