Low level memory killer strange behaviour
Hi, I found out that lowmemorykiller
works very strange.
Updating one of my email accounts consistently renders my phone completely unoperative, it stops responding to touchscreen and power button. The only way to make it work is to remove battery or wait for random, but often long time.
After investigating this I found that during email update messageserver5
consumes all memory. Then lowmemorykiller
starts to killing everytinhg but messageserver5
- it kills user apps, system apps (includind systemd-cgroups
and systemd-udevd
), on behalf of kswapd0
and, strangely, greedy messageserver5
. This continues until real OOM killer wakes up and kills messageserver5
:
Jolla kernel: Out of memory: Kill process 984 (messageserver5) score 536 or sacrifice child
Unfortunately I don't use this email account much, so I can't tell if this started in update 9 or 10.
Did you start to update that email account directly after installing 1.1.1.27 or some time later?
simo ( 2014-12-22 18:07:43 +0200 )editIt is not the memorykiller acting strange but messageserver5 if it's consuming all available memory.
tigeli ( 2014-12-22 18:16:21 +0200 )editFirst time I started email update next day after system upgrade.
I didn't say messageserver5 works ok, it defenitely is not. But lowmemorykiller instead of killing the memory-consuming process kills all other processes, making phone completely useless till real OOM fires or phone is rebooted via battery reattach.
zurd ( 2014-12-22 18:30:00 +0200 )editI suggest removing the mail account from settings and try readding it to see if it fixes the messageserver5. When it comes to the OOMKiller it shouldn't really kill lipstick (the home screen) when it isn't running amok but the process that is running amok. The problem is how to properly detect such process. It is hard for every OOMKiller.
leszek ( 2014-12-22 21:06:09 +0200 )editI had messageserver5 running amok after I attempted to send an email with an attachment that was too large. messageserver5 kept trying over and over to send the email and the only way I finally got it to stop was by deleting the account and creating it again, just like leszek suggested. This happened to me a few months ago, so it seems that this has not been fixed yet.
shfit ( 2014-12-23 02:33:04 +0200 )edit