LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 02-04-2015, 06:28 AM   #1
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Rep: Reputation: 64
systemd-analyze critical chain some wrong...


Code:
# systemd-analyze critical-chain
The time after the unit is active or started is printe
The time the unit takes to start is printed after the 

graphical.target @1min 12.265s
`-multi-user.target @1min 12.265s
  `-wicd.service @1min 2.067s +10.197s
    `-basic.target @1min 2.064s
      `-sockets.target @1min 2.064s
        `-dbus.socket @1min 2.064s
          `-sysinit.target @1min 2.063s
            `-systemd-update-utmp.service @1min 2.013s
              `-systemd-tmpfiles-setup.service @1min 1
                `-systemd-journal-flush.service @56.81
                  `-systemd-journald.service @1.660s +
                    `-systemd-journald.socket @1.504s
                      `--.slice @1.235s
lines 1-16/16 (END)...skipping...
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 @1min 12.265s
`-multi-user.target @1min 12.265s
  `-wicd.service @1min 2.067s +10.197s
    `-basic.target @1min 2.064s
      `-sockets.target @1min 2.064s
        `-dbus.socket @1min 2.064s
          `-sysinit.target @1min 2.063s
            `-systemd-update-utmp.service @1min 2.013s +46ms
              `-systemd-tmpfiles-setup.service @1min 1.796s +216ms
                `-systemd-journal-flush.service @56.816s +4.976s
                  `-systemd-journald.service @1.660s +55.153s                                                                         
                    `-systemd-journald.socket @1.504s                                                                                 
                      `--.slice @1.235s
*wicd service on RED...

someone versed on Arch and systemd can look that?

tia!

Last edited by gor0; 02-04-2015 at 06:30 AM.
 
Old 02-04-2015, 07:03 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 284Reputation: 284Reputation: 284
It could be that your systemd log files are huge; check the size of /var/log/journal

You can limit log size by modifying /etc/systemd/journald.conf
https://wiki.archlinux.org/index.php...nal_size_limit

See man journald.conf
 
Old 02-04-2015, 02:38 PM   #3
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Original Poster
Rep: Reputation: 64
Dude...is this 'normal' ?

just 2 files on /var/log/journal ??
Attached Thumbnails
Click image for larger version

Name:	snapshot7.png
Views:	43
Size:	7.0 KB
ID:	17513  
 
Old 02-04-2015, 02:46 PM   #4
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
Originally Posted by gor0 View Post
Dude...is this 'normal' ?

just 2 files on /var/log/journal ??
That's what mine looks like

They are folders -- the logs are in the one named with a long alphanumeric string.

How big is the folder on the left?

Mine is 123.7MiB ATM.

If yours is several GiB then that's why systemd is taking so long to boot -- delete the contents (if you have no outstanding issues on your system) and modify your /etc/systemd/journald.conf to limit the size as set out in my link above and described more fully in man journald.conf

Last edited by Head_on_a_Stick; 02-04-2015 at 04:07 PM. Reason: correction
 
Old 02-04-2015, 06:36 PM   #5
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Original Poster
Rep: Reputation: 64
Quote:
Originally Posted by Head_on_a_Stick View Post
They are folders -- the logs are in the one named with a long alphanumeric string.

How big is the folder on the left?

Mine is 123.7MiB ATM.

If yours is several GiB then that's why systemd is taking so long to boot -- delete the contents (if you have no outstanding issues on your system) and modify your /etc/systemd/journald.conf to limit the size as set out in my link above and described more fully in man journald.conf
Yep,it is the logs folders: 456.0 MiB ,12 files,0 subfolders

I'd like to erase that folder...
 
Old 02-05-2015, 01:33 AM   #6
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
Originally Posted by gor0 View Post
I'd like to erase that folder...
Just delete the contents.

Make sure your system is functioning properly first though...
 
Old 02-05-2015, 04:06 PM   #7
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Original Poster
Rep: Reputation: 64
sorry 4 botherin u...

can I erase all of that?

tia!
Attached Thumbnails
Click image for larger version

Name:	snapshot8.png
Views:	25
Size:	46.3 KB
ID:	17519  
 
Old 02-05-2015, 04:09 PM   #8
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 284Reputation: 284Reputation: 284
Yes I'm pretty sure it will all be re-created by systemd; just move them to a different location if you're worried -- you can always just move them back if there's a problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Is systemd as bad as boycott systemd is trying to make it? LXer Syndicated Linux News 0 09-03-2014 05:50 PM
What's wrong: -X requires a chain and a policy user9876 Linux - Networking 2 11-17-2013 04:23 PM
Analyze squid log files for analyze pattern harshaabba Linux - Software 1 10-13-2011 09:21 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM
iptables syn/fin dropping going to wrong chain b-neva Linux - Networking 13 02-03-2010 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration