-
-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi PowerShell process crashed #611
Comments
After testing, 'si.mem()' contains the paging file information read from the disk, and 'se.fsSize()' itself reads the disk information. This indicates that the above problems may occur as long as the disk information is read. |
@jcindex currently I am ill but I will try to focus on that as soon as I have recovered ... |
Take care of your health. I will always pay attention to your reply! |
@sebhildebrandt im also noticing this sorta issue when calling take care of your health first though |
@si458 ... Thank you for your findings. Besides the general PowerShell problem... for the |
@sebhildebrandt i believe the issue with the EDIT: ive had to move back to 5.9.7 because 5.9.8 was so unstable with the use of powershell and wmi |
@si458 I understand ... this is what I am investigating right now. I am currently trying to create a better |
@sebhildebrandt good luck! hope you better too, any testing, ping us 👍 |
@si458 , @jcindex I now created a new issue that sums up related issues (windows/wmic/powershell). I guess this gives a better overview about the problems we currently have here. For this issue here I made some research and tests but I was not yet able to reproduce it. I created scripts where I run thousands of calls to I was using powerShell now for 3 years in this package, and till now I did not get any reports that we have problems here. This does not mean that there isn't a problem. It is just hard to find right now. I would be happy, if you can provide a test case where I can reproduce this issue. As we now are forced to use powerShell (wmic was dropped in windows 11), I am of course highly interested to solve this issue. Thank you |
@si458 @jcindex ... I made detailed research and it turns out that spinning up PowerShell Process is responsible for consuming resource and time. I now created a possibility to create a persistent PowerShell which then should reduce resources by 90% ... It would be great if you can test the latest code here on GitHub: What you have to do to enable the persistent power shell:
All commands In between will then use this already pinned up powerShell. The implementation ist still a little hacky ... but if your results are fine and this is what you would like to use, I will make a clean up! Any comments are welcome! |
@si458 @jcindex I testet it again here on my side and the proposed use of Closing it for now. |
Describe the bug
After the command executed by PowerShell under Windows 10 is completed, it does not exit PowerShell in time, resulting in full CPU during cyclic sampling and system crash
To Reproduce
Steps to reproduce the behavior:
Current Output
If applicable, add output to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: