PhpStorm eats CPU after I made a commit inside a Docker container

Hello.

I will describe what is my use case and what is the problem.

> What steps will reproduce the problem?
1. Have a dev architecture when Git commits must be done inside a Docker container (most likely, to run unit tests win a specific environment).
2. Log in this container, and commit as root.
3. Now a bunch of files in the .git directory are owned by root and not readable by others.

> What is the expected result?
My CPU stays cool like he always is.
Git viewer fails to work properly, but PhpStorm doesn't waste system resources to oblivion.

> What happens instead?
My CPU become a barbecue, Java process eats everything.

Git viewer stops working, and that's normal obviously, most of the Git object files are owned by root.
Java calms down as soon as I grant myself ownership of every file in the project root, restoring access rights.
Note that Git doesn't seem to respect ACL nor sticky bits, I already tried that.

 

What should I change in my process to correct this ?

Also, is this resource-eating thing a bug ?

0
Avatar
Permanently deleted user

Hello,

Really hard to say anything here.

Best way would be to submit a support request from the top of this page and provide a CPU snapshot taken when the performance issue is present and IDE logs.

Instructions for taking the snapshot are available here: <https://intellij-support.jetbrains.com/hc/en-us/articles/207241235>.

Logs can be gathered via Help > Collect and Show Logs in ... .

0

请先登录再写评论。