류짱:Beyond MySelf

CSRSS.exe 프로세스의 high CPU 점유 본문

Microsoft/Windows Platform

CSRSS.exe 프로세스의 high CPU 점유

リュちゃん 2010. 12. 21. 15:42

CRSSS.exe 프로세스의 CPU 사용률이 높아 시스템에 Hang 발생하여 메모리 덤프를 분석 한 적이 있습니다. 문제 해결위해서는 아래 Hotfix를 설치 하시면 됩니다.  

CSRSS.exe 프로세스의 정의 및 사용 용도는 무엇일 까요?

The Microsoft Client Server Runtime Server subsystem utilizes the process csrss.exe for managing the majority of the graphical instruction sets under the Microsoft Windows operating system.

This is the user-mode portion of the Win32 subsystem (with Win32k.sys being the kernel-mode portion). Csrss stands for client/server run-time subsystem and is an essential subsystem that must be running at all times. Csrss is responsible for console windows, creating and/or deleting threads, and some parts of the 16-bit virtual MS-DOS environment

해당 프로세스가 CPU를 많이 사용 하는 원인 및 조치 방법

CSRSS.exe가 CPU를 많이 사용 할 경우 아래와 같은 증상이 나타납니다.
아래의 증상 들이 해당 서버에서 발생을 하였었는지 확인 해 보시고 아래의 Action plan에 따라 조치를 취해  주시기 바랍니다.

[증상]

  • System performance becomes slow.
  • The terminal server stops responding (hangs).
  • The Csrss.exe process in a terminal server session continuously consumes more than 50 percent of CPU resources. Then, the terminal-server session stops responding. Additionally, you cannot log off from this terminal server session. You also cannot disconnect from this session.

[원인]
Csrss.exe 프로세스가 이미 released되어 참조 할 수 없는  object를 참조 하려고 시도를 하게 될 경우
Csrss.exe에서 사용되는 winsrv.dll 파일이 access violation을 일으켜 CSRSS.exe가 High CPU를 사용하게 하고 terminal server세션의 응답이 멈출 수 있습니다.

This problem occurs because an error in the Winsrv.dll file causes an access violation in the Csrss.exe process.
The Csrss.exe process tries to de-reference an object that has already been released.
This access violation generates high CPU usage in the Csrss.exe process. Therefore, the terminal-server session stops responding

[Action Plan]

  • 해당 서버에 터미널로 접속 하는 사용자들이 작업을 끝낸 후 서버와의 연결을 끊을 때 정상적으로 세션이 종료 될 수 있도록 하시기 바랍니다.
  • 해당 서버의Winsrv.dll 버전을 아래의 사이트와 비교하여 Hotfix를 적용 하시기 바랍니다.
    The Csrss.exe process in a terminal-server session continuously consumes more than 50 percent
    http://support.microsoft.com/kb/934330/en-us