 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

16th December 2011, 04:50 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 867

|
|
|
Re: Slow shutdown In Fedora 16
Seems to hang the longest on 'sending SIGTERM to remaining processes' with a much shorter pause on 'sending SIGKILL'. And then a couple of seconds unmounting everything. But the SIGTERM hang for me can be anywhere from 5 to 30+ seconds.
So it sounds like it might be some wayward process that's not responding to SIGTERM.
|

20th December 2011, 08:48 AM
|
|
Registered User
|
|
Join Date: Dec 2011
Location: India
Posts: 82

|
|
|
Re: Slow shutdown In Fedora 16
I seem to have this problem too, on F16 64-bit. Looking at an earlier suggestion, it could be the kernel. When I was on 2.x something, it seemed to shutdown well (as far as I remember), but now on 3.x, not really.
My problem is not solely with shutdown, which hangs sometimes, but with reboots, which hang almost all the time. (I say hang, because after about a minute of waiting, I just hold the power button to power off.)
|

20th December 2011, 04:15 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 867

|
|
|
Re: Slow shutdown In Fedora 16
Quote:
Originally Posted by KitchiRUs
(I say hang, because after about a minute of waiting, I just hold the power button to power off.)
|
That's a bad idea. The last thing that happens is file system unmounting, so if you're powering off before that happens, you end up with a dirty file system which means your startups are going to be delayed.
I consistently have fast reboots when booted in recovery. So I think there is a process (kernel or otherwise) that's causing the delayed reboots.
|

20th December 2011, 04:19 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Slow shutdown In Fedora 16
try finding out where it hangs by getting some better log messages on shutdown
add these parameters to your kernel line:
Code:
systemd.log_level=debug systemd.log_target=kmsg
Then create a shutdown script and place it in your /lib/systemd/system-shutdown folder (be sure to mark it as executable +x)
Code:
#!/bin/sh
mount / -orw,remount
dmesg > /dmesg.shutdown
mount / -oro,remount
shutdown and wait for the system to hang, then when you reboot, you should have better log messages either in your /var/log/messages or in the file you created with the shutdown script.
|

20th December 2011, 06:23 PM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,621

|
|
|
Re: Slow shutdown In Fedora 16
I haven't noticed any slow shutdowns in F16, for any of the kernels; it takes about 10 seconds for me. I don't have a lot of services running, so I'd suspect that might be the difference. systemd still seems pretty unpolished to me, so I wouldn't be surprised if it's getting confused by all the services that most users (especially if they run GNOME) have enabled, which is funny because that was supposedly one of the reasons systemd was developed (and forced on us starting with F15).
__________________
OS: Fedora 18 x86_64 | CPU: AMD64 3700+ 2.2GHz | RAM: 2GB PC3200 DDR | Disk: 160GB PATA | Video: ATI Radeon 7500 AGP 64MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Realtek 8110SC
|

20th December 2011, 08:52 PM
|
|
Registered User
|
|
Join Date: Nov 2007
Location: Berkeley, California
Posts: 690

|
|
|
Re: Slow shutdown In Fedora 16
Quote:
Originally Posted by chrismurphy
Seems to hang the longest on 'sending SIGTERM to remaining processes' with a much shorter pause on 'sending SIGKILL'. And then a couple of seconds unmounting everything. But the SIGTERM hang for me can be anywhere from 5 to 30+ seconds.
So it sounds like it might be some wayward process that's not responding to SIGTERM.
|
Same here, on a 32 bit Fedora 16 which I keep fully updated: 'sending SIGTERM to remaining processes' is where the shutdown often likes to sit waiting. This happens regularly but not always. The computer is a Toshiba NB205 netbook with Intel(R) Atom(TM) CPU N280 @ 1.66GHz.
|

16th March 2012, 06:04 AM
|
 |
Registered User
|
|
Join Date: Nov 2011
Location: Punjab, India
Posts: 23

|
|
|
Re: Slow shutdown In Fedora 16
i'm also facing same problem with fedora 16 gnome x86_64 on dell vostro 1510, intel core2duo T5870 @ 2.00 GHz.
Majority of times it hang, but some time it shutdown perfectly. The problem is not persistent.
|

14th May 2012, 10:27 PM
|
|
Registered User
|
|
Join Date: May 2012
Location: USA
Posts: 3

|
|
|
Re: Slow shutdown In Fedora 16
I am experiencing this problem consistently. However, I've noticed that if I drop to runlevel 3 and issue the 'shutdown -p now' command, the system shuts down at normal speed.
|

14th May 2012, 11:27 PM
|
|
Registered User
|
|
Join Date: Aug 2011
Posts: 697

|
|
|
Re: Slow shutdown In Fedora 16
It was gone for a while but with the latest stable kernel my box stalled once again while shutting down.
|

17th May 2012, 01:04 PM
|
 |
Registered User
|
|
Join Date: Apr 2005
Location: Toronto, Ontario, Canada
Posts: 215

|
|
|
Re: Slow shutdown In Fedora 16
Quote:
Originally Posted by Dutchy
It was gone for a while but with the latest stable kernel my box stalled once again while shutting down.
|
Me too! (kernel-3.3.5-2.fc16.x86_64)
Quote:
Originally Posted by PoHandle
I am experiencing this problem consistently. However, I've noticed that if I drop to runlevel 3 and issue the 'shutdown -p now' command, the system shuts down at normal speed.
|
This didn't work for me.
I tampered with the "complex and (WTF!?) wonderful systemd" to add a script to clean out /tmp and /var/tmp at shutdown and thought my woes might be caused that. However, after undoing this, I still get persistent hanging upon shutdown.
I've noticed this problem occasionally for as long as I have been on F16 but now it is consistent.
I'll be switching to F17 as soon as it is released.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 07:07 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|