IDEA very slow on samba-mount

Answered

hey there!

i've been using IDEA 2017.3 for a long time now without updating. now on my new computer i've installed the most recent version, and that version seems to do something differently than the 2017 one with samba-shares.

i have a linux vm running on my win10 host, with source folders exposed via smb and mounted in win as network drive. normal browsing the folder is no problem, and (!) with the 2017 version of IDEA i had no trouble working inside it (directly opening the files in there as project)

now since i have 2019, working on that share has become extremely slow. whenever i save a file, the whole program freezes for more or less 20 seconds. the changes are saved instantly though, just IDEA doesn't react to any input, it doesn't even show the mouse cursor right after saving.

has there been a setting introduced which i can tune to get this running smooth again? (like i said, i never had problems like this earlier..) maybe something with indexing..? or something else entirely?

i hope someone can help me :)

thanks

2
9 comments

Please file an issue at YouTrack with attached IDE log folder zipped after IDE restart and reproducing the problem. Also attach screenshot of Settings | Appearance & Behaviour | System Settings page. Thanks.

1
Avatar
Permanently deleted user

I am having the same issue. My files are on samba share on an external VM. all git commands, browsing are fine via console but when I try to use PHPStorms git commands it hangs and starts stacking background tasks on top of each other though the actual command is executed when i check status via console, it is just that Phpstorm takes long time to get the response back. Loading projects via samba is almost instant....no clue what is the issue....

0

Me too.  Intellij project on a NAS being served to Win 10 using samba.  As soon as I open the project in Windows, smbd process on the NAS is constantly > 50%.  @... Devschrott are you able to check if the smbd process is similarly utilised on your linux VMs?

0
Avatar
Permanently deleted user

Brendan I have checked and smbd  is on and off with a max utilisation of 3.3%

0
Avatar
Permanently deleted user

This is the problem i am facing, look closely to the time it takes for githandler

 

2020-04-13 22:47:58,031 [ 411755] INFO - #git4idea.commands.GitHandler - git log took 196259 ms. Command parameters:
"C:\Program Files\JetBrains\PhpStorm 2019.3.2\bin\runnerw64.exe" "C:\Program Files\Git\bin\git.exe" -c credential.helper= -c core.quotepath=false -c log.showSignature=false log --name-status --pretty=format:%x01%x01%H%x02%x02%ct%x02%x02%an%x02%x02%ae%x02%x02%cn%x02%x02%ce%x02%x02%P%x02%x02%s%x02%x02%b%x02%x02%B%x02%x02%at%x03%x03 --encoding=UTF-8 HEAD --full-history --simplify-merges -- templates/default/componentsList/rulePermissionMatrix.html.twig
2020-04-13 22:49:06,269 [ 479993] INFO - #git4idea.commands.GitHandler - git show took 68237 ms. Command parameters:
"C:\Program Files\JetBrains\PhpStorm 2019.3.2\bin\runnerw64.exe" "C:\Program Files\Git\bin\git.exe" -c credential.helper= -c core.quotepath=false -c log.showSignature=false show -M -m --follow --name-status --pretty=format:%x01%x01%H%x02%x02%ct%x02%x02%P%x03%x03 --encoding=UTF-8 b3dd1cc36455b870d1dd9e1b76e76ae59906dba5 -- templates/default/componentsList/rulePermissionMatrix.html.twig
2020-04-13 22:49:53,282 [ 527006] INFO - #git4idea.commands.GitHandler - git status took 234864 ms. Command parameters:
"C:\Program Files\JetBrains\PhpStorm 2019.3.2\bin\runnerw64.exe" "C:\Program Files\Git\bin\git.exe" -c credential.helper= -c core.quotepath=false -c log.showSignature=false status --ignored --porcelain -z --

0
Avatar
Permanently deleted user

also look closely to when this gitcommand is triggered,

0
Avatar
Permanently deleted user

+1
I also experience that working on a project which is available in a SMB share is slow. Especially when a file is created on the server it takes up to minutes before the file is visible in PHPstorm. The concerning file is almost instantly shown in the Windows explorer.

0

That's a known issue: https://youtrack.jetbrains.com/issue/IDEA-86172. Sadly it's not prioritized at this moment.

If you can't keep the code locally you might want to try/consider remote development options, here's a blog post describing this: https://blog.jetbrains.com/idea/2021/10/intellij-idea-2021-3-eap-4/#how_to_enable_remote_development_mode

The feature is available only for IntelliJ IDEA currently, but you can use it with PHP plugin.

0
Avatar
Permanently deleted user

Thanks for the response! I was Googling for some PHP Storm related Git questions and stumbled over this https://youtrack.jetbrains.com/issue/WI-48135 which looks related and "solved". I've update my PHP Storm to the latest version and it seems to be faster in this version. Its to early to say if the problem is completely solved.

0

Please sign in to leave a comment.