473,396 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

What's the "System" process doing?

Hi

Is there any way to see what the System process is doing?

We have developed an application running at a production site to measure and
optimize the production. The application needs to be responsive at all times
during production.

I'm experiencing some problems with my application not responding or
responding slow. I suspeced the problem had to do with high CPU utilization
so I started logging the Processor Time for all running processes using
perfmon.exe

My process is running quite steady at about 50 - 70 %. However a process
called "System" is occationally using the CPU up to 90 % and this causes
problems in my application. Also a svchost process is running.

The system is a P3 3,0 GHz with 1 GB RAM and a 80 GB HDD running Win XP pro.

Is there any way I can get more specific information on what's happening and
What the System and svchost processes are doing? I understand the svchost
process is running services on the system and I would be interested in
knowing what service it's running and when to know if I could disable that
service?

Any tips on this would be apprechiated

Thank you
Aug 17 '06 #1
8 3187
this may be a spam or virus. check for it. some times asp worker
process causes this problem potentially SQL Server trying to retrieve
huge data...
Henrik wrote:
Hi

Is there any way to see what the System process is doing?

We have developed an application running at a production site to measure and
optimize the production. The application needs to be responsive at all times
during production.

I'm experiencing some problems with my application not responding or
responding slow. I suspeced the problem had to do with high CPU utilization
so I started logging the Processor Time for all running processes using
perfmon.exe

My process is running quite steady at about 50 - 70 %. However a process
called "System" is occationally using the CPU up to 90 % and this causes
problems in my application. Also a svchost process is running.

The system is a P3 3,0 GHz with 1 GB RAM and a 80 GB HDD running Win XP pro.

Is there any way I can get more specific information on what's happening and
What the System and svchost processes are doing? I understand the svchost
process is running services on the system and I would be interested in
knowing what service it's running and when to know if I could disable that
service?

Any tips on this would be apprechiated

Thank you
Aug 17 '06 #2
Thank for your answer but this system is a stand alone computer in a
production enviroment whitout internet connection or SQL server connections
and my WinForm application is the only application installed and running on
the computer...

"do***********@gmail.com" wrote:
this may be a spam or virus. check for it. some times asp worker
process causes this problem potentially SQL Server trying to retrieve
huge data...
Henrik wrote:
Hi

Is there any way to see what the System process is doing?

We have developed an application running at a production site to measure and
optimize the production. The application needs to be responsive at all times
during production.

I'm experiencing some problems with my application not responding or
responding slow. I suspeced the problem had to do with high CPU utilization
so I started logging the Processor Time for all running processes using
perfmon.exe

My process is running quite steady at about 50 - 70 %. However a process
called "System" is occationally using the CPU up to 90 % and this causes
problems in my application. Also a svchost process is running.

The system is a P3 3,0 GHz with 1 GB RAM and a 80 GB HDD running Win XP pro.

Is there any way I can get more specific information on what's happening and
What the System and svchost processes are doing? I understand the svchost
process is running services on the system and I would be interested in
knowing what service it's running and when to know if I could disable that
service?

Any tips on this would be apprechiated

Thank you

Aug 17 '06 #3
The "System" process is your Operating System.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Orange you bland I stopped splaying bananas?
"Henrik" <he*****@community.nospamwrote in message
news:81**********************************@microsof t.com...
Thank for your answer but this system is a stand alone computer in a
production enviroment whitout internet connection or SQL server
connections
and my WinForm application is the only application installed and running
on
the computer...

"do***********@gmail.com" wrote:
>this may be a spam or virus. check for it. some times asp worker
process causes this problem potentially SQL Server trying to retrieve
huge data...
Henrik wrote:
Hi

Is there any way to see what the System process is doing?

We have developed an application running at a production site to
measure and
optimize the production. The application needs to be responsive at all
times
during production.

I'm experiencing some problems with my application not responding or
responding slow. I suspeced the problem had to do with high CPU
utilization
so I started logging the Processor Time for all running processes using
perfmon.exe

My process is running quite steady at about 50 - 70 %. However a
process
called "System" is occationally using the CPU up to 90 % and this
causes
problems in my application. Also a svchost process is running.

The system is a P3 3,0 GHz with 1 GB RAM and a 80 GB HDD running Win XP
pro.

Is there any way I can get more specific information on what's
happening and
What the System and svchost processes are doing? I understand the
svchost
process is running services on the system and I would be interested in
knowing what service it's running and when to know if I could disable
that
service?

Any tips on this would be apprechiated

Thank you


Aug 17 '06 #4
Hi Henrik,

System Process is just the placeholder of all the kernel-mode system
threads, such as threads created by various drivers or other kernel-mode
components. This process does not have user-mode code, and is not a normal
user-mode process.

In Windows NT achitecture, all the user-mode processes will have their own
user-mode 2GB process space, while all the processes will share the upper
2GB kernel-mode process space. The code that runs in kernel-mode space is
running under kernel-mode threads. However, kernel-mode threads do not
belong to any user-mode process, so, to collect and contain the
kernel-mode threads performance data, a system process is introduced to
hold all the kernel-mode threads.

Above is the background information. Let's back to your question.

Are you sure that it is your .Net winform application that caused System
Process to use high CPU? If you do not run the .Net winform, do you still
have such high CPU? It is likely the System Process high CPU is caused by
other processes or code. Another way to figure out the relation between
your winform application and the System Process is running your winform
application on other machines and exam the System process CPU utilization.
Additionally, some anti-virus software or spyware may cause such strange
issue as dogu pointed out. It is recommended to turn-off any anti-virus
softwares.

Finally, the best tools to examine the System process information are
kernel-mode debugger and Process Explorer. I highly recommend you download
and try "Process Explorer", it is almost a definite superset of Task
Manager:
http://www.sysinternals.com/Utilitie...sExplorer.html

By using "Process Explorer", you can find System Process, and view its
property through right click ContextMenu. In the "Threads" tabpage, it will
list all the threads in this process, in our scenario, they are all
kernel-mode threads created from kernel mode components/drivers. You can
also view the call stack information of each thread, which is the most
informative way of understanding what the thread is current doing. However,
kernel-mode achitecture information is needed to understand these kernel
call stack.
Note: you must setup the symbol server correct, or the call stack
information will not be correct. For more information, please refer to
windbg help document.

Kernel debugging is another approach to examine system process, however, it
is far complex and goes beyond of our scope.

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 18 '06 #5
Additionally, if you are curious with kernel achitecture and kernel
debugging, <Windows Internalswritten by Mark Russinovich.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 18 '06 #6
Hello, Henrik,

Re: "
The application needs to be responsive at all times
during production.
It's probably a little late to mention it to your development team, but
Windows is NOT a real-time operating system. If responsiveness is a
critical requirement then you will have to re-build your application on
a more appropriate base.

Cheers,
Randy
Henrik wrote:
Hi

Is there any way to see what the System process is doing?

We have developed an application running at a production site to measure and
optimize the production. The application needs to be responsive at all times
during production.

I'm experiencing some problems with my application not responding or
responding slow. I suspeced the problem had to do with high CPU utilization
so I started logging the Processor Time for all running processes using
perfmon.exe

My process is running quite steady at about 50 - 70 %. However a process
called "System" is occationally using the CPU up to 90 % and this causes
problems in my application. Also a svchost process is running.

The system is a P3 3,0 GHz with 1 GB RAM and a 80 GB HDD running Win XP pro.

Is there any way I can get more specific information on what's happening and
What the System and svchost processes are doing? I understand the svchost
process is running services on the system and I would be interested in
knowing what service it's running and when to know if I could disable that
service?

Any tips on this would be apprechiated

Thank you

Aug 18 '06 #7
Thank you for your reply

This is what I was looking for. I suspected the System process was the host
for other things going on but I need to know what's going on.

I hope to find that the things that are happening are not critical to my
application and maybe by ininstalling some driver or turning of some services
I can get rid of the high CPU load.

I will try the Process Exporer

Thank you

""Jeffrey Tan[MSFT]"" wrote:
Hi Henrik,

System Process is just the placeholder of all the kernel-mode system
threads, such as threads created by various drivers or other kernel-mode
components. This process does not have user-mode code, and is not a normal
user-mode process.

