Which log to look when freeze?

Hi, my Manjaro KDE sometime freeze randomly, but not often. I suspect it is the KDE fault. Which log should I look at?
Kernel log? X.org log? Journald log? (I have ksystemlog)
This log must be there after I force restart my pc.

1 Like

journalctl -b -1

Will allow you to see the entire system log from the previous boot. Hitting > will jump to the end.

journalctl -b -1 | tail -100

Will just display the last 100 lines of the log, which you can post and hopefully give us some idea of what is going on.

I also feel obligated to give @jonathon's standard response (I've seen it a few times):

“Random freezes” are almost always hardware-related (one or more of loose connections, poorly seated components, power, temperature).

You should also test your RAM (run memtest), and take the machine apart, clean it, and reseat all components.

There are plenty of threads with more detail on the forum.

3 Likes

Please click on the link

Thanks for answer, once I get proper log detail aI will add more information. As this freeze is seldom and random.

Follow up question, I open steam(game dustribution platform) on Manjaro KDE and got soft freeze(freeze for a moment (youtube playing on the background)). What log should I look specific for with regards to steam. I want you guys to have info to fix it but I don't want to flood you with logs either. Thanks.

Anyway here is a log for soft freeze. Just gonna dum it here. I not expect some one get anything useful from this. Just gonna out it here.


[kevin@kevin-pc ~]$ journalctl -b -1 | tail -100
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped target Multi-User System.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped target Login Prompts.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopping Modem Manager...
มี.ค. 29 04:09:37 kevin-pc ModemManager[423]: <info>  Caught signal, shutting down...
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped Daily man-db cache update.
มี.ค. 29 04:09:37 kevin-pc avahi-daemon[421]: Got SIGTERM, quitting.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped Generate mirrorlist weekly.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped Monthly clean packages cache.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopping Periodic Command Scheduler...
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
มี.ค. 29 04:09:37 kevin-pc ModemManager[423]: <info>  ModemManager is shut down
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <info>  [1522271377.7502] manager: NetworkManager state is now DISCONNECTED
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <warn>  [1522271377.7510] error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: Authorization check failed: Refusing activation, D-Bus is shutting down.
มี.ค. 29 04:09:37 kevin-pc dbus-daemon[422]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.4' (uid=0 pid=424 comm="/usr/bin/NetworkManager --no-daemon ")
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <warn>  [1522271377.7513] error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: Authorization check failed: Refusing activation, D-Bus is shutting down.
มี.ค. 29 04:09:37 kevin-pc dbus-daemon[422]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down.
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <warn>  [1522271377.7514] sup-iface[0x561754856590,wlp0s29u1u5u3]: connection disconnected (reason -3)
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <info>  [1522271377.7516] device (wlp0s29u1u5u3): supplicant interface state: completed -> disconnected
มี.ค. 29 04:09:37 kevin-pc crond[419]: (CRON) INFO (Shutting down)
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped Periodic Command Scheduler.
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <info>  [1522271377.7562] device (wlp0s29u1u5u3): supplicant interface state: disconnected -> disabled
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <info>  [1522271377.7562] device (wlp0s29u1u5u3): supplicant interface state: disabled -> disconnected
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <info>  [1522271377.7563] modem-manager: ModemManager no longer available
มี.ค. 29 04:09:37 kevin-pc avahi-daemon[421]: avahi-daemon 0.7 exiting.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped Modem Manager.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped Session c1 of user kevin.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Removed slice User Slice of kevin.
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopping Permit User Sessions...                                              
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopping Login Service...                                                     
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped Permit User Sessions.                                                 
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped target Network.                                                       
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopping Network Manager...                                                   
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopping WPA supplicant...                                                    
มี.ค. 29 04:09:37 kevin-pc systemd[1]: Stopped target Remote File Systems.                                           
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <info>  [1522271377.9836] caught SIGTERM, shutting down normally.    
มี.ค. 29 04:09:37 kevin-pc NetworkManager[424]: <info>  [1522271377.9854] device (wlp0s29u1u5u3): state change: disconnected -> unmanaged (reason 'unmanaged', sys-iface-state: 'managed')                                               
มี.ค. 29 04:09:38 kevin-pc wpa_supplicant[600]: nl80211: deinit ifname=wlp0s29u1u5u3 disabled_11b_rates=0            
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Login Service.                                                        
มี.ค. 29 04:09:38 kevin-pc wpa_supplicant[600]: wlp0s29u1u5u3: CTRL-EVENT-TERMINATING                                
มี.ค. 29 04:09:38 kevin-pc NetworkManager[424]: <info>  [1522271378.4174] device (wlp0s29u1u5u3): set-hw-addr: reset MAC address to 6C:19:8F:B4:F6:B2 (unmanage)                                                                         
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped WPA supplicant.                                                       
มี.ค. 29 04:09:38 kevin-pc NetworkManager[424]: <info>  [1522271378.4499] exiting (success)                          
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Network Manager.                                                      
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopping D-Bus System Message Bus...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped D-Bus System Message Bus.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target Basic System.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target Slices.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Removed slice User and Session Slice.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target Sockets.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Closed Avahi mDNS/DNS-SD Stack Activation Socket.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Closed CUPS Scheduler.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target Paths.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped CUPS Scheduler.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Closed D-Bus System Message Bus Socket.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target System Initialization.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopping Load/Save Random Seed...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target Local Encrypted Volumes.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Apply Kernel Variables.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopping Update UTMP about System Boot/Shutdown...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopping Load/Save Screen Backlight Brightness of backlight:acpi_video0...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Set Up Additional Binary Formats.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Load Kernel Modules.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Update UTMP about System Boot/Shutdown.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Create Volatile Files and Directories.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target Local File Systems.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Unmounting /run/user/1000...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Unmounting /home...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Unmounting Temporary Directory (/tmp)...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Load/Save Screen Backlight Brightness of backlight:acpi_video0.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Removed slice system-systemd\x2dbacklight.slice.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Load/Save Random Seed.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Unmounted /run/user/1000.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Unmounted Temporary Directory (/tmp).
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target Swap.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Deactivating swap /dev/sda1...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Deactivated swap /dev/disk/by-path/pci-0000:00:1f.2-ata-2-part1.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Deactivated swap /dev/disk/by-partuuid/7dd40aa2-6827-4240-bbde-531a5ef126f8.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Deactivated swap /dev/disk/by-id/wwn-0x50014ee00361f9f7-part1.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Deactivated swap /dev/disk/by-id/ata-WDC_WD5000AAKX-001CA0_WD-WMAYUT069311-part1.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Deactivated swap /dev/sda1.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Deactivated swap /dev/disk/by-uuid/cde577bb-6c7a-4952-b21c-c8bf62de5a9a.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Unmounted /home.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Reached target Unmount All Filesystems.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped File System Check on /dev/disk/by-uuid/9865d2d7-6455-4a01-ac73-07606c6643ef.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Removed slice system-systemd\x2dfsck.slice.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped target Local File Systems (Pre).
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopping Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Create Static Device Nodes in /dev.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Stopped Remount Root and Kernel File Systems.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Reached target Shutdown.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Reached target Final Step.
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Starting Power-Off...
มี.ค. 29 04:09:38 kevin-pc systemd[1]: Shutting down.
มี.ค. 29 04:09:39 kevin-pc kernel: systemd-shutdow: 39 output lines suppressed due to ratelimiting
มี.ค. 29 04:09:39 kevin-pc systemd-shutdown[1]: Syncing filesystems and block devices.
มี.ค. 29 04:09:39 kevin-pc systemd-shutdown[1]: Sending SIGTERM to remaining processes...
มี.ค. 29 04:09:39 kevin-pc systemd-journald[266]: Journal stopped
[kevin@kevin-pc ~]$ journalctl -b -1
-- Logs begin at Thu 2018-03-22 17:02:08 +07, end at Fri 2018-03-30 01:29:40 +07. --
มี.ค. 28 12:25:05 kevin-pc kernel: microcode: microcode updated early to revision 0x1f, date = 2018-02-07
มี.ค. 28 12:25:05 kevin-pc kernel: Linux version 4.14.29-1-MANJARO (builduser@development) (gcc version 7.3.1 201803>
มี.ค. 28 12:25:05 kevin-pc kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.14-x86_64 root=UUID=bdef5c02-cd00-4748-b>
มี.ค. 28 12:25:05 kevin-pc kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
มี.ค. 28 12:25:05 kevin-pc kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
มี.ค. 28 12:25:05 kevin-pc kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
มี.ค. 28 12:25:05 kevin-pc kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
มี.ค. 28 12:25:05 kevin-pc kernel: x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard'>
มี.ค. 28 12:25:05 kevin-pc kernel: e820: BIOS-provided physical RAM map:
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x0000000020200000-0x0000000040003fff] usable
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x0000000040004000-0x0000000040004fff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x0000000040005000-0x00000000cd667fff] usable
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000cd668000-0x00000000cde12fff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000cde13000-0x00000000ce092fff] ACPI NVS
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000ce093000-0x00000000ce097fff] ACPI data
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000ce098000-0x00000000ce0dafff] ACPI NVS
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000ce0db000-0x00000000ceb7cfff] usable
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000ceb7d000-0x00000000ceff1fff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000ceff2000-0x00000000ceffffff] usable
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000cf800000-0x00000000df9fffff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000fed00000-0x00000000fed03fff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
มี.ค. 28 12:25:05 kevin-pc kernel: BIOS-e820: [mem 0x0000000100000000-0x000000021f5fffff] usable
มี.ค. 28 12:25:05 kevin-pc kernel: NX (Execute Disable) protection: active
มี.ค. 28 12:25:05 kevin-pc kernel: random: fast init done
มี.ค. 28 12:25:05 kevin-pc kernel: SMBIOS 2.7 present.
มี.ค. 28 12:25:05 kevin-pc kernel: DMI: To Be Filled By O.E.M. To Be Filled By O.E.M./Z77 Extreme6, BIOS P1.70 06/11>
มี.ค. 28 12:25:05 kevin-pc kernel: tsc: Fast TSC calibration failed
มี.ค. 28 12:25:05 kevin-pc kernel: tsc: Using PIT calibration value
มี.ค. 28 12:25:05 kevin-pc kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved                      
มี.ค. 28 12:25:05 kevin-pc kernel: e820: remove [mem 0x000a0000-0x000fffff] usable                                   
มี.ค. 28 12:25:05 kevin-pc kernel: e820: last_pfn = 0x21f600 max_arch_pfn = 0x400000000                              
มี.ค. 28 12:25:05 kevin-pc kernel: MTRR default type: uncachable                                                     
มี.ค. 28 12:25:05 kevin-pc kernel: MTRR fixed ranges enabled:                                                        
มี.ค. 28 12:25:05 kevin-pc kernel:   00000-9FFFF write-back                                                          
มี.ค. 28 12:25:05 kevin-pc kernel:   A0000-BFFFF uncachable                                                          
มี.ค. 28 12:25:05 kevin-pc kernel:   C0000-CFFFF write-protect                                                       
มี.ค. 28 12:25:05 kevin-pc kernel:   D0000-E7FFF uncachable                                                          
มี.ค. 28 12:25:05 kevin-pc kernel:   E8000-FFFFF write-protect                                                       
มี.ค. 28 12:25:05 kevin-pc kernel: MTRR variable ranges enabled:                                                     
มี.ค. 28 12:25:05 kevin-pc kernel:   0 base 000000000 mask E00000000 write-back                                      
มี.ค. 28 12:25:05 kevin-pc kernel:   1 base 200000000 mask FE0000000 write-back                                      
มี.ค. 28 12:25:05 kevin-pc kernel:   2 base 0E0000000 mask FE0000000 uncachable                                      
มี.ค. 28 12:25:05 kevin-pc kernel:   3 base 0D0000000 mask FF0000000 uncachable                                      
มี.ค. 28 12:25:05 kevin-pc kernel:   4 base 0CF800000 mask FFF800000 uncachable                                      
มี.ค. 28 12:25:05 kevin-pc kernel:   5 base 21F800000 mask FFF800000 uncachable                                      
มี.ค. 28 12:25:05 kevin-pc kernel:   6 base 21F600000 mask FFFE00000 uncachable

