Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 16th December 2011, 04:50 PM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 867
macoschrome
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.
Reply With Quote
  #17  
Old 20th December 2011, 08:48 AM
KitchiRUs Offline
Registered User
 
Join Date: Dec 2011
Location: India
Posts: 82
linuxfirefox
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.)
Reply With Quote
  #18  
Old 20th December 2011, 04:15 PM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 867
macoschrome
Re: Slow shutdown In Fedora 16

Quote:
Originally Posted by KitchiRUs View Post
(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.
Reply With Quote
  #19  
Old 20th December 2011, 04:19 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
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.
Reply With Quote
  #20  
Old 20th December 2011, 06:23 PM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,621
linuxfedorafirefox
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
Reply With Quote
  #21  
Old 20th December 2011, 08:52 PM
Mariusz W Offline
Registered User
 
Join Date: Nov 2007
Location: Berkeley, California
Posts: 690
linuxfirefox
Re: Slow shutdown In Fedora 16

Quote:
Originally Posted by chrismurphy View Post
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.
Reply With Quote
  #22  
Old 16th March 2012, 06:04 AM
spskhokhar's Avatar
spskhokhar Offline
Registered User
 
Join Date: Nov 2011
Location: Punjab, India
Posts: 23
linuxfirefox
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.
Reply With Quote
  #23  
Old 14th May 2012, 10:27 PM
PoHandle Offline
Registered User
 
Join Date: May 2012
Location: USA
Posts: 3
linuxfirefox
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.
Reply With Quote
  #24  
Old 14th May 2012, 11:27 PM
Dutchy Offline
Registered User
 
Join Date: Aug 2011
Posts: 697
linuxsafari
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.
Reply With Quote
  #25  
Old 17th May 2012, 01:04 PM
cheerio158's Avatar
cheerio158 Offline
Registered User
 
Join Date: Apr 2005
Location: Toronto, Ontario, Canada
Posts: 215
linuxchrome
Re: Slow shutdown In Fedora 16

Quote:
Originally Posted by Dutchy View Post
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 View Post
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.
__________________
Desktop Smolt profile
Laptop Smolt profile
EeePC Smolt profile
Reply With Quote
Reply

Tags
fedora, shutdown, slow

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Very slow shutdown on Fedora 15 s0101 Using Fedora 1 16th August 2011 07:30 AM
Fedora 9 Alpha KDE 4 Very Slow, Unresponsive & NO Shutdown Option, Internet Down !! Jags_FL Alpha - Beta (Fedora 9 Only) 15 10th April 2008 02:21 AM
slow processing due to unclean shutdown saravana Using Fedora 1 6th February 2008 03:44 PM
F8 : No Shutdown in menu, Login Screen is weird, Can't Shutdown only reboot megat Using Fedora 5 19th November 2007 11:00 AM
How to hide FC6 shutdown messages or use shutdown spash renjoyhenry Using Fedora 0 5th November 2006 05:09 AM


Current GMT-time: 07:07 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat