LowMemoryKiller正在杀死系统应用程序的负载并迫使用户死亡,但“免费”表示有足够的​​内存


14

一段时间以来,我遇到了一个问题,关键的系统进程被LowmemoryKiller / OOM强制杀死。

在获得帮助之后,我添加了一个500 MB的交换文件,该文件在几天前就可以正常运行,以尝试减少内存压力和lowmemkiller触发器(此处提供线程详细信息)。的输出free显示出额外的500 MB空间,我认为这足以防止任何低内存问题强行杀死系统进程。

但这并没有帮助。突然,我突然又突然得到了一个相当恶毒的“所有东西都被LowMemKiller杀死”,在短短100秒内创建了大约6个核心转储文件,随后用户空间崩溃,内核(dmesg)日志表明该文件很低内存问题是唯一报告的问题,即使这次有大量交换可用并且被系统识别(请参阅free下文)。

这是重启用户空间dmesg >dmesg.txt后不久的相关部分init。在日志的第一部分,经过几秒钟的长时间,什么也没有发生。当用户空间在2105-2208的100秒内被杀死时,没有任何事前发生,也没有任何原因的提示。

手机已开启

<6>[001992.334927,0] : Report pwrkey press event
<6>[001992.386743,0] mdss_dsi_on+: ctrl=eaec8010 ndx=0
<6>[001992.424178,0] mdss_dsi_on-: 
<6>[001992.424193,0] mdss_dsi_panel_on+: ctrl=eaec8010 ndx=0
<6>[001992.428789,0] : Report pwrkey release event
<6>[001993.730749,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[001993.731405,0] : mdss_dsi_panel_on-. Pwr_mode(0x0A) = 0x9c
<6>[001993.831117,0] qcom,leds-qpnp leds-qpnp-eb62f600: backlight on

40秒内无任何记录。然后有几次突发的低内存破坏,被大约5-20秒的短暂间隔隔开

<6>[002033.125104,1] lowmemorykiller: Killing 'system:ui' (8151), adj 1000, to free 40656kB on behalf of 'kswapd0' (81) because cache 122600kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3200kB above reserved
<6>[002034.172404,2] lowmemorykiller: Killing 'changelogviewer' (7238), adj 1000, to free 32652kB on behalf of 'kswapd0' (81) because cache 121376kB is below limit 122880kB for oom_score_adj 1000. Free memory is 6776kB above reserved
<6>[002035.895963,0] : Report pwrkey press event
<6>[002035.307927,1] lowmemorykiller: Killing 'droid.deskclock' (28714), adj 1000, to free 31756kB on behalf of 'kswapd0' (81) because cache 120252kB is below limit 122880kB for oom_score_adj 1000. Free memory is 5532kB above reserved
<6>[002036.387002,0] : Report pwrkey release event
<6>[002036.478425,0] lowmemorykiller: Killing 'com.ebay.mobile' (26933), adj 1000, to free 29016kB on behalf of 'kswapd0' (81) because cache 120268kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3864kB above reserved
<6>[002037.923711,2] lowmemorykiller: Killing 'omm.timeservice' (6682), adj 1000, to free 24544kB on behalf of 'kswapd0' (81) because cache 112140kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3072kB above reserved
<6>[002037.070531,1] lowmemorykiller: Killing 'ndroid.settings' (5632), adj 1000, to free 24344kB on behalf of 'kswapd0' (81) because cache 108888kB is below limit 122880kB for oom_score_adj 1000. Free memory is 5484kB above reserved
<6>[002037.617332,1] lowmemorykiller: Killing 'd.process.media' (5610), adj 1000, to free 23552kB on behalf of 'kswapd0' (81) because cache 109164kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3964kB above reserved
<6>[002038.335908,0] lowmemorykiller: Killing 'enmod.lockclock' (28743), adj 1000, to free 21712kB on behalf of 'kswapd0' (81) because cache 107296kB is below limit 122880kB for oom_score_adj 1000. Free memory is 4616kB above reserved
<6>[002039.245833,1] lowmemorykiller: Killing 'ainfire.supersu' (8025), adj 764, to free 32380kB on behalf of 'kswapd0' (81) because cache 98160kB is below limit 98304kB for oom_score_adj 529. Free memory is 7484kB above reserved
<6>[002040.109486,0] lowmemorykiller: Killing 'd.process.acore' (8429), adj 647, to free 34448kB on behalf of 'kswapd0' (81) because cache 97952kB is below limit 98304kB for oom_score_adj 529. Free memory is 8732kB above reserved
<6>[002043.386164,2] lowmemorykiller: Killing 'putmethod.latin' (14570), adj 764, to free 20732kB on behalf of 'kswapd0' (81) because cache 97896kB is below limit 98304kB for oom_score_adj 529. Free memory is 3564kB above reserved
<6>[002047.012564,0] tapan_codec_chargepump_vdd_event: event = 1
<6>[002048.999115,2] lowmemorykiller: Killing 'd.process.media' (8782), adj 647, to free 33804kB on behalf of 'kswapd0' (81) because cache 95364kB is below limit 98304kB for oom_score_adj 529. Free memory is 4556kB above reserved
<6>[002049.385765,0] lowmemorykiller: Killing 'com.android.mms' (370), adj 529, to free 42768kB on behalf of 'kswapd0' (81) because cache 96588kB is below limit 98304kB for oom_score_adj 529. Free memory is 5264kB above reserved
<6>[002051.397263,0] init: waitpid returned pid 30519, status = 00000000
<6>[002052.710665,1] tapan_codec_chargepump_vdd_event: event = 8
<6>[002054.259864,2] lowmemorykiller: Killing 'd.process.media' (8882), adj 647, to free 33620kB on behalf of 'kswapd0' (81) because cache 93904kB is below limit 98304kB for oom_score_adj 529. Free memory is 7752kB above reserved
<6>[002055.100549,3] lowmemorykiller: Killing 'ndroid.settings' (8939), adj 764, to free 34900kB on behalf of 'kswapd0' (81) because cache 96324kB is below limit 98304kB for oom_score_adj 529. Free memory is 3920kB above reserved
<6>[002056.176783,2] lowmemorykiller: Killing 'd.process.acore' (8930), adj 764, to free 35656kB on behalf of 'kswapd0' (81) because cache 89744kB is below limit 98304kB for oom_score_adj 529. Free memory is 3688kB above reserved
<6>[002064.446038,2] lowmemorykiller: Killing 'd.process.media' (9044), adj 764, to free 33580kB on behalf of 'kswapd0' (81) because cache 90032kB is below limit 98304kB for oom_score_adj 529. Free memory is 14876kB above reserved
<6>[002083.199303,1] lowmemorykiller: Killing 'enmod.lockclock' (8974), adj 647, to free 31236kB on behalf of 'kswapd0' (81) because cache 98132kB is below limit 98304kB for oom_score_adj 529. Free memory is 3308kB above reserved
<6>[002084.892508,1] lowmemorykiller: Killing 'ndroid.settings' (9068), adj 529, to free 53876kB on behalf of 'kswapd0' (81) because cache 95092kB is below limit 98304kB for oom_score_adj 529. Free memory is 5380kB above reserved
<6>[002105.187792,0] lowmemorykiller: Killing 'enmod.trebuchet' (20303), adj 352, to free 33356kB on behalf of 'kswapd0' (81) because cache 80972kB is below limit 86016kB for oom_score_adj 176. Free memory is 3004kB above reserved
<6>[002106.510875,0] lowmemorykiller: Killing 'com.android.mms' (8906), adj 470, to free 39524kB on behalf of 'kswapd0' (81) because cache 80488kB is below limit 86016kB for oom_score_adj 176. Free memory is 16500kB above reserved
<6>[002111.395568,1] lowmemorykiller: Killing 'd.process.media' (9718), adj 529, to free 33576kB on behalf of 'kswapd0' (81) because cache 70448kB is below limit 73728kB for oom_score_adj 117. Free memory is 3484kB above reserved
<6>[002112.755785,1] lowmemorykiller: Killing 'ndroid.settings' (9766), adj 529, to free 34872kB on behalf of 'kswapd0' (81) because cache 69160kB is below limit 73728kB for oom_score_adj 117. Free memory is 3792kB above reserved
<6>[002112.892462,1] lowmemorykiller: Killing 'com.android.mms' (9736), adj 470, to free 35356kB on behalf of 'kswapd0' (81) because cache 68408kB is below limit 73728kB for oom_score_adj 117. Free memory is 7628kB above reserved
<6>[002112.906543,3] binder: release 9736:9755 transaction 7689487 out, still active
<6>[002112.386885,0] lowmemorykiller: Killing 'd.process.acore' (9757), adj 647, to free 34860kB on behalf of 'kswapd0' (81) because cache 69340kB is below limit 73728kB for oom_score_adj 117. Free memory is 4092kB above reserved
<6>[002113.952913,0] lowmemorykiller: Killing 'enmod.lockclock' (9808), adj 647, to free 31048kB on behalf of 'kswapd0' (81) because cache 73224kB is below limit 73728kB for oom_score_adj 117. Free memory is 3852kB above reserved
<6>[002114.465873,3] lowmemorykiller: Killing 'd.process.media' (9872), adj 529, to free 33528kB on behalf of 'kswapd0' (81) because cache 67308kB is below limit 73728kB for oom_score_adj 117. Free memory is 3540kB above reserved
<6>[002115.944547,3] lowmemorykiller: Killing 'd.process.acore' (9920), adj 647, to free 34788kB on behalf of 'kswapd0' (81) because cache 62112kB is below limit 73728kB for oom_score_adj 117. Free memory is 3876kB above reserved
<6>[002115.463421,3] lowmemorykiller: Killing 'ndroid.settings' (9912), adj 647, to free 34804kB on behalf of 'kswapd0' (81) because cache 61372kB is below limit 61440kB for oom_score_adj 58. Free memory is 3444kB above reserved
<6>[002116.625036,3] lowmemorykiller: Killing 'enmod.lockclock' (9947), adj 764, to free 31128kB on behalf of 'kswapd0' (81) because cache 60288kB is below limit 61440kB for oom_score_adj 58. Free memory is 3540kB above reserved
<6>[002116.660223,3] lowmemorykiller: Killing 'd.process.acore' (9960), adj 764, to free 34912kB on behalf of 'kswapd0' (81) because cache 59824kB is below limit 61440kB for oom_score_adj 58. Free memory is 3560kB above reserved
<6>[002131.486032,2] lowmemorykiller: Killing 'd.process.acore' (10031), adj 764, to free 35472kB on behalf of 'kswapd0' (81) because cache 67868kB is below limit 73728kB for oom_score_adj 117. Free memory is 21432kB above reserved
<6>[002132.304917,0] lowmemorykiller: Killing 'd.process.media' (10018), adj 1000, to free 33728kB on behalf of 'Compositor' (8575) because cache 100976kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3492kB above reserved
<6>[002132.374198,1] lowmemorykiller: Killing 'ndroid.settings' (10049), adj 764, to free 34792kB on behalf of 'kswapd0' (81) because cache 64912kB is below limit 73728kB for oom_score_adj 117. Free memory is 3280kB above reserved
<6>[002132.435346,1] lowmemorykiller: Killing 'enmod.lockclock' (10067), adj 647, to free 30996kB on behalf of 'Compositor' (8575) because cache 97520kB is below limit 98304kB for oom_score_adj 529. Free memory is 3364kB above reserved
<6>[002139.202616,3] lowmemorykiller: Killing 'com.android.mms' (9890), adj 470, to free 38940kB on behalf of 'kswapd0' (81) because cache 77428kB is below limit 86016kB for oom_score_adj 176. Free memory is 3352kB above reserved
<6>[002144.987619,0] lowmemorykiller: Killing 'd.process.media' (10354), adj 529, to free 33492kB on behalf of 'kswapd0' (81) because cache 70876kB is below limit 73728kB for oom_score_adj 117. Free memory is 3952kB above reserved
<6>[002145.868772,0] lowmemorykiller: Killing 'ndroid.settings' (10410), adj 647, to free 34748kB on behalf of 'kswapd0' (81) because cache 70496kB is below limit 73728kB for oom_score_adj 117. Free memory is 9208kB above reserved
<6>[002145.500683,0] lowmemorykiller: Killing 'enmod.lockclock' (10439), adj 647, to free 30964kB on behalf of 'kswapd0' (81) because cache 69148kB is below limit 73728kB for oom_score_adj 117. Free memory is 4848kB above reserved
<6>[002146.860274,2] lowmemorykiller: Killing 'd.process.acore' (10393), adj 764, to free 35316kB on behalf of 'kswapd0' (81) because cache 66996kB is below limit 73728kB for oom_score_adj 117. Free memory is 8484kB above reserved
<6>[002146.883536,0] binder: undelivered transaction 7710205
<6>[002147.021644,1] lowmemorykiller: Killing 'd.process.acore' (10507), adj 764, to free 35104kB on behalf of 'kswapd0' (81) because cache 66948kB is below limit 73728kB for oom_score_adj 117. Free memory is 8344kB above reserved
<6>[002147.496709,0] lowmemorykiller: Killing 'd.process.media' (10495), adj 764, to free 33760kB on behalf of 'kswapd0' (81) because cache 65184kB is below limit 73728kB for oom_score_adj 117. Free memory is 8972kB above reserved
<6>[002166.712750,0] lowmemorykiller: Killing 'ndroid.settings' (10529), adj 764, to free 34780kB on behalf of 'kswapd0' (81) because cache 74940kB is below limit 86016kB for oom_score_adj 176. Free memory is 4768kB above reserved
<6>[002166.041116,1] lowmemorykiller: Killing 'enmod.lockclock' (10545), adj 647, to free 30984kB on behalf of 'kswapd0' (81) because cache 76512kB is below limit 86016kB for oom_score_adj 176. Free memory is 4996kB above reserved
<6>[002183.893105,1] lowmemorykiller: Killing 'com.ebay.mobile' (10668), adj 529, to free 46620kB on behalf of 'kswapd0' (81) because cache 71236kB is below limit 73728kB for oom_score_adj 117. Free memory is 4588kB above reserved
<6>[002183.175603,1] lowmemorykiller: Killing 'com.android.mms' (10372), adj 294, to free 39168kB on behalf of 'kswapd0' (81) because cache 69516kB is below limit 73728kB for oom_score_adj 117. Free memory is 4568kB above reserved
<6>[002184.262462,1] lowmemorykiller: Killing 'putmethod.latin' (20205), adj 117, to free 31552kB on behalf of 'kswapd0' (81) because cache 64740kB is below limit 73728kB for oom_score_adj 117. Free memory is 4528kB above reserved
<6>[002185.901421,1] lowmemorykiller: Killing 'pal.androidterm' (20591), adj 117, to free 22780kB on behalf of 'kswapd0' (81) because cache 62628kB is below limit 73728kB for oom_score_adj 117. Free memory is 4548kB above reserved
<6>[002185.077441,0] init: waitpid returned pid 26289, status = 0000fc00
<6>[002185.611288,2] lowmemorykiller: Killing 'android.smspush' (20927), adj 58, to free 16176kB on behalf of 'kswapd0' (81) because cache 56236kB is below limit 61440kB for oom_score_adj 58. Free memory is 3392kB above reserved
<6>[002186.955956,0] init: waitpid returned pid 26285, status = 00000001
<6>[002186.006426,1] init: waitpid returned pid 26256, status = 00008100
<6>[002186.431086,0] lowmemorykiller: Killing 'mozilla.firefox' (6712), adj 0, to free 354160kB on behalf of 'kswapd0' (81) because cache 46540kB is below limit 49152kB for oom_score_adj 0. Free memory is 5192kB above reserved
<6>[002186.606429,1] init: waitpid returned pid 19765, status = 00000000
<6>[002191.881505,2] lowmemorykiller: Killing 'd.process.media' (10858), adj 1000, to free 33140kB on behalf of 'kswapd0' (81) because cache 87004kB is below limit 98304kB for oom_score_adj 529. Free memory is 3960kB above reserved
<6>[002191.291965,1] lowmemorykiller: Killing 'd.process.acore' (10918), adj 764, to free 35228kB on behalf of 'kswapd0' (81) because cache 81776kB is below limit 86016kB for oom_score_adj 176. Free memory is 3832kB above reserved
<6>[002191.591134,1] lowmemorykiller: Killing 'ndroid.settings' (10928), adj 647, to free 34460kB on behalf of 'kswapd0' (81) because cache 77724kB is below limit 86016kB for oom_score_adj 176. Free memory is 4280kB above reserved
<6>[002192.697565,2] lowmemorykiller: Killing 'enmod.lockclock' (10957), adj 529, to free 30720kB on behalf of 'kswapd0' (81) because cache 76880kB is below limit 86016kB for oom_score_adj 176. Free memory is 3604kB above reserved
<6>[002192.739096,2] lowmemorykiller: Killing 'com.android.mms' (10883), adj 470, to free 38292kB on behalf of 'kswapd0' (81) because cache 74704kB is below limit 86016kB for oom_score_adj 176. Free memory is 7352kB above reserved
<6>[002193.555477,2] lowmemorykiller: Killing 'enmod.trebuchet' (10844), adj 0, to free 58452kB on behalf of 'kswapd0' (81) because cache 48516kB is below limit 49152kB for oom_score_adj 0. Free memory is 3116kB above reserved
<6>[002194.171773,1] binder: undelivered transaction 7731151
<6>[002194.355847,0] lowmemorykiller: Killing 'd.process.acore' (11091), adj 529, to free 34780kB on behalf of 'kswapd0' (81) because cache 47368kB is below limit 49152kB for oom_score_adj 0. Free memory is 8656kB above reserved
<6>[002194.554944,0] lowmemorykiller: Killing 'd.process.media' (11118), adj 529, to free 33392kB on behalf of 'enmod.trebuchet' (11110) because cache 81508kB is below limit 86016kB for oom_score_adj 176. Free memory is 6088kB above reserved
<6>[002194.670126,0] lowmemorykiller: Killing 'com.android.mms' (11151), adj 294, to free 34528kB on behalf of 'kswapd0' (81) because cache 47332kB is below limit 49152kB for oom_score_adj 0. Free memory is 3564kB above reserved
<6>[002194.680946,2] binder: release 11151:11172 transaction 7731784 out, still active
<6>[002194.681060,2] binder: undelivered transaction 7731944
<6>[002195.770478,1] lowmemorykiller: Killing 're-initialized>' (11177), adj 529, to free 26236kB on behalf of 're-initialized>' (11186) because cache 80372kB is below limit 86016kB for oom_score_adj 176. Free memory is 3968kB above reserved
<6>[002195.828751,0] lowmemorykiller: Killing 'enmod.trebuchet' (11110), adj 0, to free 44916kB on behalf of 'kswapd0' (81) because cache 46796kB is below limit 49152kB for oom_score_adj 0. Free memory is 3280kB above reserved
<6>[002195.996821,2] lowmemorykiller: Killing 'd.process.acore' (11206), adj 529, to free 28148kB on behalf of 'kswapd0' (81) because cache 46216kB is below limit 49152kB for oom_score_adj 0. Free memory is 3744kB above reserved
<6>[002195.006525,3] binder: undelivered transaction 7732259
<6>[002195.111464,2] lowmemorykiller: Killing 'ndroid.settings' (11186), adj 529, to free 34436kB on behalf of 'd.process.acore' (11236) because cache 76684kB is below limit 86016kB for oom_score_adj 176. Free memory is 3412kB above reserved
<6>[002195.189925,1] lowmemorykiller: Killing 're-initialized>' (11236), adj 529, to free 27684kB on behalf of 're-initialized>' (11250) because cache 75264kB is below limit 86016kB for oom_score_adj 176. Free memory is 3748kB above reserved
<6>[002195.582460,1] lowmemorykiller: Killing 'enmod.lockclock' (11250), adj 647, to free 30716kB on behalf of 'kswapd0' (81) because cache 42068kB is below limit 49152kB for oom_score_adj 0. Free memory is 3936kB above reserved
<6>[002195.680729,3] lowmemorykiller: Killing 'd.process.acore' (11265), adj 529, to free 33160kB on behalf of 'kswapd0' (81) because cache 41232kB is below limit 49152kB for oom_score_adj 0. Free memory is 3568kB above reserved
<6>[002196.766706,0] lowmemorykiller: Killing 'enmod.trebuchet' (11217), adj 0, to free 43560kB on behalf of 'kswapd0' (81) because cache 40444kB is below limit 49152kB for oom_score_adj 0. Free memory is 3448kB above reserved
<6>[002201.374233,0] : Report pwrkey press event
<6>[002201.518183,0] : Report pwrkey release event
<6>[002202.657554,1] mdss_dsi_panel_off+: ctrl=eaec8010 ndx=0
<6>[002202.657986,0] synaptics_dsx_sensor_state: state change ACTIVE -> SUSPEND
<6>[002203.897141,0] mdss_dsi_panel_off-: 
<6>[002203.897156,0] mdss_dsi_off+: ctrl=eaec8010 ndx=0
<6>[002203.936876,0] mdss_dsi_off-: 

至此,所有尚未失败的事情现在都失败了。用户空间被杀死并重新启动

<6>[002203.037750,0] : Core dump to |/system/bin/coredump Binder_4 19920 1417523206 pipe failed
<6>[002203.281135,0] binder: undelivered transaction 7733258
<6>[002203.281314,0] binder: undelivered transaction 7733265
<6>[002203.281444,0] binder: undelivered transaction 7733271
<6>[002203.281597,0] binder: undelivered transaction 7733366
<6>[002203.281681,0] binder: undelivered transaction 7733378
<6>[002203.282023,0] binder: undelivered transaction 7733372
<6>[002203.282108,0] binder: undelivered transaction 7733373
<6>[002203.282258,0] binder: undelivered transaction 7733374
<6>[002203.282340,0] binder: undelivered transaction 7733375
<6>[002203.282488,0] binder: undelivered transaction 7733376
<6>[002204.093925,0] : Report pwrkey press event
<6>[002204.306457,0] : Report pwrkey release event
<6>[002207.955756,0] : Core dump to |/system/bin/coredump system_server 1142 1417523210 pipe failed
<6>[002207.052286,0] mdss_dsi_on+: ctrl=eaec8010 ndx=0
<6>[002207.075781,1] alarm_release: clear alarm, pending 0
<6>[002207.075791,1] alarm_release: clear alarm, pending 0
<6>[002207.075799,1] alarm_release: clear alarm, pending 0
<6>[002207.089757,0] mdss_dsi_on-: 
<6>[002207.089772,0] mdss_dsi_panel_on+: ctrl=eaec8010 ndx=0
<6>[002207.104989,1] init: computing context for service '/system/bin/bootanimation'
<5>[002207.106139,1] init: starting 'bootanim'
<6>[002207.136155,1] : Core dump to |/system/bin/coredump Binder_7 1387 1417523210 pipe failed
<6>[002207.147220,1] binder: undelivered death notification, 60d6b368
<6>[002207.147232,1] binder: undelivered death notification, 60d6b780
<6>[002207.147241,1] binder: undelivered death notification, 5cdca680
<6>[002207.147249,1] binder: undelivered death notification, 5bf36ec0
<6>[002207.147261,1] binder: undelivered death notification, 5cdcb4a0
<6>[002207.147272,1] binder: undelivered death notification, 5cdd1880
<6>[002207.147281,1] binder: undelivered death notification, 5cdcb460
<6>[002207.185322,1] init: waitpid returned pid 385, status = 00000009
<5>[002207.185340,1] init: process 'debuggerd', pid 385 exited
<5>[002207.185355,1] init: process 'debuggerd' killing any children in process group
<6>[002207.185940,1] init: computing context for service '/system/bin/debuggerd'
<6>[002207.185963,2] : Core dump to |/system/bin/coredump Binder_2 1400 1417523210 pipe failed
<5>[002207.186211,1] init: starting 'debuggerd'
<6>[002207.186764,2] : Core dump to |/system/bin/coredump Binder_4 1413 1417523210 pipe failed
<6>[002207.194796,2] binder: undelivered death notification, 5cdcf108
<6>[002207.194807,2] binder: undelivered death notification, 60b5faa8
<6>[002207.194816,2] binder: undelivered death notification, 60b5fec0
<6>[002207.194824,2] binder: undelivered death notification, 5cdca680
<6>[002207.194832,2] binder: undelivered death notification, 601f2830
<6>[002207.194840,2] binder: undelivered death notification, 60def500
<6>[002207.194849,2] binder: undelivered death notification, 5cdd1488
<6>[002207.194857,2] binder: undelivered death notification, 60def1f0
<6>[002207.200117,2] binder: undelivered death notification, 5cdce0d8
<6>[002207.200129,2] binder: undelivered death notification, 60c6b0c8
<6>[002207.200137,2] binder: undelivered death notification, 60c6b4e0
<6>[002207.200146,2] binder: undelivered death notification, 5cdca670
<6>[002207.200154,2] binder: undelivered death notification, 5cdd1940
<6>[002207.200163,2] binder: undelivered death notification, 5d84f710
<6>[002207.200171,2] binder: undelivered death notification, 5cdd1430
<6>[002207.200179,2] binder: undelivered death notification, 5cdd1f90
<6>[002207.276277,1] init: waitpid returned pid 388, status = 00000009
<5>[002207.276294,1] init: process 'zygote', pid 388 exited
<5>[002207.285604,0] init: process 'zygote' killing any children in process group
<5>[002207.285863,0] init: service 'media' is being killed
<5>[002207.287087,0] init: service 'netd' is being killed
<6>[002207.287441,0] init: computing context for service '/system/bin/app_process'
<5>[002207.287638,0] init: starting 'zygote'
<6>[002207.289856,0] init: waitpid returned pid 383, status = 00000009
<5>[002207.289874,0] init: process 'netd', pid 383 exited
<5>[002207.289888,0] init: process 'netd' killing any children in process group
<6>[002207.290323,0] init: computing context for service '/system/bin/netd'
<5>[002207.290529,0] init: starting 'netd'
<6>[002207.297300,0] init: waitpid returned pid 391, status = 00000009
<5>[002207.297316,0] init: process 'media', pid 391 exited
<5>[002207.297331,0] init: process 'media' killing any children in process group
<6>[002207.297373,2] init: Created socket '/dev/socket/mdns' with mode '660', user '0', group '1000'
<6>[002207.297610,0] init: computing context for service '/system/bin/mediaserver'
<6>[002207.297768,2] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
<5>[002207.297778,0] init: starting 'media'
<6>[002207.298187,2] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'
<6>[002207.298939,2] init: Created socket '/dev/socket/zygote' with mode '660', user '0', group '1000'
<6>[002207.315254,0] : Report pwrkey press event
<6>[002207.386012,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[002207.386197,0] : mdss_dsi_panel_on-. Pwr_mode(0x0A) = 0x9c
<6>[002207.446161,0] init: waitpid returned pid 1373, status = 00000009
<6>[002208.865272,0] : Report pwrkey release event
<7>[002210.508025,0] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
<6>[002213.793599,0] : Report pwrkey press event
<6>[002213.970096,0] : Report pwrkey release event
<6>[002213.447327,0] : Core dump to |/system/bin/coredump zygote 11352 1417523217 pipe failed
<6>[002213.508195,0] init: waitpid returned pid 11352, status = 0000000b
<5>[002213.508377,0] init: process 'zygote', pid 11352 exited
<5>[002213.508475,0] init: process 'zygote' killing any children in process group
<5>[002213.508759,0] init: service 'media' is being killed
<5>[002213.512948,0] init: service 'netd' is being killed
<6>[002213.513683,0] init: waitpid returned pid 11355, status = 00000009
<5>[002213.513805,0] init: process 'media', pid 11355 exited
<5>[002213.513981,0] init: process 'media' killing any children in process group
<6>[002213.514315,0] init: computing context for service '/system/bin/app_process'
<5>[002213.514729,0] init: starting 'zygote'
<6>[002213.515310,0] init: computing context for service '/system/bin/mediaserver'
<6>[002213.516306,1] init: Created socket '/dev/socket/zygote' with mode '660', user '0', group '1000'
<5>[002213.516644,0] init: starting 'media'
<6>[002213.520811,0] init: waitpid returned pid 11353, status = 00000009
<5>[002213.520998,0] init: process 'netd', pid 11353 exited
<5>[002213.521240,0] init: process 'netd' killing any children in process group
<6>[002213.521753,0] init: computing context for service '/system/bin/netd'
<5>[002213.522248,0] init: starting 'netd'
<6>[002213.526276,1] init: Created socket '/dev/socket/mdns' with mode '660', user '0', group '1000'
<6>[002213.526874,1] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
<6>[002213.527403,1] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'

但是swap它很活跃,目前还不清楚发生了什么。free恢复用户空间后立即输出:

             total         used         free       shared      buffers
Mem:        903272       879320        23952            0         1844
-/+ buffers:             877476        25796
Swap:       687060        19024       668036

不知道发生了什么。FWIW:(1)交换可用且已启用,但由于内存不足而在事件中未使用,因此不予使用;(2)某个进程突然决定需要大约1GB的RAM并在前台运行,从而导致尝试交换关键但优先级较低的系统进程的尝试失败;(3)不可预测的剧烈内存泄漏。

我不知道从这里去哪里。

该手机以CyanogenMod 11 M6为根基运行,并具有1GB内存,并且这些应用程序是非常标准的-Firefox,whatsapp,没有异常,没有奇怪的“扭曲”,没有奇怪的改装应用程序。

我该如何解决这个问题?

更新我意识到我可以找到相关的核心转储。/data/tombstones包含6个核心转储,这些转储都是在100秒钟内发生的,该内存转储是在内存不足的情况下发生的dmesg。核心转储文件大多显示分段错误(SIGSEGV),但每个转储的拥有过程不同:

2014-12-02 12:27:33 name: Thread-20  (lbesec.loader) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr b3baed71
2014-12-02 12:27:11 name: zygote  (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dd8ce64
2014-12-02 12:27:05 name: zygote  (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dd86e64
2014-12-02 12:26:57 name: zygote  (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dc03e64
2014-12-02 12:26:47 name: system_server  (system_server) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadf00c
2014-12-02 12:26:46 name: Binder_4  (com.android.systemui) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr cfc08b9a

同一文件夹中过去的核心转储也是如此,例如,线程所有者包括“图库”。一些显示SIGABRT而不是SIGSEGV。除此以外,可能还需要开发人员能力。我应该怎么做才能找出原因?


2
+1是精心设计的问题。优秀的演讲。我在low memory?HTC上遇到问题和FC。我对查看日志并不满意,但是您的全面了解帮助我更好地理解了日志(而且我不需要上课或阅读一本长书……大声笑)。谢谢。
HasH_BrowN

手机运行缓慢吗?LowMemoryKiller的工作是在其他应用程序需要它时释放内存,它是通过从当前不需要它的应用程序中释放内存来实现的。这是Google在LowMemoryKiller上的文档
Ryan Conrad

我认为关闭CyanogenMod可能与此有关。自从他们关闭网络服务器以来,我就注意到了我系统中的一些奇怪行为,例如打开高级数据设置页面使设置应用程序崩溃。再次,这是一个总的猜测。
Ethan Z

只看问题的日期.....厘米INC下旬关闭2016 ............
Stilez

Answers:


1

Android具有内置的ram管理系统,可以很好地完成工作。公羊管理应用程序臭名昭著的仅仅是蛇油。最坏的情况实际上是对其运行过程有害。我假设此内存杀手级应用是您问题的根本原因。解。重新刷新设备,删除低内存应用,然后查看其行为


2
-1。您的意思不错,但答案有误。LowMemoryKiller是Android的内置部分,而不是第三方RAM管理应用程序。请查看此处以查看android-4.4内核的lowmemorykiller.c代码。(注意:android-4.4内核与Android 4.4“ KitKat”完全断开连接。KitKat设备使用的内核版本要旧得多。)
unforgettableidSupportsMonica16年

0

我不太了解问题是突然发生的还是仅在CM11中发生。我的第一个建议是恢复出厂设置并运行一系列基本的应用程序,从Play商店安装的次数越少越好,并查看是否发生问题。如果确实如此,则CM正在为LMK运行一些非常激进的值(可能更新为更新的值或使用修改后的值构建rom)。如果这并不意味着您的应用程序之一告诉android,则需要ram和android(可能是由于dalvik或hwui堆设置不正确,或内核lmk值不佳)而引起的,只是开始大规模杀害进程。


-1

如果您购买时未在手机上安装此应用程序,而是随后安装了该应用程序,则执行此应用程序的应用程序可能是恶意软件。我建议直接去Verizon,让他们弄清楚发生了什么。它可能会花费很多,但如果可以修复,则很值得。


1
请参阅@unforgettableid的回复评论。Lowmemorykiller是Android系统的内置部分。它不是一个应用程序,更不用说恶意软件了。
Stilez '16

另外,如果您在手机上刷新了CyanogenMod,则运营商不太可能与它有任何关系。制造商可能会维修手机,甚至超出保修范围,也可能会修理“手机维修店”。搜索引擎或CyanogenMod论坛也可能有用。如果您可以让手机正常工作足够长的时间,则可以刷新较新的版本,或者将手机恢复为闪烁前备份的原始版本。运营商提供的新的“零美元电话”将花费最少,您将获得汲取的教训。
罗布(Rob)
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.