Extremely slow restart or shutdown issues

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
asiam
Level 1
Level 1
Posts: 10
Joined: Fri Dec 08, 2017 10:42 am

Extremely slow restart or shutdown issues

Post by asiam » Wed Mar 07, 2018 10:47 am

hi I'm a newbie Linux user I don't remember installing anything special or made a critical settings change but my computer suddenly took a long time to poweroff or restart when I use it for a long time however when I use it for a short time to do one simple task I turn it off smoothly with no problems
Last edited by asiam on Wed Mar 07, 2018 11:23 am, edited 1 time in total.

Marziano
Level 6
Level 6
Posts: 1357
Joined: Thu Jan 04, 2018 1:00 pm

Re: Extremely slow restart or shutdown issues

Post by Marziano » Wed Mar 07, 2018 11:16 am

Please provide the specs of your system needed for anyone one who can assist you by running:

Code: Select all

inxi -Fxz
in a terminal. Then copy-paste the output between code tags:</> and post here.
"Those are my principles, and if you don't like them...well, I have others." -Marx...
Groucho { Marx

asiam
Level 1
Level 1
Posts: 10
Joined: Fri Dec 08, 2017 10:42 am

Re: Extremely slow restart or shutdown issues

Post by asiam » Wed Mar 07, 2018 11:26 am

here it is

Code: Select all

System:    Host: abdullahsiam-HP-Notebook Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.6 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: HP product: HP Notebook v: Type1ProductConfigId
           Mobo: HP model: 8136 v: 31.35 Bios: Insyde v: F.1E date: 12/25/2015
CPU:       Dual core Intel Core i5-6200U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9600
           clock speeds: max: 2800 MHz 1: 650 MHz 2: 686 MHz 3: 659 MHz
           4: 673 MHz
Graphics:  Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330]
           bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: ati,radeon,intel (unloaded: fbdev,vesa)
          Resolution: 1366x768@60.32hz
           GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.10.0-38-generic
Network:   Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter
           driver: rtl8723be port: 3000 bus-ID: 03:00.0
           IF: wlp3s0 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (11.6% used)
           ID-1: /dev/sda model: WDC_WD5000LPCX size: 500.1GB
Partition: ID-1: / size: 46G used: 17G (37%) fs: ext4 dev: /dev/sda4
           ID-2: swap-1 size: 4.09GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 45.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 235 Uptime: 13 min Memory: 1478.2/3849.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 

User avatar
administrollaattori
Level 13
Level 13
Posts: 4969
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Extremely slow restart or shutdown issues

Post by administrollaattori » Wed Mar 07, 2018 1:07 pm

Compare the next UUIDs

Code: Select all

cat /etc/fstab | grep swap

Code: Select all

sudo blkid | grep swap

asiam
Level 1
Level 1
Posts: 10
Joined: Fri Dec 08, 2017 10:42 am

Re: Extremely slow restart or shutdown issues

Post by asiam » Wed Mar 07, 2018 4:09 pm

Code: Select all

# swap was on /dev/sda6 during installation
UUID=0e569e3b-f201-4be1-8947-2460d2b151b4 none            swap    sw              0       0

Code: Select all

# swap was on /dev/sda6 during installation
UUID=0e569e3b-f201-4be1-8947-2460d2b151b4 none            swap    sw              0       0

User avatar
administrollaattori
Level 13
Level 13
Posts: 4969
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Extremely slow restart or shutdown issues

Post by administrollaattori » Thu Mar 08, 2018 12:55 pm

asiam wrote:
Wed Mar 07, 2018 4:09 pm

Code: Select all

# swap was on /dev/sda6 during installation
UUID=0e569e3b-f201-4be1-8947-2460d2b151b4 none            swap    sw              0       0

Code: Select all

# swap was on /dev/sda6 during installation
UUID=0e569e3b-f201-4be1-8947-2460d2b151b4 none            swap    sw              0       0
What is the sudo blkid | grep swap output?

asiam
Level 1
Level 1
Posts: 10
Joined: Fri Dec 08, 2017 10:42 am

Re: Extremely slow restart or shutdown issues

Post by asiam » Sat Mar 17, 2018 3:09 am

administrollaattori wrote:
Thu Mar 08, 2018 12:55 pm
What is the sudo blkid | grep swap output?

Code: Select all

/dev/sda6: UUID="0e569e3b-f201-4be1-8947-2460d2b151b4" TYPE="swap" PARTUUID="2af17940-06"

Mute Ant
Level 13
Level 13
Posts: 4779
Joined: Tue Sep 03, 2013 7:45 pm

Re: Extremely slow restart or shutdown issues

Post by Mute Ant » Sat Mar 17, 2018 3:57 am

"...took a long time to poweroff or restart..." How long, in seconds, between switching on the power and seeing the mouse cursor?
In Chapter One, Boron slays the entire Marketing Department by explaining Asynchronous Protocols.

asiam
Level 1
Level 1
Posts: 10
Joined: Fri Dec 08, 2017 10:42 am

Re: Extremely slow restart or shutdown issues

Post by asiam » Sun Mar 18, 2018 12:53 pm

Mute Ant wrote:
Sat Mar 17, 2018 3:57 am
"...took a long time to poweroff or restart..." How long, in seconds, between switching on the power and seeing the mouse cursor?
when power off or restart it stops at mint's logo forever
when power on 30secs to 1 minute approximately

Marziano
Level 6
Level 6
Posts: 1357
Joined: Thu Jan 04, 2018 1:00 pm

Re: Extremely slow restart or shutdown issues

Post by Marziano » Sun Mar 18, 2018 12:56 pm

Could you post the output from:

Code: Select all

systemd-analyze
and

Code: Select all

systemd-analyze blame
?
"Those are my principles, and if you don't like them...well, I have others." -Marx...
Groucho { Marx

thecursedfly
Level 1
Level 1
Posts: 13
Joined: Sat Aug 20, 2011 7:05 pm

Re: Extremely slow restart or shutdown issues

Post by thecursedfly » Sun Mar 18, 2018 1:00 pm

A wild guess, since I had that issue yesterday: do you have any flatpak applications still running when you shutdown?
See: viewtopic.php?f=47&t=260871

Post Reply

Return to “Newbie Questions”