Nautilus hangs when accessing CIFS share

Tony Arnold tony.arnold at manchester.ac.uk
Thu Dec 22 11:29:35 UTC 2016


Karl,

On Thu, 2016-12-22 at 21:55 +1100, Karl Auer wrote:

On Thu, 2016-12-22 at 09:44 +0000, Tony Arnold wrote:


I'm having a strange problem trying to access a CIFS share using
Nautilus. The share is mounted from an EMC Isilon system. The share
mounts without problem and I can access the share from the command
line. However, when I try and access it from nautilus, it sits there
with a message in the bottom right hand corner saying 'Loading'.



How long did you wait? And how many entries are in the directory?

I've found Nautilus us woefully slow at loading and sorting large
directories. If I create a lot of file entries:

mkdir biggy
cd biggy
for i in 0 1 2 3 4 5 6 7 8 9 ; do { for a in 0 1 2 3 4 5 6 7 8 9 ; do {
for b in 0 1 2 3 4 5 6 7 8 9 ; do { for c in 0 1 2 3 4 5 6 7 8 9 ; do {
for d in 0 1 2 3 4 5 6 7 8 9  ; do { touch "zappo$i$a$b$c$d.dat" ;  };
done; }; done; }; done; } done } done

... then do an "ls" it displays them all with no more than the merest
hesitation before output begins. But if I ask Nautilus to show me the
directory, it loads at approximately 7500 files per second. Off an SSD.

For a network share, the bottleneck will be the network. If you have a
lot of files, it will have to stat each and every one, over the
network, before it can sort them and begin displaying the information.
And Nautilus gathers more than just the filename.


Just 46 files in the directory! And I waited for over 10 minutes. Curiously, two of my colleagues run Fedora and it works for one them and not the other! We are all running the same version of Nautilus.

Regards,
Tony.

--

Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G.110, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20161222/eb77f0fb/attachment.html>


More information about the ubuntu-users mailing list