Changes between Version 2 and Version 3 of Ticket #116


Ignore:
Timestamp:
09/15/10 15:57:14 (14 years ago)
Author:
zaytsev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #116 – Description

    v2 v3  
    1111Thu 23 Feb 2006 03:38:12 PM UTC, comment #1: 
    1212 
    13  
    14  
    1513This problem has been bugging me for a while. I've just commited a patch  
    16  
    1714which exposes a new user configurable option: 
    18  
    19  
    2015 
    2116fish_directory_timeout 
    2217 
    23  
    24  
    2518It contains the lifetime of a directory cache entry measured in seconds.  
    26  
    2719I've adjusted the default value to 900 seconds (same as in ftpfs). 
    2820 
    29  
    30  
    3121This option is not configurable through the user interface, yet - one  
    32  
    3322can change it only by directly editing MC's ini file. I plan to fix this 
    34  
    3523soon. 
    3624 
    37  
    38  
    3925To test the new code you need to fetch MC from the cvs repository or  
    40  
    4126grab a snapshot. 
    4227 
    43  
    44  
    4528Pavel Tsekov <ptsekov> 
    46  
    4729Project AdministratorIn charge of this item. 
    48  
    4930Sun 19 Feb 2006 12:15:18 PM UTC, original submission: 
    5031 
    51  
    52  
    5332Reading large remote directories via fish (shell link) 
    54  
    5533over slow network links causes an infinite or at least very long 
    56  
    5734loop when mc tries to read the directory multiple times. 
    5835 
    59  
    60  
    6136This is due to the fish directory timeout being hardcoded to 10 seconds, 
    62  
    6337whereas reading a 15000 entry directory via a 64kbit/s link will take 
    64  
    6538two minutes (way longer if not using compression). This means the 
    66  
    6739directory objects will be marked obsolete before the directory is even 
    68  
    6940loaded, causing an immediate reload once finished, with this pattern 
    70  
    7141sometimes repeating even more often. 
    7242 
    73  
    74  
    7543That timeout should be tied to the (user settable) ftp directory  
    76  
    7744timeout, or be given its own user settable value; at the very least it 
    78  
    7945should be set to a sane value (that is, >> 10 seconds). 
    80  
    8146}}}