Nautilus hangs when accessing CIFS share
Karl Auer
kauer at biplane.com.au
Thu Dec 22 10:55:44 UTC 2016
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.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
More information about the ubuntu-users
mailing list