StreamProcess.exe is consuming high CPU spike on PVS Servers.
book
Article ID: CTX213595
calendar_today
Updated On:
Description
The Streamprocess.exe was consuming high CPU on the PVS servers. The Perfmon suggested sustained spike in Kernel mode and process dumps revealed that we were waiting for the Packet Send & Receive.
Environment
This software application is provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that: (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the software application be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the software application.
Resolution
The issue was identified with the Anti-Virus that was blocking the network packets. The solution was to add the PVS related files to AV white list.
bnistack6.sys: IO protocol driver | UDP port 6911-6930
CVhdBusP6.sys: disk enumerator
CNicTeam.sys: network teaming if being used
CFsDep2.sys: system minifilter
CVhdMp.sys: mtorage miniport driver
Avoid scanning, whitelist or permission the following processes on PVS Server 6.x\7.x:
Streamprocess.exe: IO delivery | UDP port 6901-6910
Streamservice.exe: watchdog for the streamprocess
Soapserver.exe: handles Database connectivity and AD authentication
Inventory.exe: vDisk Inventory | UDP port 6895
MgmtDaemon.exe: inter-server communication |UDP port 6898
Notifier.exe: inter-server communication | UDP port 6903
BNTFTP.exe: PVS TFTP delivers bootstrap | UDP port 69
PVSTSB.exe: Two Stage Boot delivers bootstrap | UDP port 6969
BNPXE.exe: PVS PXE service | Broadcast Protocol
BNAbsService.exe: PVS Ramdisk Server
CdfSvc.exe: Citrix Diagnostic Facility COM Server
WARNING! This article contains antivirus exclusions. It is important to understand that antivirus exclusions and optimizations increase the attack surface of a system and might expose computers to a variety of real security threats. However, the following guidelines typically represent the best tradeoff between security and performance. Citrix does not recommend implementing any of these exclusions or optimizations until rigorous testing has been conducted in a lab environment to thoroughly understand the tradeoffs between security and performance. Citrix also recommends organizations engage their antivirus and security teams to review the following guidelines before proceeding with any type of production deployment.
Problem Cause
The Streamprocess.exe was consuming high CPU on all the PVS servers. The Perfmon suggested sustained spike in Kernel mode and process dumps revealed that we were waiting for the Packet Send & Receive.
Issue/Introduction
The Streamprocess.exe consumes high CPU on PVS Servers and we see a sustained CPU utilization.