i recently updated my system to latest pmos debian. for the most part things are good. however if i leave the computer up overnight it forces me to login in again and then it freezes. a hard restart is the only way out.
garret@garret-inspiron660:~$ cat /etc/fstab
; /etc/fstab: static file system information.
;#
;# Use 'blkid' to print the universally unique identifier for a device; this may
;# be used with UUID= as a more robust way to name devices that works even if
;# disks are added and removed. See fstab(5).
;#
;# <file system=""> <mount point=""> <type> <options> <dump> <pass>
UUID=887350ef-ee8e-4135-b802-3ad365edf39c / ext4 defaults,noatime 0 1
/swapfile swap swap defaults 0 0
garret@garret-inspiron660:~$ </pass></dump></options></type></mount></file>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2023-09-23
Hi Garret,
Welcome to Planet Peppermint. There are few things to check first.
Go to BIOS -> Power Management -> Block Sleep and untick this box and apply changes.
Menu -> Settings -> Power Manager. See attached screenshot and set them to how I have set mine.
Run this command cat /proc/sys/vm/swappiness in a terminal, if it reports 60, you need to edit the /etc/sysctl.conf file and scroll to the bottom of the file and add this text body.
###################################################################
# Reduce the swap tendency and the cache pressure
vm.swappiness=10
vm.vfs_cache_pressure=50
Now, when leaving your machine overnight, do you log out, or lock the screen? I maintain my elderly fathers Dell 9020 SFF desktop, and have it set up to auto-wake 08:00hrs, with no screen saver, nor does it go into suspend, requiring him to enter his password. Even though I configured to the above mentioned suggestions. After a while the screen will become blank, it can be reactivated by pressing the shift key on the keyboard.
Prolonged non usage, Dell does put it into some form of suspend. The power button has become dull with its light now showing in a low pulsating on/off glow. Gently press the power button to reactivate it. The power button returning its luminous full glow. No need for a hard restart.
If this does not address your issue, then it is back to the drawing-board.
thanks for the suggestions. the only change i made to match your setup was to untick the power manager Security box setting for locking the screen when system is going to sleep. everything else was already ok.
when i leave my machine i just power off the monitor, no log off or anything. generally Firefox is running.
and by computer freezing i meant that the system does unlock. but when i try to click anything in Firefox an box appears that says no internet connection and then nothing happens. the mouse will move around for me but nothing happen on anything i click, both menu button and in Firefox.
i will see how it goes and keep you posted.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i applied your suggestions but the problem remains.
i did do some investigating. if i put the system into sleep mode via the Menu | Log Out screen. then i see a red message box labeled "no internet connection" message appear over the Firefox or chromium browser window just before the system sleeps. when i wake the system (with a tap on the shift key) the "no internet connection" message remains but i see in upper right a message that the network is connected to my wireless and wired connections. if i haven't left the machine alone for too long the "no internet connection" message goes away and the system is fine. if i leave the system alone (say overnight) the network connection messages don't appear and the system does not respond well. if i have task manager running i can see that Firefox is running and memory usage seems high, sometime swap file looks completely used. so to me this is either swap file config'd wrong or network issues after sleep.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i read your Video review post in Announcements (from 7/4/23). perhaps i need to change to change from swap file to swap partition as i am letting the system sleep overnight?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i recently updated my system to latest pmos debian. for the most part things are good. however if i leave the computer up overnight it forces me to login in again and then it freezes. a hard restart is the only way out.
my suspicion is that i have setup the swap incorrectly, as it always shows 0B used. any suggestions?
garret@garret-inspiron660:~$ free -m
total used free shared buff/cache available
Mem: 7812 3195 3262 379 2050 4616
Swap: 8191 0 8191
garret@garret-inspiron660:~$
garret@garret-inspiron660:~$ inxi -Fxz
System:
Kernel: 6.1.0-12-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
Desktop: Xfce v: 4.18.1 Distro: PeppermintOS bookworm
Machine:
Type: Desktop System: Dell product: Inspiron 660 v: N/A
serial: <superuser required="">
Mobo: Dell model: 084J0R v: A00 serial: <superuser required=""> BIOS: Dell
v: A10 date: 05/13/2013
CPU:
Info: dual core model: Intel Core i3-3240 bits: 64 type: MT MCP
arch: Ivy Bridge rev: 9 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
Speed (MHz): avg: 1750 high: 2200 min/max: 1600/3400 cores: 1: 2200
2: 1600 3: 1600 4: 1600 bogomips: 27147
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics vendor: Dell
driver: i915 v: kernel arch: Gen-7 bus-ID: 00:02.0
Device-2: Logitech HD Webcam C615 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 2-4.2:17
Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 1920x1080~75Hz
API: OpenGL v: 4.2 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 2500 (IVB
GT1) direct-render: Yes
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell 7
driver: snd_hda_intel bus-ID: 2-4.2:17 v: kernel bus-ID: 00:1b.0
Device-2: Logitech HD Webcam C615 type: USB driver: snd-usb-audio,uvcvideo
API: ALSA v: k6.1.0-12-amd64 status: kernel-api
Server-1: PulseAudio v: 16.1 status: active
Network:
Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: Dell
driver: ath9k v: kernel bus-ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Dell driver: r8169 v: kernel port: e000 bus-ID: 04:00.0
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 931.51 GiB used: 25.87 GiB (2.8%)
ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08WN4A0
size: 931.51 GiB
Partition:
ID-1: / size: 915.81 GiB used: 25.87 GiB (2.8%) fs: ext4 dev: /dev/sda1
Swap:
ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
System Temperatures: cpu: 34.0 C mobo: N/A
Fan Speeds (RPM): cpu: 476 mobo: 1178
Info:
Processes: 197 Uptime: 3h 31m Memory: 7.63 GiB used: 3.13 GiB (41.0%)
Init: systemd target: graphical (5) Compilers: gcc: 12.2.0 Packages: 1920
Shell: Bash v: 5.2.15 inxi: 3.3.26
garret@garret-inspiron660:~$ </filter></filter></superuser></superuser>
garret@garret-inspiron660:~$ cat /etc/fstab
; /etc/fstab: static file system information.
;#
;# Use 'blkid' to print the universally unique identifier for a device; this may
;# be used with UUID= as a more robust way to name devices that works even if
;# disks are added and removed. See fstab(5).
;#
;# <file system=""> <mount point=""> <type> <options> <dump> <pass>
UUID=887350ef-ee8e-4135-b802-3ad365edf39c / ext4 defaults,noatime 0 1
/swapfile swap swap defaults 0 0
garret@garret-inspiron660:~$ </pass></dump></options></type></mount></file>
Hi Garret,
Welcome to Planet Peppermint. There are few things to check first.
Go to BIOS -> Power Management -> Block Sleep and untick this box and apply changes.
Menu -> Settings -> Power Manager. See attached screenshot and set them to how I have set mine.
Run this command
cat /proc/sys/vm/swappiness
in a terminal, if it reports 60, you need to edit the/etc/sysctl.conf
file and scroll to the bottom of the file and add this text body.Now, when leaving your machine overnight, do you log out, or lock the screen? I maintain my elderly fathers Dell 9020 SFF desktop, and have it set up to auto-wake 08:00hrs, with no screen saver, nor does it go into suspend, requiring him to enter his password. Even though I configured to the above mentioned suggestions. After a while the screen will become blank, it can be reactivated by pressing the shift key on the keyboard.
Prolonged non usage, Dell does put it into some form of suspend. The power button has become dull with its light now showing in a low pulsating on/off glow. Gently press the power button to reactivate it. The power button returning its luminous full glow. No need for a hard restart.
If this does not address your issue, then it is back to the drawing-board.
thanks for the suggestions. the only change i made to match your setup was to untick the power manager Security box setting for locking the screen when system is going to sleep. everything else was already ok.
when i leave my machine i just power off the monitor, no log off or anything. generally Firefox is running.
and by computer freezing i meant that the system does unlock. but when i try to click anything in Firefox an box appears that says no internet connection and then nothing happens. the mouse will move around for me but nothing happen on anything i click, both menu button and in Firefox.
i will see how it goes and keep you posted.
i applied your suggestions but the problem remains.
i did do some investigating. if i put the system into sleep mode via the Menu | Log Out screen. then i see a red message box labeled "no internet connection" message appear over the Firefox or chromium browser window just before the system sleeps. when i wake the system (with a tap on the shift key) the "no internet connection" message remains but i see in upper right a message that the network is connected to my wireless and wired connections. if i haven't left the machine alone for too long the "no internet connection" message goes away and the system is fine. if i leave the system alone (say overnight) the network connection messages don't appear and the system does not respond well. if i have task manager running i can see that Firefox is running and memory usage seems high, sometime swap file looks completely used. so to me this is either swap file config'd wrong or network issues after sleep.
i read your Video review post in Announcements (from 7/4/23). perhaps i need to change to change from swap file to swap partition as i am letting the system sleep overnight?