Too many instances of alien_bridge_server process ( more than 200)

asked 2017-04-28 16:44:18 +0300

cemoi71 gravatar image

updated 2017-04-29 23:14:02 +0300

Hi sailors,

shortly i remarked that the process alien_bridge_server is called in a huge amount. Seems for me that is more than 200 time called.
If i put the command ps aux | grep -c alien_bridge_server i get 290 time.
That's huge!!!!
The biggest process has 0,9mb big, the smallest 0,3.
And my evaluation of the whole size would be around 105mb.
That's quite big!!
290 instance of it in around 105 mb.
What is the function of it?
Is there some zombies?
is it possible to limit it, or kill the the overload?...

Do we really need so much instances?

Seems to me that i don't need a big part of them, and take too much place in memory, with the consequence that the oomk kill other apps..

I confirm it, if i open other native apps, then i at one time other native apps are killed from oomk.
But the amount of process of alien_bridge_server is still high on 290.

Edit 29-05-17: Today i count 516 instances of it.
And you know what? i get the app which calls the alien_bridge_server .
That's the android app called Landrule (nice strategy game risk-like) installed from Aptoide.
After each finished parties the amount increases to around 10. Now i have 543...
Still I don't know why it called this....

thank you very much in advance for explanation or find what is wrong.
By me happens with the app Landrule, i guess that's happen with other apps.
Would be fine if others report with which other apps it could happen.
I may make a list then...

Cheers

edit retag flag offensive close delete

Comments

I just checked I have 10 active processes and always alien dalvik active. I use now an aquafish as Jolla C so I guess must be at least one of your apps that cause the problem

PatsJolla ( 2017-04-30 23:10:02 +0300 )edit

yes you're right. i identify one especially which increase the amount each time significantly , but there are other one which do it too.
the amount increase and increase, until there is not so much place ready. and oomk kills some apps but not these one.
What i don't understand, the system sfos or alien dalvik should clean sometime those process which are not used anymore.
By the way at the time that the amount of these process is so high , that the oomk kill some apps, if we use the lipstick restart function, then the alien dalvik interface get deactivated, and is no more able to be reactivated.
For being able to reactivate it, we should restart the device. that's 100% reproducible

cemoi71 ( 2017-04-30 23:57:45 +0300 )edit

I sometimes have also the problem that I cant start the apps like whatsapp after a long running time, sometimes after media files were sent/used. I usually turn off alien dalvik in the settings wait about 30 secs or longer and then after restarting it everything works again.

PatsJolla ( 2017-05-01 00:00:37 +0300 )edit

First of all I'd like to suggest you count spawning processes with pgrep -f alien_bridge_server | wc -l instead of typical ps aux | grep -c method: the latter is twice slower and counts grep process with target processes. It's so sad that too few people use pgrep / pkill though these tools have been available for ages!

Also it might be useful to count processes with extra granularity. Here is stat from my device right now:

$ ps --no-header -o comm,cmd -p $(pgrep -f alien_bridge_server) | sort | uniq -c
     26 alien_bridge_se /system/genv/bin/alien_bridge_server ap no li po nc vi pm
      1 alien_bridge_se /system/genv/bin/alien_bridge_server co
      1 alien_bridge_se /system/genv/bin/alien_bridge_server ms fo
      1 alien_bridge_se /system/genv/bin/alien_bridge_server wi ri
     30 Binder_1        /system/genv/bin/alien_bridge_server ap no li po nc vi pm

Yup, it seems that I have this issue of spawning processes too. But nevertheless there are too much reasons for restarting aliendalvik from time to time, so I hardly suffer from memory shortage.

One more observation. Running ps --forest -O ppid -p $(pgrep -f alien_bridge_server) shows that all extra alien_bridge_server ap no li po nc vi pm are launched by the first alien_bridge_server ap no li po nc vi pm.

Self-Perfection ( 2017-05-03 01:05:43 +0300 )edit

@Self-Perfection cool thank you very much i've learn something. you're right there are spawning process.
Currently I have an amount of 144. By each party of Landrule i get around +10, with skype around +4, with many other apps +1 or +2.
I try to find an other android app which raise the amount of process significantly...

And now by running your command ps --no-header -o comm,cmd -p $(pgrep -f alien_bridge_server) | sort | uniq -c i get

44 Binder_1 /system/genv/bin/alien_bridge_server ap no li mc nc vi pm
44 Binder_2 /system/genv/bin/alien_bridge_server ap no li mc nc vi pm
53 alien_bridge_se /system/genv/bin/alien_bridge_server ap no li mc nc vi pm
1 alien_bridge_se /system/genv/bin/alien_bridge_server co
1 alien_bridge_se /system/genv/bin/alien_bridge_server ms fo
1 alien_bridge_se /system/genv/bin/alien_bridge_server wi ri cn

By the way do you know eventually what is the function of alien_bridge_server?
Tried to find something on internet, but i don't find really a clue...

cemoi71 ( 2017-05-03 22:50:06 +0300 )edit