I am very new to Rocky Linux. I am looking for a stable Linux distro to work with my javascript development.
I am pretty happy with the Rocky Linux performance. I am not able to understand what is causing a sudden freeze, then the user is logged out.
So HTOP shows 16/32 GB of RAM consumed at a given moment in the development environment. But Swap remains always empty no matter how much sappiness i increase/decrease
/etc/fstab >>
#
# /etc/fstab
# Created by anaconda on Mon Aug 29 15:41:09 2022
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/rl-root / xfs defaults 0 0
UUID=270b5bd2-9e37-45a2-a102-c34926060872 /boot xfs defaults 0 0
/dev/mapper/rl-home /home xfs defaults 0 0
/swapfile none swap sw 0 0
Which version of Rocky?
Your swapfile does not look like the default Rocky install.
It might be best to start with a vanilla Rocky and post findings based on that (as plain text).
It looks like you’ve got many processes with incremental pids.
It would also help if you explain what you’re trying to do.
1 Like
Rocky Linux 9. Yes, I removed defaults. Because i was facing issues of freeze
The trouble is, the freeze might not be related to the defaults.
Try putting everything back to normal, and then check the logs at the exact time of the freeze. The freeze might only be in the GUI and the o/s is still running in the background, or it might be a genuine freeze where the o/s stopped completely.
1 Like
Swap being empty is not a problem. Swap can be used perfectly fine either as a normal partition, or as is here as a file on the XFS partition. I do that a lot and don’t have freezing problems. Swap being empty means you haven’t used all your RAM for it to swap processes. The freeze sounds more likely to be GUI-related, maybe 3D stuff. Compiz used to be known for doing that quite a lot in certain circumstances with specific configuration options.
Could be graphics driver-related, but would need digging through the log files under /var/log as well as dmesg for a start.
Which logs should i share ? That’s what in my /var/log/
❯ cd /var/log
❯ ls
anaconda dnf.librepo.log messages spooler
anydesk.trace dnf.log mongodb sssd
audit dnf.rpm.log nvidia-installer.log tallylog
boot.log firewalld private wtmp
boot.log-20220831 gdm qemu-ga Xorg.0.log
btmp hawkey.log README Xorg.0.log.old
chrony kdump.log samba Xorg.1.log
cron lastlog secure
cups maillog speech-dispatcher
I have installed nvidia drivers, removing nouveau. Screens do feels more sharp ! Used these tuts:
-
Tutorial
-
help for tutorial
Thanks a lot for advice!!
Which logs I need to look up ?
Thank you so much for helping !!!
When the problem occurs look in Xorg.0.log for potential problem and also run:
dmesg
This could show something
1 Like
Hi
what is swappiness values configured on System ?
print the out of below commands
cat /proc/sys/vm/swappiness
swapon --summary
❯ swapon --summary
Filename Type Size Used Priority
/swapfile file 16777212 0 -2
❯ cat /proc/sys/vm/swappiness
60
Last two working days have been great!
I’ll post a review after a week. I think your advice worked 
1 Like