Sorry for the late response, I tend disappear "online" during the weekend (and I took friday off).

Yeah the "-b -1" means to report the log from the "previous boot", "-b -2" would be two boots ago. And since in the soft frreeze there was no reboot, it just shows a normal shutdown. :slight_smile:

Usually when I experience pauses in my system, it's usually disk related. First it's if I'm moving a huge amount of data around on the disk I can get the system very unresponsive because other programs are waiting to get "their" data from the disk. I think this might be more be a ZFS issue, so you might not be seeing it.

The second is when the machine is using a large amount of swap space. If memory is swapped out to disk, application can become unresponsive when they need that memory and the OS is busy reading it back into memory.

Top can give you a good idea of how much memory is swapped out to disk. Just look at the 5th line it will tell you how much swap is available and used. If it's using more than 50% of RAM that could definitely be the problem. (If you have no swap, that could also be a problem.)

If the disk is causing the issue, you can install sysstat, then in a terminal run:

iostat -kdx 15

It first reports disk usage since you booted, then every 15 seconds will report the "change" in disk usage. Interesting numbers are "rkB/s" and "wkB/s" which are the kilobytes read/written per second. If these values are large, in the 20 mb per second range (for hard drives, SSDs can go much higher) the computer might be waiting for the disk. The other values I watch are the "r_await" and "w_await" values, these are how long the computer waited for the disk to read/write some data. If these are in the 1000s (second) range, then the disk is having issues. If they are over 100, you are probably having issues.

The only other reason for a soft freeze that I can think of would be a video thing. If the game is starting up the 3d subsystem on the card, allocating resources and whatnot, I could see the card freezing the screen while the game is initializing it for the game. Although I would expect this to happen every time, or at least be repeatable, like if running program A and starting up program B the screen freezes briefly, then it's probably a video interaction between program A and B.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by