I have a Windows 2000 Server box (IIS 5) with 2GB RAM. It hosts 5 FTP sites
(all of them with very light traffic), 1 Asp.net site (with about 10K hits
per day), and 3 custom .Net windows services written in C#. Every few days,
the FTP sites quit functioning. The box was rebooted yesterday, and it has
been up for about 24hrs straight right now, and in task manager it shows that
the two biggest memory users are services.exe with 116MB used, and
aspnet_wp.exe with 93 MB used.

It seems to me that services.exe may be leaking memory. Does that figure
sound high to anyone else?

Maybe the custom .net windows services have some problems.

I also have a Windows Server 2003 box (IIS 6) with 40 sites or so, and
services.exe on that box is only using 16 MB!

Any ideas?

TIA,
--
Berry Morgan
JSO

Re: Services.exe using high memory by David

David
Thu May 26 21:21:44 CDT 2005

services.exe is a core Windows process. It basically handles all Windows
Services (start/stop/launch). It is usually very small in size (mine is
about 8MB and my server has uptime of about 4 months now ). So, if there is
a leak, it's probably not from the normal files loaded within it.

116MB does seem a bit high. Can you use TLIST.EXE to see what DLLs are
loaded into it and maybe one that looks like it's NOT a part of Windows? You
can't just kill/restart the process because it'd require a reboot of the OS.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Berry at JSO" <6399bwmNOSPAM@community.nospam> wrote in message
news:26E3EB25-E8A9-4D6E-83BE-F41D8D6FA410@microsoft.com...
I have a Windows 2000 Server box (IIS 5) with 2GB RAM. It hosts 5 FTP sites
(all of them with very light traffic), 1 Asp.net site (with about 10K hits
per day), and 3 custom .Net windows services written in C#. Every few days,
the FTP sites quit functioning. The box was rebooted yesterday, and it has
been up for about 24hrs straight right now, and in task manager it shows
that
the two biggest memory users are services.exe with 116MB used, and
aspnet_wp.exe with 93 MB used.

It seems to me that services.exe may be leaking memory. Does that figure
sound high to anyone else?

Maybe the custom .net windows services have some problems.

I also have a Windows Server 2003 box (IIS 6) with 40 sites or so, and
services.exe on that box is only using 16 MB!

Any ideas?

TIA,
--
Berry Morgan
JSO



RE: Services.exe using high memory by v-wdxu

v-wdxu
Fri May 27 00:51:58 CDT 2005

Hi Berry,

From your scenario description, since your ASP.net web application has one
10k hits per day, I think the 93 mb memory usage is not very high. The
windows service "FTP publishing service" provides the support to FTP
service; so the failure of FTP execution should be caused by the high
memory usage of Services.exe, which is the windows service controller.

The high memory may be caused by a lot of causes, for example unfreed
memory, cached data etc. We will need to capture the process memory dump by
debugging tools "ADplus" etc to analyze which thread allocates so many
memory. The analyze result of the memory dump will show the evidence of the
culprit. Since analyzing memory dump is a very time-consuming and complex
task, it requires some particular skills. We have a dedicated team to help
customers to analyze the dump files.You can submit an incident to the
Microsoft Support so that they can help you check the memory dump files.
http://support.microsoft.com/common/international.aspx

Please feel free to let me know if any question. My pleasure to be of any
assistance.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.