I'm not sure if it's the same issue, but I tend to get a delay of ~8
minutes on a dragonboard on first boot.  I'm booting an image with a
system-user assertion, not using the console at all.

On first boot, the system creates a new user, I confirm that ssh works,
then log in and try to run "snap version" to detect the version of
snapd...  and sometimes it works, while sometimes it hangs for ~8
minutes until snapd starts responding.

I haven't been able to investigate very deeply since a default image
doesn't include many debugging tools, but this seems to be the last
entry in syslog before it hangs:

Mar  1 05:55:33 localhost /usr/lib/snapd/snapd[1371]: taskrunner.go:353:
DEBUG: Running task 29 on Do: Generate device key

The 100% CPU load isn't a problem for me, but it's an issue when snapd
doesn't respond to new requests.  Could it be made to spin off tasks
into separate threads so the service won't block?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1638537

Title:
  snapd eats 100% CPU for about 5 minutes on first boot causing a load
  of >2.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1638537/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to