zram freezes computer

Bug #1809556 reported by Elvis de Freitas Souza
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
zram-config (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I bought a new setup and since then my computer is having random freezes, the machine stops respond until you do a hard reset (pressing reset button)

* I noticed that this issue is more common when running java programs, i.e. Intellij, Spring Boot applications (I'm a java developer) and using chrome.
* I also noticed issue is not related to high CPU usage

Steps I did to reproduce the issues

* Turned computer on
* Started Intellij
* Opened chrome and let a video playing
* Started a java application with a considerable consume of memory (500MB)
* Keep starting and stopping that application

I did the following tests and had the same results

* Tested on ubuntu 16.04, 18.04, 18.10 with it's original kernels, also tested on kernel 4.19
* Tested with nouveau (With and without GPU installed)
* Tested with Nvidia proprietary drivers
* Tested with Nvidia ubuntu repository drivers
* Installed latest BIOs
* Removed one of my two memories

Steps I did to stress my computer and got no issues

* Ran memtest (got no issues)
* Stressed my computer and RAM with stress tool (got not issues)

Steps to fix the problem

* apt purge -y zram-config
* Restart the computer

Revision history for this message
Elvis de Freitas Souza (edigitalb) wrote :

ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: typer 2994 F.... pulseaudio
 /dev/snd/pcmC0D0p: typer 2994 F...m pulseaudio
CurrentDesktop: LXQt
DistroRelease: Ubuntu 18.10
InstallationDate: Installed on 2018-12-20 (2 days ago)
InstallationMedia: Lubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.2)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
 Bus 001 Device 002: ID 046d:c083 Logitech, Inc.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Gigabyte Technology Co., Ltd. B360M-D3H
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.18.0-12-generic root=UUID=ba2e86e4-48ce-47f3-a413-98536fe6febd ro quiet splash resume=UUID=5b571422-2d63-4044-88be-ecd5e66732d8 vt.handoff=1
ProcVersionSignature: Ubuntu 4.18.0-12.13-generic 4.18.17
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-12-generic N/A
 linux-backports-modules-4.18.0-12-generic N/A
 linux-firmware 1.175.1
RfKill:

Tags: cosmic
Uname: Linux 4.18.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo
_MarkForUpload: True
dmi.bios.date: 04/19/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F4
dmi.board.asset.tag: Default string
dmi.board.name: B360M D3H-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF4:bd04/19/2018:svnGigabyteTechnologyCo.,Ltd.:pnB360M-D3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB360MD3H-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: Default string
dmi.product.name: B360M-D3H
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Elvis de Freitas Souza (edigitalb) wrote :
Revision history for this message
Elvis de Freitas Souza (edigitalb) wrote :
Revision history for this message
Elvis de Freitas Souza (edigitalb) wrote :
Revision history for this message
Elvis de Freitas Souza (edigitalb) wrote :
Revision history for this message
Elvis de Freitas Souza (edigitalb) wrote :
description: updated
Revision history for this message
Elvis de Freitas Souza (edigitalb) wrote :

As the computer crashes I got no errors on the syslog except one time when I got the error attached on crash.txt

description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zram-config (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas (t-hartwig) wrote :
Revision history for this message
Elvis de Freitas Souza (edigitalb) wrote :

I think the above link will not gonna help because it's related to computer freezing when RAM is full, my computer wasn't with high usage of RAM on the freeze moment, it was using something about 50%

Another point is that zram makes computer use less RAM and my problem gone when I uninstalled zram, so the issue definitely is not related to high memory usage

Revision history for this message
Thomas (t-hartwig) wrote :

There is a discussion about this topic, I followed the recommendation there but my system freezed again, so purged zram now.

https://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem

JFYI: I added this to my sysctl.conf without hlelp

vm.swappiness=5
vm.min_free_kbytes=65536

Revision history for this message
Harvie (harvie) wrote :

I have the same problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.