You are not logged in.

#1 2014-12-25 11:10:09

PUE
Member
From: Earth/Europe/Austria
Registered: 2009-05-09
Posts: 51

System freeze at midnight

Hi there,

last night, at exactly midnight the whole system froze up, nothing worked anymore. I had to do a hard reset.
I assume that it is related to systemd and its journal since it usually starts to get active at 12, doing whatever, causing lots of disc activity.
/etc/cron.daily/ is empty, so I don't see what else it could be. Any ideas?

systemd 218-1
No log files, the last entry is from Dec 24 23:31:50, so much for the great new journal.

Offline

#2 2014-12-25 12:28:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: System freeze at midnight

I've asked https://bugs.archlinux.org/task/43219

What timers do you have enabled? Set them to a different time and run them one at a time.

Offline

#3 2014-12-25 12:48:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: System freeze at midnight

mod note: not a kernel issue.  moved to sys admin.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2015-01-04 18:03:41

PUE
Member
From: Earth/Europe/Austria
Registered: 2009-05-09
Posts: 51

Re: System freeze at midnight

Karol, it is unclear to me to what timers you refer to.

Offline

#5 2015-01-05 05:45:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: System freeze at midnight

Post the output of 'systemctl list-timers'.

Offline

#6 2015-01-05 11:55:49

PUE
Member
From: Earth/Europe/Austria
Registered: 2009-05-09
Posts: 51

Re: System freeze at midnight

Ah, I see, this is something like cron built into systemd?
Do we have two different cron thingies on the system in parallel now?

$ systemctl list-timers
NEXT                         LEFT     LAST                         PASSED       UNIT                         ACTIVATES
Tue 2015-01-06 00:00:00 CET  11h left Mon 2015-01-05 01:10:25 CET  11h ago      logrotate.timer              logrotate.s
Tue 2015-01-06 00:00:00 CET  11h left Mon 2015-01-05 01:10:25 CET  11h ago      man-db.timer                 man-db.serv
Tue 2015-01-06 00:00:00 CET  11h left Mon 2015-01-05 01:10:25 CET  11h ago      shadow.timer                 shadow.serv
Tue 2015-01-06 00:00:00 CET  11h left Mon 2015-01-05 01:10:25 CET  11h ago      updatedb.timer               updatedb.se
Tue 2015-01-06 10:02:13 CET  21h left Mon 2015-01-05 10:02:13 CET  2h 51min ago systemd-tmpfiles-clean.timer systemd-tmp

Last edited by PUE (2015-01-05 19:12:39)

Offline

#7 2015-01-05 18:44:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: System freeze at midnight

I have no cron

$ pacman -Qs cron
$

just systemd. See https://wiki.archlinux.org/index.php/Systemd/Timers


When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#8 2015-01-05 19:14:46

PUE
Member
From: Earth/Europe/Austria
Registered: 2009-05-09
Posts: 51

Re: System freeze at midnight

I have one installed, even though I think I did this particular installation after the switch to systemd.

$ pacman -Qs cron
local/cronie 1.4.12-1

Do you think it might conflict?
Any idea what the issue might be?

Offline

#9 2015-01-07 09:20:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: System freeze at midnight

What issue? If you don't like the timers starting daily at midnight, change it to e.g. weekly runs. If you're not using a package - remove it.

Offline

#10 2015-02-11 23:55:55

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,131

Re: System freeze at midnight

Just having cronie installed isn't a problem. I have both cronie and incron installed and don't have an issue at midnight. Moreover, I am running cron jobs using cronie. Both root and me have active crontab jobs set up.

But, as karol says, if you are not using it, remove it.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB