Choose style:

Author Topic: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)  (Read 2600 times)

0 Members and 1 Guest are viewing this topic.

Offline berliner58

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Since I don't share files with Windows OS , I thought I would remove Samba to maybe speed up the boot.

My PC needed 32 seconds to boot (  from grub-menu until the login screen of Peppermint shows ).

After uninstalling Samba
Code: [Select]
sudo apt-get remove samba system-config-samba

the boot still takes 32 seconds, but the shutdown takes about 58 seconds.

Is there a way to fix this ?

inxi -Fz:
Spoiler (click here to view / hide)
franz@franz-Inspiron-560 ~ $ inxi -Fz
System:    Host: franz-Inspiron-560 Kernel: 4.4.0-38-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Seven
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.4 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-38-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 (15.8% used)
           ID-1: /dev/sda model: WDC_WD3200AAKS size: 320.1GB
Partition: ID-1: / size: 24G used: 5.6G (26%) fs: ext4 dev: /dev/sda5
           ID-2: /home size: 58G used: 32G (58%) fs: ext4 dev: /dev/sda6
           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: 45.0C mobo: N/A gpu: 45.5
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 191 Uptime: 10 min Memory: 695.5/7983.0MB
           Client: Shell (bash) inxi: 2.2.35
franz@franz-Inspiron-560 ~ $
[close]
« Last Edit: October 09, 2016, 11:13:48 am by berliner58 »
P8 x64 Desktop Dual core Pentium E5400 (-MCP-) RAM: 8GB

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #1 on: October 09, 2016, 11:12:15 am »
To help us help you, ALL new requests for technical support should include basic system information.

If you haven't already done so, please open a terminal (Ctrl+Alt+T) and run the following command:
Code: [Select]
inxi -Fz
then copy what was returned in the terminal and post it back here.

This was an automated response but please don't ignore it, providing this information now is highly likely to save time for both you and any prospective respondents and aid in the diagnosis of your problem  .. Thanks in advance :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #2 on: October 09, 2016, 11:37:39 am »
Is it always slow to shut down now .. or was it just for the single shutdown after you removed it ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline berliner58

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #3 on: October 09, 2016, 11:58:09 am »
I booted several times after uninstall of Samba and the shutdown was always that long, therefore I  re-installed Samba with
Code: [Select]
sudo apt-get install samba system-config-samba

Now boot needs  32 seconds as always.

Shutdown needs 2 seconds.

Strange.

Befor I mark the thread as closed I got another question:

Is there a chance to speed up boot time ?

I have seen that I should upload dmesg but I cannot find a comfortable file hoster.
Until I have one, I put the relevant part into the spoiler here and remove it then.
dmesg:
Spoiler (click here to view / hide)
franz@franz-Inspiron-560 ~ $ dmesg

[    8.862957] systemd[1]: Started Journal Service.
[    8.964663] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.061575] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[    9.153963] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.769363] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[    9.858748] systemd-journald[270]: Received request to flush runtime journal from PID 1
[   10.405582] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   10.417081] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000084F (\PMRG) (20150930/utaddress-254)
[   10.417088] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   10.417093] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000050F (\_SB_.PCI0.SBRG.SVC2) (20150930/utaddress-254)
[   10.417097] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   10.417132] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   10.774264] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   10.790348] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input8
[   10.808458] usbcore: registered new interface driver snd-usb-audio
[   10.818806] media: Linux media interface: v0.10
[   10.849701] Linux video capture interface: v2.00
[   11.077893] kvm: disabled by bios
[   11.109047] kvm: disabled by bios
[   11.265975] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[   11.285287] uvcvideo: Found UVC 1.00 device Microsoft® LifeCam VX-2000 (045e:0761)
[   11.286869] input: Microsoft® LifeCam VX-2000 as /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0/input/input9
[   11.286942] usbcore: registered new interface driver uvcvideo
[   11.286943] USB Video Class driver (1.1.1)
[   11.505358] gpio_ich: GPIO from 451 to 511 on gpio_ich
[   12.637143] Adding 11159548k swap on /dev/sda7.  Priority:-1 extents:1 across:11159548k FS
[   13.792019] snd_hda_intel 0000:00:1b.0: azx_get_response timeout, switching to polling mode: last cmd=0x300f0000
[   14.558532] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[   14.796188] snd_hda_intel 0000:00:1b.0: No response from codec, disabling MSI: last cmd=0x300f0000
[   15.578283] audit: type=1400 audit(1476026418.252:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=725 comm="apparmor_parser"
[   15.578295] audit: type=1400 audit(1476026418.252:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=725 comm="apparmor_parser"
[   15.578301] audit: type=1400 audit(1476026418.252:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=725 comm="apparmor_parser"
[   15.578307] audit: type=1400 audit(1476026418.252:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=725 comm="apparmor_parser"
[   15.586698] audit: type=1400 audit(1476026418.260:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=724 comm="apparmor_parser"
[   15.586709] audit: type=1400 audit(1476026418.260:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=724 comm="apparmor_parser"
[   15.596894] audit: type=1400 audit(1476026418.272:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=728 comm="apparmor_parser"
[   15.628602] audit: type=1400 audit(1476026418.304:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=729 comm="apparmor_parser"
[   15.628617] audit: type=1400 audit(1476026418.304:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd" pid=729 comm="apparmor_parser"
[   15.628622] audit: type=1400 audit(1476026418.304:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd//third_party" pid=729 comm="apparmor_parser"
[   15.800030] snd_hda_intel 0000:00:1b.0: Codec #3 probe error; disabling it...
[   15.828736] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC887: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
[   15.828741] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   15.828743] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   15.828745] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   15.828747] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   15.828750] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[   15.828752] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[   15.828754] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
[   15.850144] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   15.850220] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   15.850286] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   15.850351] input: HDA Intel Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[   15.850419] input: HDA Intel Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[   15.850486] input: HDA Intel Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[   15.850552] input: HDA Intel Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[   15.850616] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[   23.921559] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[   24.125353] r8169 0000:03:00.0 enp3s0: link down
[   24.125370] r8169 0000:03:00.0 enp3s0: link down
[   24.125461] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[   26.978753] r8169 0000:03:00.0 enp3s0: link up
[   26.978770] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[   33.983076] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[   34.327557] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[   49.337925] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[   64.348823] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[   79.360852] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[   94.368157] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  109.372933] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  124.384045] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  139.394040] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  154.403998] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  169.414031] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  169.510630] [UFW BLOCK] IN=enp3s0 OUT= MAC=00:25:64:83:f0:f0:e8:37:7a:61:b0:80:86:dd SRC=fe80:0000:0000:0000:0000:0000:0000:0001 DST=fe80:0000:0000:0000:bba3:0756:213b:e2b5 LEN=141 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=53 DPT=20757 LEN=101
[  184.424048] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  199.434206] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  214.445142] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  229.455312] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  244.465125] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  259.476293] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  274.486313] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  289.497218] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  304.508265] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  319.519362] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  334.529301] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  349.540304] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  364.550430] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  379.560424] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  394.570552] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
[  409.580408] [UFW BLOCK] IN=enp3s0 OUT= MAC=01:00:5e:00:00:01:e8:37:7a:61:b0:80:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
franz@franz-Inspiron-560 ~ $
[close]
P8 x64 Desktop Dual core Pentium E5400 (-MCP-) RAM: 8GB

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #4 on: October 09, 2016, 03:11:06 pm »
Uploading dmesg output is best done somewhere like
http://pastebin.com/
than posting a link.

That said nothing jumps out from your dmesg contents, so post the output from
Code: [Select]
systemd-analyze blame
and
Code: [Select]
systemd-analyze critical-chain
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline berliner58

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #5 on: October 09, 2016, 03:56:31 pm »
Thank you, PCNetSpec

dmesg
http://pastebin.com/xVjALpwS

systemd-analyze blame
Spoiler (click here to view / hide)
franz@franz-Inspiron-560 ~ $ systemd-analyze blame
          8.916s NetworkManager-wait-online.service
          6.297s mintsystem.service
          4.502s apparmor.service
          4.261s dev-sda5.device
          2.862s NetworkManager.service
          2.710s ModemManager.service
          2.446s grub-common.service
          2.224s accounts-daemon.service
          1.965s nmbd.service
          1.803s samba-ad-dc.service
          1.670s udisks2.service
          1.522s lightdm.service
          1.409s irqbalance.service
          1.385s ufw.service
          1.296s ondemand.service
          1.236s systemd-fsck@dev-disk-by\x2duuid-fcd68866\x2d7018\x2d4887\x2d8f
          1.192s systemd-logind.service
          1.173s console-kit-log-system-start.service
          1.107s lm-sensors.service
          1.096s alsa-restore.service
          1.085s systemd-user-sessions.service
          1.081s pppd-dns.service
          1.054s gpu-manager.service
lines 1-23
[close]
systemd-analyze critical-chain
Spoiler (click here to view / hide)
franz@franz-Inspiron-560 ~ $ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @27.682s
└─multi-user.target @27.682s
  └─smbd.service @27.347s +334ms
    └─nmbd.service @25.368s +1.965s

      └─network-online.target @25.355s
        └─NetworkManager-wait-online.service @16.439s +8.916s
          └─NetworkManager.service @13.568s +2.862s

            └─dbus.service @12.596s
              └─basic.target @12.475s
                └─paths.target @12.475s
                  └─acpid.path @12.475s
                    └─sysinit.target @12.430s
                      └─apparmor.service @7.927s +4.502s
                        └─local-fs.target @7.910s
                          └─home.mount @7.783s +127ms
                            └─systemd-fsck@dev-disk-by\x2duuid-fcd68866\x2d7018\
                              └─dev-disk-by\x2duuid-fcd68866\x2d7018\x2d4887\x2d
lines 1-20/20 (END)
[close]

         
« Last Edit: October 09, 2016, 04:05:28 pm by berliner58 »
P8 x64 Desktop Dual core Pentium E5400 (-MCP-) RAM: 8GB

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #6 on: October 09, 2016, 06:36:20 pm »
Are you using wireless ?

Do things speed up if you disable DHCP on your unused wired profile in networkmanager ?

ONLY on the unused wired profile set:-

IPv4 tab
Method: Disabled

IPv6 tab
Method: Ignore
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline berliner58

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #7 on: October 09, 2016, 06:55:36 pm »
My PC has no wireless device.
I only use Ethernet cable which goes to a DSL-Router which is from my Internet-provider.

I have to look into the unused wired profile in the networkmanager. Don't know where to find it and how to do it, but I will try and disable DHCP.
Edit: Have found it. There is no wireless profile at all as expected.  I  modified the DHCP settings as advised and will now restart and test.

I have seen that the network-manager eats too much time at boot.

I am ready to uninstall Apparmor too. Have seen in other threads that people do it and maybe it will speed up boot in my PC too.
« Last Edit: October 09, 2016, 07:00:27 pm by berliner58 »
P8 x64 Desktop Dual core Pentium E5400 (-MCP-) RAM: 8GB

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #8 on: October 09, 2016, 07:00:06 pm »
NO, don't disable DHCP for your wired connection if that's the one you use

But you could try setting a static IP address.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline berliner58

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #9 on: October 09, 2016, 07:06:20 pm »
I see.  So I enable DHCP for wired again.

I don't know how to set a static IP-address in my PC.
I have done that before in the Fritzbox and the DSL-Router I have now offers that too, but that is the router and not the PC, so I have to search for instructions first.
P8 x64 Desktop Dual core Pentium E5400 (-MCP-) RAM: 8GB

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #10 on: October 09, 2016, 07:13:35 pm »
Do you know the IP address of your router ?

You can find this by right-clicking the networkmanager tray icon and selecting "Connection Information" .. the "Default Route" will normally be your routers IP address.

From the same place, can you also state the current "IP Address"
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline berliner58

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #11 on: October 09, 2016, 07:22:41 pm »
I see many addresses there.
for IP4:
IP-address
Broadcast address
Subnet Mask
Vorgaberoute (route which it must go I guess)
Primary DNS  :  (is identical with above Vorgaberoute address)

P8 x64 Desktop Dual core Pentium E5400 (-MCP-) RAM: 8GB

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #12 on: October 09, 2016, 07:51:19 pm »
So what are they ?

It's not a security risk to post these in public .. they're only your LOCAL network addresses, not the internet facing one
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline berliner58

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #13 on: October 10, 2016, 03:55:13 am »
Good to know.

Here is the connection info, there are 2 tabs, the first one is this:


The second tab is this:


I have Bitmask installed, but I think the IP which Bitmask uses doesn't make a difference in the connection settings of the network manager.
P8 x64 Desktop Dual core Pentium E5400 (-MCP-) RAM: 8GB

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2865
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: P7: Removing Samba made shutdown very slow ( from 2 secs to 58 secs)
« Reply #14 on: October 11, 2016, 06:37:14 pm »
Okay, click the networkmanager icon by the clock and select "Edit Connections"

highlight the connection called "Kabelznetwerkverbindund 1" and click the "Edit" button.

Now (ignoring the "Connection name:" field, which you should leave as is) make the IPv6 tab look like this:-


and the IPv4 tab look like this:-


and click "Save"

and reboot to test.





To UNDO .. just set:-

IPv4
Method: Automatic (DHCP)

and

IPv6
Method: Automatic

and save.
« Last Edit: October 11, 2016, 06:38:45 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec