Bug 1031239

Summary: F20 systems often slow to shut down
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: atorkhov, johannbg, lnykryn, msekleta, plautrba, systemd-maint, theo148, vpavlin, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-17 19:42:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log of slow shutdown none

Description Adam Williamson 2013-11-16 02:16:16 UTC
In Fedora 20 validation testing, I've noticed quite often my systems - usually virt-manager VMs - are very slow to shut down. It seems to be getting worse: I booted F20 Beta TC5 desktop live image 7 times and got slow shutdown only twice, booted F20 Final TC1 desktop live image multiple times and got slow shutdown every single time.

Either way, whenever the shutdown is slow, if I send systemd debug logs to a serial console so I can see what's going on, it seems to be stuck on:

"A stop job is running for User Manager for 1000"

i.e. /lib/systemd/system/user@.service . Haven't managed to diagnose anything further than that yet.

Comment 1 Adam Williamson 2013-11-16 02:16:56 UTC
I see the red asterisks shuttling from side to side next to that message - an indication that job is still ongoing - for about 2 minutes before the system finally shuts down. Nothing else seems to slow down the shutdown process.

Comment 2 Adam Williamson 2013-11-16 03:02:24 UTC
Created attachment 824778 [details]
log of slow shutdown

Following the instructions at http://freedesktop.org/wiki/Software/systemd/Debugging/ , here's the log of a slow shutdown. Note the initiation of shutdown at 132 and then the long pause before user shutdown fails at 222 - looks like a 90 second timeout.

Comment 3 Alexey Torkhov 2013-12-17 19:11:09 UTC
This seems to be duplicate of bug 1023820.

Comment 4 Adam Williamson 2013-12-17 19:42:35 UTC
I think you're right. Thanks.

*** This bug has been marked as a duplicate of bug 1023820 ***