In Windows NT achitecture, all the user-mode processes will have their own
user-mode 2GB process space, while all the processes will share the upper
2GB kernel-mode process space. The code that runs in kernel-mode space is
running under kernel-mode threads. However, kernel-mode threads do not
belong to any user-mode process, so, to collect and contain the
kernel-mode threads performance data, a system process is introduced to
hold all the kernel-mode threads.

Above is the background information. Let's back to your question.

Are you sure that it is your .Net winform application that caused System
Process to use high CPU? If you do not run the .Net winform, do you still
have such high CPU? It is likely the System Process high CPU is caused by
other processes or code. Another way to figure out the relation between
your winform application and the System Process is running your winform
application on other machines and exam the System process CPU utilization.
Additionally, some anti-virus software or spyware may cause such strange
issue as dogu pointed out. It is recommended to turn-off any anti-virus
softwares.

Finally, the best tools to examine the System process information are
kernel-mode debugger and Process Explorer. I highly recommend you download
and try "Process Explorer", it is almost a definite superset of Task
Manager:
http://www.sysinternals.com/Utilitie...sExplorer.html

By using "Process Explorer", you can find System Process, and view its
property through right click ContextMenu. In the "Threads" tabpage, it will
list all the threads in this process, in our scenario, they are all
kernel-mode threads created from kernel mode components/drivers. You can
also view the call stack information of each thread, which is the most
informative way of understanding what the thread is current doing. However,
kernel-mode achitecture information is needed to understand these kernel
call stack.
Note: you must setup the symbol server correct, or the call stack
information will not be correct. For more information, please refer to
windbg help document.

Kernel debugging is another approach to examine system process, however, it
is far complex and goes beyond of our scope.

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 22 '06 #8
Hi Henrik,

Glad to see my reply can help you.

Note: setting up the symbol server for the Process Explorer is a critical
step of getting meaningful call stack for threads. Also, you'd better
change the dbghelp.dll path from C:\windows\system32 to windbg installation
folder, this is because windbg will take a dbghelp.dll which is higher
version than the one in system32 folder. You can change the dbghelp.dll
path in "Options" ->"Configure Symbols..." menu in Process Explorer.

Finally, kernel-debugging and analysis requires a lot of kernel-mode
achitecture knowledge. Besides <Windows Internalsbook, some more specific
kernel-debugging questions can be posted to http://www.osronline.com/,
there are a lot of kernel/driver experts in that site.

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 22 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Didier C | last post by:
Hi! I was wondering if we can pass some arguments to system("cmdline")? E.g in Perl, we can do something like: $dir="/home/cypher"; system("ls $dir"); which would instruct Perl to do an...
11
by: Paminu | last post by:
Is there something like system("PAUSE") for linux?
1
by: Krazitchek | last post by:
Hi, i check all directories on a disk but an error occurs when i try to enter in the "System Volume Information" directory. Is there a way to "jump" this directory without to check the name of...
0
by: Asaf | last post by:
Hi, When I am doing a POST to a SSL URL I am getting this error on first attempt "Cannot access a disposed object named "System.Net.TlsStream"." After the first attempt all works fine, here is the...
5
by: msigwald | last post by:
I'm trying to write a little C program to run under linux, which must gain root so it can then shutdown the computer. I can get the code to execute the su command via system("su"), but once su...
21
by: Neel | last post by:
I am trying to "ping" a remote host in my C++/Redhat Linux code to check whether that host is connected or not. if (0 == system("ping -w 2 192.168.0.2)) But, in both cases...
3
by: wizofaus | last post by:
I've now created the same setup on four different machines, where I'm changing the processModel section machine.config so that ASP.NET (1.1) runs as SYSTEM, to give it permission to do various...
0
by: Traps | last post by:
Here's my code. Process newProcess = new Process(); newProcess.StartInfo.WorkingDirectory = @"C:\"; newProcess.StartInfo.FileName = "Testapp.exe"; ...
0
by: Schadrach | last post by:
I'm having a strange problem, I have a small executable that runs a backup for a some data nightly, and as of September 22, 2007 it has ceased to function with the following error: Unhandled...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.