Author Topic: systemd-journal-flush.service gobbling boot time [Solved]  (Read 6848 times)

Offline stevesveryown

  • Trusted User
  • Member
  • *****
  • Posts: 417
  • Karma: 170
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 10
systemd-journal-flush.service gobbling boot time [Solved]
« on: September 27, 2018, 07:49:07 am »
Hi, all my Peppermint friends!

I've been enjoying Pepp 9 on my HP 8440p laptop.  The only issue I have is the long boot time. over 25 seconds are gobbled up with  systemd-journal-flush.service.  Is there a way to reduce the time on this? Here is the out put from systemd-analyze blame

Spoiler (click here to view / hide)
[close]
« Last Edit: September 29, 2018, 11:26:21 am by stevesveryown »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #1 on: September 27, 2018, 08:46:56 am »
What's the output from
Code: [Select]
journalctl --verifyand
Code: [Select]
journalctl --disk-usageand
Code: [Select]
du -hs /var/log/journal/


This link is only here for my future reference
https://forum.peppermintos.com/index.php/topic,7482.msg76881.html#msg76881
« Last Edit: September 27, 2018, 08:55:13 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline stevesveryown

  • Trusted User
  • Member
  • *****
  • Posts: 417
  • Karma: 170
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #2 on: September 28, 2018, 06:53:05 am »
journalctl --verify
Spoiler (click here to view / hide)
[close]
The File corruption detected is interesting.

journalctl --disk-usage
Spoiler (click here to view / hide)
[close]

du -hs /var/log/journal/
stephen@stephen-HP-EliteBook-8440p ~ $ du -hs /var/log/journal/
497M   /var/log/journal/
« Last Edit: September 28, 2018, 06:54:39 am by stevesveryown »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #3 on: September 28, 2018, 08:35:49 am »
Okay run:
Code: [Select]
journalctl --vacuum-time=2dthen post the output from
Code: [Select]
journalctl --verifyagain.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline stevesveryown

  • Trusted User
  • Member
  • *****
  • Posts: 417
  • Karma: 170
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #4 on: September 28, 2018, 09:22:56 am »
Here you go.  Looks like an issue.

Spoiler (click here to view / hide)
[close]

Spoiler (click here to view / hide)
[close]
« Last Edit: September 29, 2018, 06:54:55 am by stevesveryown »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #5 on: September 28, 2018, 09:50:47 am »
Sorry, try
Code: [Select]
sudo journalctl --vacuum-time=2dthen post the output from
Code: [Select]
journalctl --verifyand
Code: [Select]
journalctl --disk-usage
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline stevesveryown

  • Trusted User
  • Member
  • *****
  • Posts: 417
  • Karma: 170
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #6 on: September 29, 2018, 07:36:41 am »
Here's the output:

Spoiler (click here to view / hide)
[close]

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #7 on: September 29, 2018, 07:38:14 am »
Okay have the boot times improved ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline stevesveryown

  • Trusted User
  • Member
  • *****
  • Posts: 417
  • Karma: 170
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #8 on: September 29, 2018, 08:42:30 am »
Boot time hasn't improved much.  systemd-journal-flush.service has dropped down in the rank.

systemd-analyze blame
Spoiler (click here to view / hide)
[close]

So I know for the future, what were the commands doing?

As always, thanks for taking the time out to answer my questiion.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #9 on: September 29, 2018, 08:47:39 am »
Trimming down the systemd log files

What you need is an SSD :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline stevesveryown

  • Trusted User
  • Member
  • *****
  • Posts: 417
  • Karma: 170
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time
« Reply #10 on: September 29, 2018, 11:25:43 am »
Yes.  Just old school and still not 100% sure of them.   :-\

I'll mark the post solved.   

Thanks!  ;)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time [Solved]
« Reply #11 on: September 29, 2018, 11:34:35 am »
I'll absolutely guarantee, an SSD would be the best purchase you've ever made (as long as your SATA port is SATA III), and once you use one you'll never touch a 'spinner' again ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: systemd-journal-flush.service gobbling boot time [Solved]
« Reply #12 on: September 29, 2018, 12:49:26 pm »
I'll absolutely guarantee, an SSD would be the best purchase you've ever made (as long as your SATA port is SATA III), and once you use one you'll never touch a 'spinner' again ;)

Dito  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline stevesveryown

  • Trusted User
  • Member
  • *****
  • Posts: 417
  • Karma: 170
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time [Solved]
« Reply #13 on: September 30, 2018, 08:18:45 am »
I'll absolutely guarantee, an SSD would be the best purchase you've ever made (as long as your SATA port is SATA III), and once you use one you'll never touch a 'spinner' again ;)

My HP specs labels the interface as a serial ata-300, which I understand to be a sata II.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: systemd-journal-flush.service gobbling boot time [Solved]
« Reply #14 on: September 30, 2018, 08:32:39 am »
What's the output from
Code: [Select]
dmesg | grep -i ahci | grep -i Gbpsand
Code: [Select]
dmesg | grep -i sata | grep -i  'link up'
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec