为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】: 8.0
【操作系统】:UOS
【CPU】: 鲲鹏
内存: 16GB
【问题描述】*:根据官方调优调大内存,结果OOM了,进程被杀死
这是错误日志
[4268924.357883] 0 pages hwpoisoned
[4268924.357884] Tasks state (memory values in pages):
[4268924.357885] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[4268924.357893] [ 452] 0 452 1815 733 393216 0 0 systemd-journal
[4268924.357895] [ 460] 0 460 336 61 393216 0 -1000 systemd-udevd
[4268924.357897] [ 609] 0 609 3384 240 458752 0 -1000 multipathd
[4268924.357900] [ 641] 0 641 132 74 393216 0 0 haveged
[4268924.357901] [ 642] 100 642 1412 51 393216 0 0 systemd-timesyn
[4268924.357903] [ 645] 0 645 3458 58 327680 0 0 rsyslogd
[4268924.357904] [ 646] 0 646 224 45 327680 0 0 cron
[4268924.357906] [ 647] 0 647 75 17 393216 0 0 alsactl
[4268924.357907] [ 648] 0 648 21187 1063 655360 0 0 360safed
[4268924.357909] [ 649] 0 649 6311 209 458752 0 0 udisksd
[4268924.357910] [ 650] 104 650 140 80 327680 0 -900 dbus-daemon
[4268924.357912] [ 653] 115 653 105 54 327680 0 0 avahi-daemon
[4268924.357913] [ 656] 0 656 210 51 393216 0 0 wpa_supplicant
[4268924.357914] [ 657] 0 657 199 5 327680 0 0 cat
[4268924.357916] [ 658] 0 658 27671 90 655360 0 0 dde-system-daem
[4268924.357917] [ 660] 0 660 199 5 393216 0 0 cat
[4268924.357919] [ 666] 0 666 260 49 393216 0 0 systemd-logind
[4268924.357921] [ 669] 0 669 4966 110 393216 0 0 ModemManager
[4268924.357922] [ 671] 0 671 3859 55 458752 0 0 accounts-daemon
[4268924.357924] [ 673] 115 673 105 22 327680 0 0 avahi-daemon
[4268924.357926] [ 684] 0 684 22523 0 655360 0 -900 deepin-sync-hel
[4268924.357927] [ 688] 0 688 3729 115 458752 0 0 polkitd
[4268924.357929] [ 699] 0 699 7792 116 458752 0 -900 backlight_helpe
[4268924.357931] [ 783] 0 783 9660 147 458752 0 0 NetworkManager
[4268924.357932] [ 839] 0 839 155 57 327680 0 0 dhclient
[4268924.357933] [ 898] 0 898 9670 167 393216 0 0 uos-license-age
[4268924.357935] [ 914] 0 914 209 75 327680 0 -1000 sshd
[4268924.357936] [ 915] 0 915 3705 80 393216 0 0 lightdm
[4268924.357938] [ 936] 0 936 106 42 393216 0 0 vm-agent
[4268924.357940] [ 938] 0 938 12199 401 458752 0 0 Xorg
[4268924.357941] [ 982] 0 982 9588 203 458752 0 0 vm-agent
[4268924.357943] [ 1148] 0 1148 2547 80 458752 0 0 lightdm
[4268924.357944] [ 1149] 0 1149 199 29 393216 0 0 agetty
[4268924.357946] [ 1153] 106 1153 294 98 393216 0 0 systemd
[4268924.357948] [ 1154] 106 1154 2665 98 393216 0 0 (sd-pam)
[4268924.357949] [ 1189] 106 1189 219 8 327680 0 0 deepin-greeter
[4268924.357951] [ 1194] 106 1194 219 7 327680 0 0 lightdm-deepin-
[4268924.357952] [ 1195] 106 1195 7763 94 458752 0 0 greeter-display
[4268924.357954] [ 1196] 106 1196 18974 1544 524288 0 0 lightdm-deepin-
[4268924.357955] [ 1204] 106 1204 119 66 393216 0 0 dbus-daemon
[4268924.357957] [ 1209] 106 1209 3838 80 458752 0 0 gvfsd
[4268924.357959] [ 1216] 106 1216 4950 47 393216 0 0 gvfsd-fuse
[4268924.357961] [ 1230] 0 1230 25200 134 655360 0 -900 deepin-authenti
[4268924.357962] [ 1247] 106 1247 15500 674 524288 0 0 onboard
[4268924.357964] [ 1262] 106 1262 4856 76 458752 0 0 at-spi-bus-laun
[4268924.357965] [ 1268] 106 1268 117 59 327680 0 0 dbus-daemon
[4268924.357967] [ 1270] 106 1270 2539 81 458752 0 0 at-spi2-registr
[4268924.357969] [ 1812] 1001 1812 3170 131 393216 0 0 dmap
[4268924.357970] [ 5901] 0 5901 1561 70 327680 0 0 lightdm
[4268924.357972] [ 7772] 1001 7772 447774 222935 3932160 0 0 dmserver
[4268924.357975] Out of memory: Kill process 7772 (dmserver) score 856 or sacrifice child
[4268924.358699] Killed process 7772 (dmserver) total-vm:28657536kB, anon-rss:14267840kB, file-rss:0kB, shmem-rss:0kB
[4268924.437496] oom_reaper: reaped process 7772 (dmserver), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
这是dm.ini配置
#memory pool and buffer
MAX_OS_MEMORY = 90 #Maximum Percent Of OS Memory
MEMORY_POOL = 200 #Memory Pool Size In Megabyte
MEMORY_N_POOLS = 1 #Number of Memory Pool
MEMORY_TARGET = 0 #Memory Share Pool Target Size In Megabyte
MEMORY_EXTENT_SIZE = 1 #Memory Extent Size In Megabyte
MEMORY_LEAK_CHECK = 0 #Memory Pool Leak Checking Flag
MEMORY_MAGIC_CHECK = 2 #Memory Pool Magic Checking Flag
MEMORY_BAK_POOL = 4 #Memory Backup Pool Size In Megabyte
HUGE_MEMORY_PERCENTAGE = 50 #Maximum percent of HUGE buffer that can be allocated to work as common memory pool
HUGE_BUFFER = 500 #Initial Huge Buffer Size In Megabytes
HUGE_BUFFER_POOLS = 4 #number of Huge buffer pools
BUFFER = 10000 #Initial System Buffer Size In Megabytes
BUFFER_POOLS = 200
dm.ini全配置