Public bug reported: MC is very slow to start (several seconds) when current directory is on a CIFS/SMB share. Also the subshell / menu switch (with C-o) is very slow when switching back to the menu, which is annoying.
Using ''strace'' I could narrow down the problem to a call to stat(2): $ cd /smb/lacie-cloudbox/myshare $ mount|grep lacie-cloudbox //lacie-cloudbox/myshare on /smb/lacie-cloudbox/myshare type cifs (rw) $ strace -r -tt -o /tmp/mc.strace mc $ grep -v 0.0 /tmp/mc.strace 3.310479 stat("/smb/lacie-cloudbox/myshare", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 Note that this is a long due issue (was already in 12.04 and probably before), but it is only lately that I could narrow down the problem as highlighted above. $ lsb_release -rd Description: Ubuntu 14.04.5 LTS Release: 14.04 $ apt-cache policy mc mc: Installed: 3:4.8.11-1 Candidate: 3:4.8.11-1 Version table: *** 3:4.8.11-1 0 500 http://be.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: mc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1625739 Title: Slow start when current directory is on CIFS/SMB share To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/1625739/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs