[bug #15801] infinite loop reading large directories via fish
Mario Lorenz
savannah-bounces at gnu.org
Sun Feb 19 12:15:18 UTC 2006
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15801>
Summary: infinite loop reading large directories via fish
Project: GNU Midnight Commander
Submitted by: mlo
Submitted on: So 19.02.2006 um 12:15
Category: VFS
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: 4.6.1
Platform Version: GNU/Linux
_______________________________________________________
Details:
Reading large remote directories via fish (shell link)
over slow network links causes an infinite or at least very long
loop when mc tries to read the directory multiple times.
This is due to the fish directory timeout being hardcoded to 10
seconds, whereas reading a 15000 entry directory via a 64kbit/s link will
take two minutes (way longer if not using compression). This means the
directory objects will be marked obsolete
before the directory is even loaded, causing an immediate reload once
finished, with this pattern sometimes repeating even more often.
That timeout should be tied to the (user settable) ftp directory timeout, or
be given its own user settable value; at the very least it should be set to a
sane value (that is, >> 10 seconds)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15801>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
More information about the mc-devel
mailing list