Author Topic: Shutdown is way too slow ( takes 62 seconds )  (Read 2686 times)

berliner

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Shutdown is way too slow ( takes 62 seconds )
« on: October 17, 2016, 04:51:19 AM »
From the mouse-click on  "Shutdown" button in the logout-menu until the PC is shut down, it takes 62 seconds.
That is way too slow.

I remember it was about 2 or 3 seconds, but I cannot remember when it changed to 62 seconds. Maybe some installation or upgrade of kernel ?

The boot takes 26 seconds, which is very fast for my PC.

Here is my inxi -Fz  info :
Code: [Select]
System:    Host: franz-Inspiron-560 Kernel: 4.4.0-43-generic x86_64 (64 bit)
           Desktop: LXDE (Openbox 3.6.1) Distro: Ubuntu 16.04 xenial
Machine:   System: Dell product: Inspiron 560 v: 00
           Mobo: Dell model: 0K83V0 v: A00 Bios: Dell v: A00 date: 10/06/2009
CPU:       Dual core Pentium E5400 (-MCP-) cache: 2048 KB
           clock speeds: max: 2700 MHz 1: 2003 MHz 2: 1603 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Redwood XT [Radeon HD 5670/5690/5730]
           Display Server: X.Org 1.18.3 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1280x1024@60.02hz
           GLX Renderer: Gallium 0.4 on AMD REDWOOD (DRM 2.43.0, LLVM 3.8.0)
           GLX Version: 3.0 Mesa 11.2.0
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series]
           driver: snd_hda_intel
           Card-2 Intel 82801JI (ICH10 Family) HD Audio Controller
           driver: snd_hda_intel
           Card-3 Microsoft driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.4.0-43-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 320.1GB (5.8% used)
           ID-1: /dev/sda model: WDC_WD3200AAKS size: 320.1GB
Partition: ID-1: / size: 15G used: 4.7G (34%) fs: ext4 dev: /dev/sda12
           ID-2: /home size: 31G used: 2.6G (9%) fs: ext4 dev: /dev/sda13
           ID-3: swap-1 size: 11.43GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 41.0C mobo: N/A gpu: 39.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 183 Uptime: 17 min Memory: 821.5/7983.0MB
           Client: Shell (bash) inxi: 2.2.35

berliner

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Shutdown is way too slow ( takes 62 seconds )
« Reply #1 on: October 17, 2016, 08:26:37 AM »
I made a test based on my experience with Peppermint 7, where I uninstalled Samba in order to speed up booting and the result was a slow shutdown.

Since Samba isn't installed in whatOS R10, I installed it with
Code: [Select]
sudo apt-get install samba system-config-samba
Result:  Shutdown is now about 3 seconds.
boot about 27 seconds.

Is this the solution ?
I think so, although I don't understand it.

blaze

  • wattOS Veteran
  • Sr. Member
  • ****
  • Posts: 441
  • blazing away
    • View Profile
Re: Shutdown is way too slow ( takes 62 seconds )
« Reply #2 on: November 02, 2016, 08:00:13 PM »
Weird!  ;D Maybe the Samba stuff pulled in and changed something that your machine needed?  :-\

Good to hear that things are  8) now!
How To Ask Questions The Smart Way; http://www.catb.org/~esr/faqs/smart-questions.html

... and when SOLVED, please edit thread title in first post! :)