Michael Hennebry
2019-Aug-04 22:42 UTC
[CentOS] browsers slowing Centos 7 installation to a crawl
On Sun, 4 Aug 2019, Jonathan Billings wrote:> Are you sure you don?t have other processes or users running on the system? It only happens when you have a network connection? It might also be swapping heavily, check to see how much RAM you have. Check the output of ?free?.Pretty sure. I rebooted this morning. top - 17:32:20 up 15:47, 6 users, load average: 1.12, 2.55, 1.56 Tasks: 238 total, 3 running, 235 sleeping, 0 stopped, 0 zombie %Cpu(s): 21.5 us, 3.5 sy, 0.0 ni, 74.1 id, 0.8 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 2020144 total, 80436 free, 1416824 used, 522884 buff/cache KiB Swap: 4883724 total, 3887864 free, 995860 used. 149092 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 27121 hennebry 20 0 1636444 218240 49920 R 29.2 10.8 1:31.01 chromium-b+ 27132 hennebry 20 0 1673932 213652 55576 S 7.3 10.6 1:01.19 chromium-b+ 26614 hennebry 20 0 1871712 104840 41084 S 3.7 5.2 0:26.78 chromium-b+ 27186 hennebry 20 0 1495336 109988 47176 S 3.3 5.4 0:16.55 chromium-b+ 27423 hennebry 20 0 1431484 87076 45928 S 2.3 4.3 0:08.33 chromium-b+ 26647 hennebry 20 0 2685156 188444 27308 S 1.0 9.3 2:19.84 chromium-b+ 5962 hennebry 20 0 3617336 111096 19404 S 0.7 5.5 2:25.24 gnome-shell 27174 hennebry 20 0 1481508 114332 48276 S 0.7 5.7 0:07.88 chromium-b+ 27257 hennebry 20 0 1439148 96572 52020 S 0.7 4.8 0:05.98 chromium-b+ 3483 root 20 0 374444 20432 13732 S 0.3 1.0 0:42.88 X 23824 hennebry 20 0 753956 18272 6488 S 0.3 0.9 0:13.63 gnome-term+ 1 root 20 0 128404 4376 2484 S 0.0 0.2 0:07.65 systemd Usually when I'm having trouble, there are at least two D's. Of course, 'tain't as crawly as it often gets. Mem: 2020144 1454904 76140 204764 489100 135004 Swap: 4883724 978480 3905244> Look at the syslogs/journal when you?re logged in (in a terminal, run ?sudo journalctl -xfl?). You will see a lot of stuff printed, but it might give you an idea of what?s going on.I think this qualifies as interesting. I have rather a lot of it: Aug 04 17:28:20 localhost.localdomain chromium-browser.desktop[26614]: [26647:26728:0804/172820.614816:ERROR:latency_info.cc(149)] Surface::TakeLatencyInfoFromFrame, LatencyInfo vector size 102 is too big. I found it with google, but all the entries froze chromium. -- Michael hennebry at web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards
On 5/08/19 10:42 AM, Michael Hennebry wrote:> Mem:??????? 2020144???? 1454904?????? 76140????? 204764????? 489100 > 135004 > Swap:?????? 4883724????? 978480???? 3905244free -h is generally more readable, but... It's RAM. You basically have a total of 2G ram on the system, you have less than 500M available and are into swap by nearly 1G, so you're swapping heavily. 2G is enough for a minimal install but browsers such as firefox and chrome can easily use a lot of memory fast and trying to run one on a 2G system while doing an install at the same time will get you swapping and slow the system to a crawl. Peter
Jonathan Billings
2019-Aug-05 11:20 UTC
[CentOS] browsers slowing Centos 7 installation to a crawl
> On Aug 5, 2019, at 4:12 AM, Peter <peter at pajamian.dhs.org> wrote: > > On 5/08/19 10:42 AM, Michael Hennebry wrote: >> Mem: 2020144 1454904 76140 204764 489100 135004 >> Swap: 4883724 978480 3905244 > > free -h is generally more readable, but... > > It's RAM. You basically have a total of 2G ram on the system, you have less than 500M available and are into swap by nearly 1G, so you're swapping heavily. 2G is enough for a minimal install but browsers such as firefox and chrome can easily use a lot of memory fast and trying to run one on a 2G system while doing an install at the same time will get you swapping and slow the system to a crawl.Agreed, 2G of RAM for graphical logins and web browsers is not nearly enough. I was using 4G on a system running C7 and it was unusable, I can?t imagine 2G. -- Jonathan Billings <billings at negate.org>
Michael Hennebry
2019-Aug-05 15:44 UTC
[CentOS] browsers slowing Centos 7 installation to a crawl
On Mon, 5 Aug 2019, Peter wrote:> On 5/08/19 10:42 AM, Michael Hennebry wrote: >> Mem:??????? 2020144???? 1454904?????? 76140????? 204764????? 489100 >> 135004 >> Swap:?????? 4883724????? 978480???? 3905244 > > free -h is generally more readable, but... > > It's RAM. You basically have a total of 2G ram on the system, you have > less than 500M available and are into swap by nearly 1G, so you're > swapping heavily. 2G is enough for a minimal install but browsers such > as firefox and chrome can easily use a lot of memory fast and trying to > run one on a 2G system while doing an install at the same time will get > you swapping and slow the system to a crawl.To be clear, by "Centos 7 installation", I meant a PC on which Centos 7 was installed. In any case, Centos 7 has not always been this slow. Presumably something has changed. I've been living with this for several months, but not forever. I can run compilers and stuff without an internet connection, so I could get some work done. To get that output, I had free running in a loop and waited for the freeze before copy and pasting. I wasn't surprised by the result. Occasionally top shows kswap0 (I think) in a D state. -- Michael hennebry at web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards