Files app. slow down

Hi, I have problem with Files, after some time app. becoming very slow.

Reopen app. helps, but this is very annoying. Can I fix it somehow?

Please look at your logs to see if there’s anything that indicates why it’s taking this time. Do you have network mounted folders etc., for example?

1 Like

In addition, does it happens always? Or it happens only opening certain directories or mounted resources?

2 Likes

It happens always. I have my google drive, but, it isn’t mounted. Also, I have one remote ssh connection, but I didn’t connect to it.

It happens for all folders, with lots of subfolders and files, but for small one too.

I tried to find something in logs, but I’m not sure what to look for. When I filter nautilus I have:

journalctl -b _PID=25042

Dec 03 15:53:35 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: assets
Dec 03 15:53:35 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: chrome
Dec 03 15:54:52 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: Material-Black-Mango-3.36
Dec 03 15:54:52 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: xfwm4
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: unity
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: assets
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: plank
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: metacity-1
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: assets
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: gtk-icons
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: gtk-assets
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: gtk-3.0
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: icons
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: assets
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: gtk-2.0
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: assets
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: gnome-shell
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: icons
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: extensions
Dec 03 15:54:53 localhost.localdomain nautilus[25042]: Duplicate child name in GtkStack: workspaces-to-dock

OK, I fix it.

  pg cd ~/Templates
➜  Templates ll
total 4.0K
drwxr-xr-x. 13 ivan ivan 4.0K May  5  2020 Material-Black-Mango-3.36
➜  Templates cd Material-Black-Mango-3.36 
➜  Material-Black-Mango-3.36 ll
total 68K
drwxr-xr-x. 2 ivan ivan 4.0K May  5  2020 chrome
drwxr-xr-x. 3 ivan ivan 4.0K May  5  2020 cinnamon
-rw-r--r--. 1 ivan ivan  18K May  5  2020 COPYING
drwxr-xr-x. 5 ivan ivan 4.0K May 19  2020 gnome-shell
drwxr-xr-x. 3 ivan ivan 4.0K May  5  2020 gtk-2.0
drwxr-xr-x. 2 ivan ivan 4.0K May  5  2020 gtk-3.0
drwxr-xr-x. 2 ivan ivan 4.0K May  5  2020 gtk-assets
drwxr-xr-x. 2 ivan ivan 4.0K May  5  2020 gtk-icons
-rw-r--r--. 1 ivan ivan  265 May  5  2020 index.theme
drwxr-xr-x. 3 ivan ivan 4.0K May  5  2020 metacity-1
drwxr-xr-x. 2 ivan ivan 4.0K May  5  2020 plank
drwxr-xr-x. 3 ivan ivan 4.0K May  5  2020 unity
drwxr-xr-x. 2 ivan ivan 4.0K May  5  2020 xfwm4
➜  Material-Black-Mango-3.36 cd ..
➜  Templates rm -rf Material-Black-Mango-3.36 
➜  Templates ll
total 0

I don’t know why this folder was problem, but delete it fixed my problem

Ah, OK. What is “Material-Black-Mango”?

In general, the first step in debugging Gnome (or any other DE) is always to disable all your customisation—this includes extensions, themes, icons etc.

Materijal-black-mango is gnome theme. I didn’t even use it. I try it and switch back to default theme, but after upgrade to fedora 33, my problems started. I think that is very strange problem, but, it is solved now.
Thanks for your help.

1 Like

Also my Files application (Nautilus), but also file open and save dialog boxes from other applications open slowly. So slow that I also get the “… is not responding.” pop up windows.
In my ~/Templates directory is only a .ott file, which is not related to this issue a assume.

I do have a Nextcloud share in Nautilus, but it is not mounted by default. Furthermore it has been there since long, and the slow starting issue started just recently.

But the issue seems related to networking as I see the following logging when starting Nautilus:

Dec 20 13:28:51 nyx audit: BPF prog-id=644 op=LOAD
Dec 20 13:28:51 nyx audit: BPF prog-id=645 op=LOAD
Dec 20 13:28:51 nyx audit[442853]: NETFILTER_CFG table=filter family=7 entries=0 op=xt_register pid=442853 subj=system_u:system_r:init_t:s0 comm="(ostnamed)"
Dec 20 13:28:51 nyx audit[442853]: NETFILTER_CFG table=broute family=7 entries=0 op=xt_register pid=442853 subj=system_u:system_r:init_t:s0 comm="(ostnamed)"
Dec 20 13:28:51 nyx audit[442853]: NETFILTER_CFG table=nat family=7 entries=0 op=xt_register pid=442853 subj=system_u:system_r:init_t:s0 comm="(ostnamed)"
Dec 20 13:28:51 nyx systemd[1]: Starting Hostname Service...
Dec 20 13:28:51 nyx audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 20 13:28:51 nyx systemd[1]: Started Hostname Service.
Dec 20 13:29:09 nyx gnome-shell[2826]: libinput error: event2  - Logitech Wireless Keyboard PID:0060: client bug: event processing lagging behind by 62ms, your system is too slow
Dec 20 13:29:21 nyx systemd[1]: systemd-hostnamed.service: Succeeded.
Dec 20 13:29:21 nyx audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 20 13:29:21 nyx audit[434961]: NETFILTER_CFG table=nat family=7 entries=0 op=xt_unregister pid=434961 subj=system_u:system_r:kernel_t:s0 comm="kworker/u64:1"
Dec 20 13:29:21 nyx audit[434961]: NETFILTER_CFG table=broute family=7 entries=0 op=xt_unregister pid=434961 subj=system_u:system_r:kernel_t:s0 comm="kworker/u64:1"
Dec 20 13:29:21 nyx audit[434961]: NETFILTER_CFG table=filter family=7 entries=0 op=xt_unregister pid=434961 subj=system_u:system_r:kernel_t:s0 comm="kworker/u64:1"
Dec 20 13:29:21 nyx audit: BPF prog-id=645 op=UNLOAD
Dec 20 13:29:21 nyx audit: BPF prog-id=644 op=UNLOAD

And when closing Nautilus:

Dec 20 13:32:55 nyx systemd[2662]: dbus-:1.2-org.gnome.Nautilus@23.service: Succeeded.
Dec 20 13:32:55 nyx systemd[2662]: dbus-:1.2-org.gnome.Nautilus@23.service: Consumed 3.077s CPU time.