Extremely slow restart or shutdown issues

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
asiam

Extremely slow restart or shutdown issues

Post by asiam »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Sir Charles

Re: Extremely slow restart or shutdown issues

Post by Sir Charles »

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.
asiam

Re: Extremely slow restart or shutdown issues

Post by asiam »

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 
kukamuumuka

Re: Extremely slow restart or shutdown issues

Post by kukamuumuka »

Compare the next UUIDs

Code: Select all

cat /etc/fstab | grep swap

Code: Select all

sudo blkid | grep swap
asiam

Re: Extremely slow restart or shutdown issues

Post by asiam »

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
kukamuumuka

Re: Extremely slow restart or shutdown issues

Post by kukamuumuka »

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

Re: Extremely slow restart or shutdown issues

Post by asiam »

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

Re: Extremely slow restart or shutdown issues

Post by Mute Ant »

"...took a long time to poweroff or restart..." How long, in seconds, between switching on the power and seeing the mouse cursor?
asiam

Re: Extremely slow restart or shutdown issues

Post by asiam »

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
Sir Charles

Re: Extremely slow restart or shutdown issues

Post by Sir Charles »

Could you post the output from:

Code: Select all

systemd-analyze
and

Code: Select all

systemd-analyze blame
?
thecursedfly

Re: Extremely slow restart or shutdown issues

Post by thecursedfly »

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
Locked

Return to “Beginner Questions”