[Bug 1831629] Re: snapd hammers SSD for long periods
** Tags removed: disco -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831629 Title: snapd hammers SSD for long periods To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1831629/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1831629] Re: snapd hammers SSD for long periods
I see the same issue as reported above: beat@dev01:~$ snap changes ID Status Spawn Ready Summary 13 Doing today at 20:08 UTC - Auto-refresh snap "lxd" beat@dev01:~$ snap change 13 Status Spawn Ready Summary Donetoday at 20:08 UTC today at 20:08 UTC Ensure prerequisites for "lxd" are available Doing today at 20:08 UTC - Download snap "lxd" (19647) from channel "4.0/stable/ubuntu-20.04" (38.53%) Do today at 20:08 UTC - Fetch and check assertions for snap "lxd" (19647) Do today at 20:08 UTC - Mount snap "lxd" (19647) Do today at 20:08 UTC - Run pre-refresh hook of "lxd" snap if present Do today at 20:08 UTC - Stop snap "lxd" services Do today at 20:08 UTC - Remove aliases for snap "lxd" Do today at 20:08 UTC - Make current revision for snap "lxd" unavailable Do today at 20:08 UTC - Copy snap "lxd" data Do today at 20:08 UTC - Setup snap "lxd" (19647) security profiles Do today at 20:08 UTC - Make snap "lxd" (19647) available to the system Do today at 20:08 UTC - Automatically connect eligible plugs and slots of snap "lxd" Do today at 20:08 UTC - Set automatic aliases for snap "lxd" Do today at 20:08 UTC - Setup snap "lxd" aliases Do today at 20:08 UTC - Run post-refresh hook of "lxd" snap if present Do today at 20:08 UTC - Start snap "lxd" (19647) services Do today at 20:08 UTC - Remove data for snap "lxd" (19032) Do today at 20:08 UTC - Remove snap "lxd" (19032) from the system Do today at 20:08 UTC - Clean up "lxd" (19647) install Do today at 20:08 UTC - Run configure hook of "lxd" snap if present Do today at 20:08 UTC - Run health check of "lxd" snap Doing today at 20:08 UTC - Consider re-refresh of "lxd" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831629 Title: snapd hammers SSD for long periods To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1831629/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1831629] Re: snapd hammers SSD for long periods
I experienced a similar problem, with constant disk writing at low rate (few hundred KB/s) and after inspecting the snapd process running on a container we found the following: root@focal:/# snap changes ID Status Spawn Ready Summary 234 Doing 2 days ago, at 16:40 UTC - Auto-refresh snap "snapd" root@focal:/# snap change 234 Status Spawn Ready Summary Done2 days ago, at 16:40 UTC 2 days ago, at 16:40 UTC Ensure prerequisites for "snapd" are available Doing 2 days ago, at 16:40 UTC - Download snap "snapd" (8008) from channel "latest/edge" (8.71%) Do 2 days ago, at 16:40 UTC - Fetch and check assertions for snap "snapd" (8008) Do 2 days ago, at 16:40 UTC - Mount snap "snapd" (8008) Do 2 days ago, at 16:40 UTC - Run pre-refresh hook of "snapd" snap if present Do 2 days ago, at 16:40 UTC - Stop snap "snapd" services Do 2 days ago, at 16:40 UTC - Remove aliases for snap "snapd" Do 2 days ago, at 16:40 UTC - Make current revision for snap "snapd" unavailable Do 2 days ago, at 16:40 UTC - Copy snap "snapd" data Do 2 days ago, at 16:40 UTC - Setup snap "snapd" (8008) security profiles Do 2 days ago, at 16:40 UTC - Make snap "snapd" (8008) available to the system Do 2 days ago, at 16:40 UTC - Automatically connect eligible plugs and slots of snap "snapd" Do 2 days ago, at 16:40 UTC - Set automatic aliases for snap "snapd" Do 2 days ago, at 16:40 UTC - Setup snap "snapd" aliases Do 2 days ago, at 16:40 UTC - Run post-refresh hook of "snapd" snap if present Do 2 days ago, at 16:40 UTC - Start snap "snapd" (8008) services Do 2 days ago, at 16:40 UTC - Remove data for snap "snapd" (7988) Do 2 days ago, at 16:40 UTC - Remove snap "snapd" (7988) from the system Do 2 days ago, at 16:40 UTC - Clean up "snapd" (8008) install Do 2 days ago, at 16:40 UTC - Run health check of "snapd" snap Doing 2 days ago, at 16:40 UTC - Consider re-refresh of "snapd" The download is stalled at 8.71%. It's worth noting that I experienced connectivity issues two days ago and snap downloads were affected and they were very slow for a couple of hours before getting back to normal. ** Changed in: snapd (Ubuntu) Status: Expired => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831629 Title: snapd hammers SSD for long periods To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1831629/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1831629] Re: snapd hammers SSD for long periods
[Expired for snapd (Ubuntu) because there has been no activity for 60 days.] ** Changed in: snapd (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831629 Title: snapd hammers SSD for long periods To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1831629/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1831629] Re: snapd hammers SSD for long periods
Running fnotifystat will show file activity and maybe useful to see what is causing the I/O. sudo apt install fnotifystat sudo fnotifystat or to look for a specific process use: sudo fnotifystat -p snapd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831629 Title: snapd hammers SSD for long periods To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1831629/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1831629] Re: snapd hammers SSD for long periods
"snap changes" gave:- ID Status Spawn Ready Summary 29 Doing 2 days ago, at 17:48 BST - Auto-refresh snap "pulsemixer" Doing:- "snap abort 29" stopped the disk activity, and it hasn't recurred since. I then tried:- "snap remove 29" but got:- error: snap "pulsemixer" has "auto-refresh" change in progress "Snap version" gives:- snap2.39 snapd 2.39 series 16 ubuntu 19.04 kernel 5.0.0-15-generic "snap list" gives:- Name Version Rev Tracking Publisher Notes core 16-2.39 6964 stablecanonical✓ core pulsemixer 1.4.023stable/… georgefilipkin disabled software-boutique0+git.9cc961a39stable/… flexiondotorg classic ubuntu-mate-welcome 19.10.0-c017529 335 stable/… flexiondotorg classic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831629 Title: snapd hammers SSD for long periods To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1831629/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1831629] Re: snapd hammers SSD for long periods
Could you share with us whatever data you have that led you to the conclusion that it was snapd writing? Also the output of 'snap version' and 'snap list' might be helpful. ** Changed in: snapd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831629 Title: snapd hammers SSD for long periods To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1831629/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs