I had the same issue with NextCloud and snapfuse in an lxd container
I have uploaded a screenshot of htop cpu when I refresh a page on the nextcloud instance. CPU sits around 100% for about 12 seconds while the page loads
Name Version Rev Tracking Publisher Notes
core 16-2.42.5 8268 stable canonical✓ core
nextcloud 16.0.5snap3 16739 stable nextcloud✓ -
root@lxdhost:~# lxd --version
3.18
root@nextcloud-container:~# ls -al /usr/bin/snapfuse
-rwxr-xr-x 1 root root 30856 Mar 21 2019 /usr/bin/snapfuse
(above root@pihole1:~# snapfuse --version
squashfuse 0.1.100 (c) 2012 Dave Vasilevsky
"version" of snapfuse before upgrade of the container)
After upgrading my container and host and restarting (container only) so that snapfuse was at the latest version the issue went away. I am not sure if this was the container restarting or the upgrade of snapfuse
After upgrading the container (apt upgrade) the file size changed but the version did not seem to
root@nextcloud:~# ls -al /usr/bin/snapfuse
-rwxr-xr-x 1 root root 34952 Oct 30 12:17 /usr/bin/snapfuse
Though the output of snapfuse --version has an extra line starting with "FUSE ...."
FUSE library version: 2.9.7
squashfuse 0.1.100 (c) 2012 Dave Vasilevsky
My problem has gone away and page loads are almost instantaneous, though I am none the wiser as to what caused the problem and did not take any zfs snapshots before upgrade - sorry!
I had the same issue with NextCloud and snapfuse in an lxd container
I have uploaded a screenshot of htop cpu when I refresh a page on the nextcloud instance. CPU sits around 100% for about 12 seconds while the page loads
container - DISTRIB_ DESCRIPTION= "Ubuntu 18.04.2 LTS" DESCRIPTION= "Ubuntu 18.04.3 LTS"
host - DISTRIB_
Name Version Rev Tracking Publisher Notes
core 16-2.42.5 8268 stable canonical✓ core
nextcloud 16.0.5snap3 16739 stable nextcloud✓ -
root@lxdhost:~# lxd --version
3.18
root@nextcloud- container: ~# ls -al /usr/bin/snapfuse
-rwxr-xr-x 1 root root 30856 Mar 21 2019 /usr/bin/snapfuse
(above root@pihole1:~# snapfuse --version
squashfuse 0.1.100 (c) 2012 Dave Vasilevsky
"version" of snapfuse before upgrade of the container)
After upgrading my container and host and restarting (container only) so that snapfuse was at the latest version the issue went away. I am not sure if this was the container restarting or the upgrade of snapfuse
After upgrading the container (apt upgrade) the file size changed but the version did not seem to
root@nextcloud:~# ls -al /usr/bin/snapfuse
-rwxr-xr-x 1 root root 34952 Oct 30 12:17 /usr/bin/snapfuse
Though the output of snapfuse --version has an extra line starting with "FUSE ...."
FUSE library version: 2.9.7
squashfuse 0.1.100 (c) 2012 Dave Vasilevsky
My problem has gone away and page loads are almost instantaneous, though I am none the wiser as to what caused the problem and did not take any zfs snapshots before upgrade - sorry!