Skip to content

Using Powershell as a backup for handle.exe is not a good solution. #8700

@lukebakken

Description

@lukebakken

Describe the bug

We have had a couple Windows users report excessive CPU use of Powershell when it is used to calculate the number of handles being used by RabbitMQ. This was introduced by #6614 as a fix to #6613.

We know that handle.exe sometimes does not return valid information, and of course sometimes is not installed. On Windows, keeping track of used handles (file descriptors) is not as critical as on Linux. Perhaps the best solution is to remove the Powershell backup.

Reproduction steps

Run RabbitMQ on Windows without installing handle.exe.

Expected behavior

No high CPU usage no matter how we calculate handle usage.

Additional context

N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions