| systemdlete | Can I borrow your brain? Just sometimes, ok? | 00:26 |
|---|---|---|
| systemdlete | actually, I'm starting to put together my own trouble-shooting guide for many issues I run into frequently. | 00:27 |
| systemdlete | So I might not need it. | 00:27 |
| hacksenwerk | My SWAP stopped working. I have 2,9GB RAM here and normally it starts swapping when 2,3 RAM is in use. | 16:22 |
| hacksenwerk | I had two freezes lately. | 16:22 |
| hacksenwerk | Weird thing is, that yesterday it swapped normally as always. | 16:23 |
| cousin_luigi | hacksenwerk: What manner of medium is it? | 16:24 |
| hacksenwerk | Since then tehre was no change to the system or something (checked /var/log/apt/history.log if unattend-upgrades did somehting, but it did not). | 16:24 |
| hacksenwerk | cousin_luigi: ? | 16:25 |
| hacksenwerk | cousin_luigi: What do you mean? | 16:26 |
| cousin_luigi | hacksenwerk: Is it a SSD, or a regular hard drive? | 16:26 |
| hacksenwerk | SSD | 16:26 |
| cousin_luigi | Just wondering if it might be wear. | 16:26 |
| hacksenwerk | hm... | 16:26 |
| hacksenwerk | its pretty full | 16:26 |
| hacksenwerk | but the swap has its own partition | 16:26 |
| hacksenwerk | cousin_luigi: to be honest I thought something similiar | 16:27 |
| hacksenwerk | But wouldn't then anything else be very slow or something, like opening files etc.? | 16:27 |
| cousin_luigi | hacksenwerk: Unsure. I would try a smart test first, can't remember what the tool is called on nvme. | 16:28 |
| hacksenwerk | Wear leveling count is 36 | 16:29 |
| hacksenwerk | cousin_luigi: smartmoont tolls should support ssd | 16:29 |
| hacksenwerk | I think since some years | 16:29 |
| hacksenwerk | cousin_luigi: I have no nvme, its SATA | 16:31 |
| cousin_luigi | ah | 16:32 |
| cousin_luigi | hacksenwerk: Does it mean it's a bit long in the tooth? | 16:33 |
| hacksenwerk | :) And what does that mean? | 16:33 |
| fsmithred | old | 16:33 |
| hacksenwerk | Because of the WL 36? | 16:34 |
| hacksenwerk | Or because of SATA. | 16:34 |
| fsmithred | just defining an idiomatic expression | 16:34 |
| hacksenwerk | Its a Samsung 860 so no. | 16:34 |
| hacksenwerk | Samsung 806 EVO | 16:34 |
| hacksenwerk | Bought it 2021 I think | 16:34 |
| fsmithred | then it should last longer than my crucial cheapo ssd which is still working after six years | 16:35 |
| hacksenwerk | *860 not 806 | 16:35 |
| cousin_luigi | ok, well it also depends on how many hours it runs | 16:35 |
| cousin_luigi | But you should really run a test to be sure | 16:35 |
| hacksenwerk | power on hours is over 13000 | 16:35 |
| hacksenwerk | cousin_luigi: ok | 16:35 |
| fsmithred | smartctl -a /dev/sdX | 16:35 |
| hacksenwerk | fsmithred: yup | 16:35 |
| fsmithred | ok, and you know the test options too, I guess | 16:36 |
| fsmithred | or know where to find it which is what I usually have to do | 16:36 |
| hacksenwerk | yes | 16:36 |
| hacksenwerk | I use smartctl since years | 16:37 |
| hacksenwerk | weird.. now it uses swap and I opened htop again and the actual size it uses and the maximum where the same, but changing dznmically, like 230/230, 420/420... maybe some bug? | 16:38 |
| hacksenwerk | *dynamically | 16:38 |
| cousin_luigi | I don't want to be a bearer of ill omens, but perhaps backing up your important data might be a wise step at this point. | 16:45 |
| hacksenwerk | cousin_luigi: I do multiple backups each week. But Thanks. ;) | 16:46 |
| hacksenwerk | Or over the week. | 16:46 |
| hacksenwerk | cousin_luigi: But even if a ssd should be eol, it still should be readable. | 16:47 |
| hacksenwerk | normally... | 16:47 |
| hacksenwerk | You can not just write to it anymore. | 16:47 |
| hacksenwerk | cousin_luigi: smartctl has this: update-smart-drivedb | 16:49 |
| hacksenwerk | You can update the database with it. | 16:49 |
| cousin_luigi | /usr/sbin/update-smart-drivedb: drivedb.h: download failed (curl: exit 23) | 16:50 |
| hacksenwerk | oh! :o | 16:50 |
| hacksenwerk | for me that command works | 16:50 |
| hacksenwerk | man curl: 23 Write error. Curl could not write data to a local filesystem or similar. | 16:51 |
| cousin_luigi | oh right, it's read-only | 16:51 |
| hacksenwerk | :) | 16:51 |
| cousin_luigi | Device is: Not in smartctl database 7.3/5671 | 16:52 |
| cousin_luigi | How do I submit it? | 16:52 |
| hacksenwerk | I dont know | 16:53 |
| cousin_luigi | will investigate later | 16:54 |
| hacksenwerk | cousin_luigi: Read from here on: https://www.smartmontools.org/wiki/FAQ#SmartmontoolsDatabase | 16:59 |
| hacksenwerk | below there's also a sdection for scsi/sas, nvme and adding devices only to your local database. | 17:00 |
| hacksenwerk | ok short offline test is: Short offline Completed without error | 17:01 |
| hacksenwerk | I'll do the long one now. | 17:01 |
| rkta | I configured my mail system to send mail to my actual email via a smarthost. root is aliased to my user and my user is aliased to my (remote) email address. I wonder what happens if something breaks my email setup on this machine and email can't be send via the smarthost. Will I get notified in some way? | 17:45 |
| hacksenwerk | # 1 Extended offline Completed without error | 19:11 |
| hacksenwerk | So... Where does my SWAP issue came from? | 19:11 |
| djph | hacksenwerk: what's the exact "issue"? that it didn't swap? | 19:14 |
| cousin_luigi | hacksenwerk: I would re-format that partition and see if that anything changes. | 19:19 |
| cousin_luigi | hacksenwerk: Maybe even zero-fill it first. | 19:20 |
| cousin_luigi | Although, with SSDs... | 19:20 |
| cousin_luigi | Who knows if it would actually be written to it. | 19:20 |
| CueXXIII | hacksenwerk: maybe a program was mlock()ing it's pages, those won't get swapped out. also check /proc/swaps if the swap is activated/used and /proc/sys/vm/swappines how eager your kernel would start swapping | 19:29 |
| hacksenwerk | cat /proc/swaps /dev/dm-2 partition 999420 0 -2 | 19:36 |
| hacksenwerk | cat /proc/sys/vm/swappiness 60 | 19:36 |
| hacksenwerk | all default | 19:36 |
| hacksenwerk | cousin_luigi: filling flash storage is not a good idea, you can write them to death | 19:37 |
| hacksenwerk | or probably __will__ | 19:37 |
| cousin_luigi | hacksenwerk: Just once... | 19:37 |
| hacksenwerk | The weird thing is that it worked yesterday, then today over some time not and now it works again (before running the tests)... | 19:38 |
| hacksenwerk | I think more of some misbehaviour by the os then by the ssd | 19:39 |
| hacksenwerk | 19:29 < CueXXIII> hacksenwerk: maybe a program was mlock()ing it's pages, those won't get swapped out. | 19:40 |
| hacksenwerk | CueXXIII: ^ What does that mean? | 19:40 |
| CueXXIII | a program can set it's memory to not-swappable.but unless it runs at root that is only a small amount | 19:41 |
| hacksenwerk | CueXXIII: ok thanks for that info. But yeah, that's probably not the case here. | 19:43 |
| hacksenwerk | Computers do weird things... I should have started a list of them while first time I noticed them... | 19:44 |
| hacksenwerk | There were some issues in the last years I discovered, then I investigate them and then they were gone without me getting inventing... | 19:45 |
| hacksenwerk | creepy | 19:45 |
| davesp | hacksenwerk: You "think more of some misbehaviour by the os then by the ssd". Do you have another OS with which to test the SSD? If not, do you have another storage device (even an old "spinner") to which you could "dd" your data and test with the OS? | 20:03 |
| hacksenwerk | sure but thats to much effort for me atm xD | 20:09 |
| hacksenwerk | davesp: ^ | 20:09 |
| metala | has anyone worked with wwan0 (4G LTE modem) from the console. I know that NM can set it up and make it work, but I am trying to get rid of nm. | 22:40 |
| metala | after a short research and failing to properly use qmicli(1) I've decided to keep NM, just in case.. | 23:02 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!