Freezes every time memory fills
Tofloor
poster avatar
douglaslara
deepin
2017-09-22 17:06
Author
Edited by douglaslara at 2017-9-22 09:12

Hello,
I have a problem that only appears in Deepin, in other distros that I have already used (Debian and Ubuntu) this does not occur.
Every time the ram arrives near 98% it freezes for some 5 seconds, sometimes more.

My PC is old but why it will only be in Deepin?
Follow machine specifications:

processor        : 0
vendor_id        : GenuineIntel
cpu family        : 6
model                : 23
model name        : Intel(R) Core(TM)2 Quad CPU    Q8400  @ 2.66GHz


description: Motherboard
       product: P5QL-ASUS-SE
       vendor: ASUSTeK Computer INC.
-memory
          description: System Memory
          physical id: 2c
          slot: System board or motherboard
          size: 4GiB
        *-bank:0
             description: DIMM DDR2 Synchronous 800 MHz (1,2 ns)
             product: PartNum0
             vendor: Manufacturer0
             physical id: 0
             serial: SerNum0
             slot: DIMM A1
             size: 2GiB
             width: 64 bits
             clock: 800MHz (1.2ns)
        *-bank:1
             description: DIMM DDR2 Synchronous 800 MHz (1,2 ns)
             product: PartNum2
             vendor: Manufacturer2
             physical id: 1
             serial: SerNum2
             slot: DIMM B1
             size: 2GiB
             width: 64 bits
             clock: 800MHz (1.2ns)
-display
                description: VGA compatible controller
                product: RV770 [Radeon HD 4870]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 00
                width: 64 bits
                clock: 33MHz



Reply Favorite View the author
All Replies
duanyao
deepin
2017-09-22 17:30
#1
本帖最后由 duanyao 于 2017-9-22 09:41 编辑

You can try earlyoom:  sudo apt install earlyoom
Source & document are here: https://github.com/rfjakob/earlyoom

I'm sure this is not a deepin specific issue:

https://superuser.com/questions/ ... vent-earlier/708430
https://unix.stackexchange.com/q ... -on-forced-swapping
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/159356
https://askubuntu.com/questions/ ... -disk-cache-problem

If you can read Chinese, you may read this thread too:
https://bbs.deepin.org/post/141744
Reply View the author
raphaelzhang
deepin
2017-09-22 17:44
#2
Do you have any swap space? If not, you can try add some swap space. Refer to: https://wiki.archlinux.org/index.php/Swap
Reply View the author
douglaslara
deepin
2017-09-25 12:45
#3
Yes my friend, I have a swap space of 9 gb.
Another important fact is the time ago I was using the deepin in a lenovo notebook and the same problems occurred, is it that I am the problem? rsrs
Reply View the author
bobo
deepin
2017-09-25 13:37
#4
Try to add 4GB more memory if you have an extra memory slot in the laptop.

In addition, when does you pc freeze? for example, running chrome, listening music etc?
Reply View the author
melodyzou
deepin
2017-09-25 23:27
#5
Could you execute command "sudo deepin-feedback-fil" to get log and then send to us?
Reply View the author
douglaslara
deepin
2017-09-26 17:59
#6
https://bbs.deepin.org/post/145857
Try to add 4GB more memory if you have an extra memory slot in the laptop.

In addition, when does  ...

I no longer have easy ram memory, but anyway with more memory will just take longer to occur.
On that same machine I have Windows 7 installed and it runs very smoothly.
I have already tried Ubuntu and Debian both worked very well without problems.

In all systems my use is very similar:
Google Chrome, music (Spotify or Google Music), Google Drive, Google spreadsheets, Google Docs, Sublime ...

The problem seems to occur when I super lotus to memory in a short time:
Example if I turn on the machine open Google Chrome and start opening tabs when memory fills it freezes for about 15 ~ 20 seconds.
Reply View the author
douglaslara
deepin
2017-09-26 18:02
#7
https://bbs.deepin.org/post/145857
Could you execute command "sudo deepin-feedback-fil" to get log and then send to us?

Fantastic, I love it
It follows, but the "sudo deepin-feedback-fil" did not work so I used the "sudo deepin-feedback"

I will be aware and when it occurs I will mark the schedule and send one with the logs and times that have occurred

Thanks
Reply View the author
melodyzou
deepin
2017-09-26 22:06
#8
https://bbs.deepin.org/user/32991 please help check this issue.
Reply View the author
yangbo
deepin
2017-09-26 22:21
#9
Debian only needs ~700M memory to run, my machine is 2G, and it cannot even run deepin

deepin eats more memory than debian...

As I found in the log, oom happens..

When this happens, could you please top to see which process uses a lot of memory
Reply View the author
douglaslara
deepin
2017-09-27 15:05
#10
https://bbs.deepin.org/post/145857
Debian only needs ~700M memory to run, my machine is 2G, and it cannot even run deepin

deepin eats  ...

I understand that it is heavier (I even use it without all the visual effects) but should not stop the application that is demanding a lot?
Reply View the author