0

Some of my colleagues just encountered a weird bug. For some reason PhpStorm keeps sending files via SFTP to the /tmp folder until its full and the server (Ubuntu) is unresponsive. There's nothing to see in the File Transfer Log, there's no setting allowing to sync project files unless they are explicit saved. Even if I turn that off, it keeps spamming. There's also no uploading process bar that is typically at the bottom.

I only see it via iotop (Host) and Windows Task Manager (Client), he managed to fix it by updating PhpStorm to the current version.

Until another colleague with a fully updated PhpStorm version just encountered the same kind of bug.

The files are not part of our projects and to me they seem like "preset" or "template" files for Angular, React etc. like Vite template or so. bug.

I googled for hours, and I just found an issue that is 9 years old:

https://youtrack.jetbrains.com/issue/JT-31673/Tmp-folder-flooded-with-workflow-files

Same problem, no answer.

Pretty frustrating for a enterprise software like that.

Just doing normal SFTP deployment on explicit save, I don't expect that my VM gets flooded by random workflow files. Or at least, tell me that something is transferring.

Edit 06.02.2025: Finally Answer see what LazyOne said, this problem was due usage of remote development with the nodejs interpreter, only god knows why it worked for years and now its making some problems. We just installed nodejs locally.

6
  • 1) I really do not think that the linked ticket is related. Especially since you are referring to SFTP. 2) To me it's more like an issue with Remote interpreter/tools integration. For example -- a linter, unit test runner, external formatter etc etc. Commented Feb 5 at 15:48
  • If it's SFTP (remote deployment) related -- try collecting extra logs to see what is being transferred -- see jetbrains.com/help/phpstorm/… Commented Feb 5 at 15:49
  • 1
    We figured out exactly what you said, i should have look into that thread earlier! It was indeed due Remote Development that he and the other colleagues used. We figured it out only because that was the only thing that we had different in our configuration! Also we saw some nodejs related stuff in the logs of phpstorm. Thanks LazyOne! Commented Feb 6 at 10:11
  • 1
    Did you found a solution / how to cleanup those temp files? If not yet, 2 suggestions: 1) do those temp files have any name pattern/prefix? if so -- just set up some cron script that would delete old files on a regular basis; 2) file a ticket on the issue tracker for that tool (would be WebStorm if it's Node.js related -- they may move it to Remote Gateway project or whatnot if needed). Commented Feb 6 at 11:27
  • 1
    We just installed nodejs on local and did rm -rf * after a boot on our remote server. Its not necessary for us to use Remote Development like that. Im not sure what would happen if he just switched the nodejs version, might be related to that? I gonna file a issue at the weekend, i saved all the diagnostics. Thank you! Commented Feb 7 at 13:19

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.