Results 1 to 6 of 6

Thread: Ubuntu Server 20.04.02 repeatedly freezes/crashes. syslog pastebin inside.

  1. #1
    Join Date
    Jul 2015
    Beans
    15

    Question Ubuntu Server 20.04.02 repeatedly freezes/crashes. syslog pastebin inside.

    Hello all,

    I'm running Ubuntu Server 20.04.02 on an Intel NUC10i5. This is a fresh install (2 days), but this is a repeated problem; I've reinstalled Ubuntu several times, and I'm at my wits end with this.

    After install, I do a few things:
    • Set a static IP
    • Edit /etc/fstab to mount my NAS drives via NFS
    • Set up Docker/Docker Compose for Plex/SABnzbd/qBittorrent/Jackett/Radarr/Sonarr
    • rsync

    cronjob to copy the settings for those programs to the NAS as a backup

    That's it. This NUC only serves as a media server for what's hosted on the NAS. It downloads media, moves it to the NAS, and then indexes it for Plex. That's all. But it keeps freezing/crashing, and I can't really understand why.

    I don't think it's a hardware issue: I'm using a Kingston NVME drive and Kingston RAM (on the Intel NUC compatibility list). It might be a heat problem, but when I last checked temps, they were all ~40, which should be just fine.

    This is the last bit of the /var/log/syslog before the system froze. I can't really make sense of this, but hopefully someone else can:

    https://pastebin.com/EzyQJicb

    Thanks so much for any help! This NUC has been nothing but trouble—first I had to RMA for the ethernet port, then I swapped the cheap RAM for the good Kingston stuff, but it keeps freezing, and it seems like it might more of a software problem than a hardware problem. I'm ready to install Windows and just get on with my life, but I'm hoping someone can help me figure out what's going on with Ubuntu on this NUC. Thanks again!
    Last edited by ryan170; February 25th, 2021 at 01:18 PM.

  2. #2
    Join Date
    Aug 2020
    Location
    Denmark
    Beans
    100
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu Server 20.04.02 repeatedly freezes/crashes. syslog pastebin inside.

    You have I/O errors on your NVME disk, which also causes system jobs to hang in the kernel for more than 2 minutes. I definitely think you have some kind of problem with the NVME disk - or maybe it's under extremely heavy load and can't keep up.

    Also see here: https://unix.stackexchange.com/quest...0-seconds-mean
    Last edited by ameinild; February 25th, 2021 at 01:38 PM.
    Supermicro Server :: Atom C3558 (4) @ 2.2 GHz :: 64 GB ECC DDR4-2400 :: 512 GB NVMe :: 4x 2 TB SSD @ RAID-Z :: 1x Raspberry Pi 4 Server

    Scripts: directory-tools | rsync-backup | add-apt-key

  3. #3
    Join Date
    Jul 2015
    Beans
    15

    Re: Ubuntu Server 20.04.02 repeatedly freezes/crashes. syslog pastebin inside.

    Thank you. The NVME disk is Kingston, so it should be good, but it's not technically on the Intel NUC compatibility list; only some Intel NVME drives are "validated" according to that.

    I guess I'll try to load up a USB with systemrescuecd or something like that for a drive test.

    If it passes the tests, and I assume that it's just under load and can't keep up (an NVME not able to keep up?) is there some way to limit the I/O to prevent these errors?

  4. #4
    Join Date
    Aug 2020
    Location
    Denmark
    Beans
    100
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu Server 20.04.02 repeatedly freezes/crashes. syslog pastebin inside.

    The only solutions I can come up with are either:

    • Reduce "swappiness" if it's because of swap activity
    • Run fewer jobs that require disk I/O

    But you should definitely monitor the disk I/O capacity.
    Consider using either hdparm or dd, see here: https://askubuntu.com/questions/8703...sk-performance

    For reference, my NVME disk has the following:

    • Cached reads: ~ 2000 MB/sec
    • Buffered reads: ~ 1000 MB/sec
    • Write (dd): ~ 500 MB/sec
    Last edited by ameinild; February 25th, 2021 at 03:14 PM.
    Supermicro Server :: Atom C3558 (4) @ 2.2 GHz :: 64 GB ECC DDR4-2400 :: 512 GB NVMe :: 4x 2 TB SSD @ RAID-Z :: 1x Raspberry Pi 4 Server

    Scripts: directory-tools | rsync-backup | add-apt-key

  5. #5
    Join Date
    Jul 2015
    Beans
    15

    Re: Ubuntu Server 20.04.02 repeatedly freezes/crashes. syslog pastebin inside.

    Thanks. Adding a hdd to reduce the I/O on the NVME seemed to have cleared up that problem. I'll keep an eye on it in the future.

  6. #6
    Join Date
    Aug 2020
    Location
    Denmark
    Beans
    100
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Ubuntu Server 20.04.02 repeatedly freezes/crashes. syslog pastebin inside.

    Hi. I'm glad to hear that you've resolved the issue.

    Cheers!
    Supermicro Server :: Atom C3558 (4) @ 2.2 GHz :: 64 GB ECC DDR4-2400 :: 512 GB NVMe :: 4x 2 TB SSD @ RAID-Z :: 1x Raspberry Pi 4 Server

    Scripts: directory-tools | rsync-backup | add-apt-key

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •