/srv/irclogs.ubuntu.com/2021/09/19/#xubuntu.txt

stevecamHey, is it possible to be able to follow notifications I receive on Xubuntu11:54
omkar45Hello Alll13:30
omkar45I just installed xubuntu on my old macbook pro which is from 2009 or 2010.13:30
omkar45I fixed the wifi issue there and rebooted the os is stuck right at booting any idea what could have caused this?13:31
omkar45I installed xubuntu 20.04(LTS) on the macbook/13:32
=== twinsenbrim is now known as twinsenaxe
=== twinsenaxe is now known as twinsen
=== twinsen is now known as twinsenbrim
cczhello21:45
cczswitching from ubuntu to xubuntu now21:45
cczto fix some issues with the system21:45
cczand... some persisted21:46
gnrpccz: Like...?21:46
cczall the system get stuck when i download something big (like a 20GB game)21:46
cczi have a fast broadband and a ssd21:47
gnrpwhat does it mean that the system gets stuck? It is crashing, or getting very slow?21:47
cczlike almost all the operations freezes, if there is a video playing and a music running in spotify, both stop, the clock stops...21:48
cczthe only thing that works is the cursor21:48
cczbut the download keeps running in the background21:48
gnrphow do you know the download is running?21:49
gnrpwhat program do you use for downloading?21:49
gnrphow much free space do you have on your hdd?21:49
cczit could be a download on firefox or a game on steam21:49
gnrpbtw, this is not a xubuntu thing, you might get as well helped in any linux or ubuntu channel, I think^^21:49
gnrphow do you know the download is still running?21:49
cczyes, good idea, hehe21:49
gnrpdo you see the hard drive working?21:49
cczin 1 minute more or less, the system works again21:50
cczand the download gets completed or sometimes corrupted21:50
cczi don't know if its a bottleneck between the internet, ssd, memory and configurations in the system21:50
gnrpsounds to me as if your system is swapping and that freezes everything?21:50
gnrphow much free space do you have?21:50
gnrpand how is the usage of RAM? If you let a terminal with the program htop running inside, on the top you can see how much RAM is being used21:51
cczlemme see...21:51
ccz70GB21:51
cczof free space in the ssd21:51
cczthis time when I downloaded CS: started downloading, the ssd was writing in 60MB/s and the internet following it. 21:52
cczafter like 30s the pc stuck21:52
cczthe graph suddenly gets to 0MB/s21:53
cczsome seconds and it grows again, it's like a cycle21:53
ccz70GB of 120GB on the SSD*21:53
gnrpwhere do you see the graph of the network usage?21:54
cczin case of steam, in the downloads panel21:54
gnrpcan you at the same point look at how much the hdd is writing?21:54
cczyes21:54
gnrpthat would be interesting21:55
cczdo you want a screenshot?21:55
cczin imgur21:55
gnrpI mean, it is more interesting in terms of time21:55
cczhmm21:55
gnrpmy suspicion is that you download stuff which is not written to the HDD, and then at some point it is all flushed21:55
gnrpto confirm that, maybe try something like (entering into a terminal):              while true; do echo "sync!"; sync; sleep 1; done21:56
cczhmm21:56
gnrpthis will perform a flushing of all pending filesystem operations every second21:56
gnrpwell, until it is done21:56
gnrpso let that run in a terminal while the download is running and check what is happening.21:57
cczi'll try... abou the CPU, I saw that it gets 100%, gets stuck, then drops to 60% and goes up gain21:57
cczi'll try with other game here21:58
cczthanks21:58
cczok I did it22:01
cczI downloaded 700MB22:01
cczwith this sync! printing in the terminal...22:01
cczin the middle of the download the "sync!" stop printing for a time22:02
cczi thing 30s22:02
cczthink*22:02
gnrpyes, that is right22:02
cczthen the download finished22:02
cczand the sync is still printing lmao22:02
gnrpit will perform that command until everything which was supposed o be written in that moment has been written22:02
gnrppress Ctrl+C in the terminal to close it22:02
cczright22:02
gnrpso did your computer freeze now?22:03
cczthis time no...22:03
ccznothing critical22:03
gnrpI got to go to bed now, but I guess with this you can go on searching for help.22:03
ccz(in the CS time, after I get back to the computer, "Ubuntu 20.4 ... is not responding"22:03
gnrpThe issue is that for some reason your computer buffers all the downloaded data22:04
cczvery thank you22:04
gnrpand then your ram is full and only then it starts writing to the disk22:04
cczit does make sense...22:04
gnrpI had this behavior with my systems as well with external drives, but never cared too much to actually fix it22:04
gnrpit does not really make sense, but that's how I suppose it is^^22:04
gnrpthe OS should start writing as soon as it can22:05
gnrpanyway, I gtg22:05
gnrpgn822:05
cczthanks22:05
gnrpif you find a solution, I'd also be curious22:05
cczreally helped22:05
gnrpprobably changing the scheduler might do the trick?22:05
cczthen i got back here22:05
cczin #xubuntu22:05
cczif i get the solution22:05
gnrpthanks!22:05
gnrpand gn822:05
cczgood night22:05

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!