Project
PhpStorm/WebStorm
Priority
Major
Type
Performance Problem
State
Fixed
Assignee
Kirill Safonov
Subsystem
Plugin: Deployment / FTP..
Fix versions
No Fix versions
Affected versions
No Affected versions
  • Created by   Dmitriy Zavalkin
    2 years ago (06 May 2010 22:29)
  • Updated by   Alexey Gopachenko
    12 months ago (17 May 2011 13:13)
 
WI-1874 Don't execute MDTM for every file (was: PhpStorm internal ftp client is very-very slow)
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
2 Attachments — Show all images
You don't have permissions to view 2 more attachments to this issue
remote_dir_opening.png   (1 KB) 104_folder_open.png   (13 KB)
See attached image. I clicked on + sign left to folder name. And after 30 minutes it is still in this state (as on attached image). Also I invoked 'Download from here' from this dir context menu. Downloading started after 6 minutes and still not finished.
[06.05.10 20:53] Download from (brock)
[06.05.10 20:59] Download file '/dkadADdaodADo/vspfiles/templates/104/104/Install.txt' to 'D:\Work\brock\new_issues\work\vspfiles\templates\104\104\Install.txt'

Total dir '104' size is about 5 MB. Remote FTP server is Microsoft FTP Service and it breaks connection after ~30 seconds (or even less) idle time.
Comments (7)
 
History
 
Linked Issues (?)
 
Kirill Safonov
  Kirill Safonov
06 May 2010 23:45
2 years ago
We have to look at deployment logs. Steps are same as at http://youtrack.jetbrains.net/issue/WI-1553#comment=27-145440 except the category name is 'com.jetbrains.plugins.webDeployment.ftp'.
Thank you!
Dmitriy Zavalkin
  Dmitriy Zavalkin
09 May 2010 13:56
2 years ago
I found log.xml. But where is ~/Library/Caches/WebIde10/log/idea.log on my Win7 PC? Can you give more clear instructions?
Kirill Safonov
  Kirill Safonov
09 May 2010 14:19
2 years ago
Sorry for confusion, on Windows log file is c:\Users\<username>\.WebIde10\system\log\idea.log
Dmitriy Zavalkin
  Dmitriy Zavalkin
10 May 2010 17:35
2 years ago
I have attached log of opening templates\104\104\ folder (see attached screenshot). What I can see in the log that PhpStorm for some reason reads file list of templates\104\104\ child folders. I will attach of downloading this folder when it will be finished :(.
Kirill Safonov
  Kirill Safonov
10 May 2010 17:49
2 years ago
What I see from your logs (open_templates), WebIDE issues separate MDTM command to determine the accurate last modified time for every file.

Why it does MDTM at all? See https://issues.apache.org/jira/browse/VFS-257
Related Changes
Summary
WI-1874: Don't execute MDTM for every file (was: PhpStorm internal ftp client is very-very slow)
Dmitriy Zavalkin
  Dmitriy Zavalkin
10 May 2010 18:44
2 years ago
Attached log of folder downloading. How can I turn off this MDTM command?
Kirill Safonov
  Kirill Safonov
10 May 2010 19:30
2 years ago
Starting from the next build you will have an option (Settings | Deployment | choose your server | Advanced Options):
  • Always: call MDTM for every file shown in Remote Host view
  • On copy: call MDTM to check if file is up to date (if 'Overwrite up-to-date files' is off) and when file is downloaded (to preserve it's timestamp)
  • Never
Related Changes
Fixed In build
<lost change>