maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   multiple python processes? (https://talk.maemo.org/showthread.php?t=28320)

tso 2009-04-16 15:31

multiple python processes?
 
lately i have spotted that for no apparent reason there can be as many as 10+ python processes running, eating up ram and basically slowing down the whole tablet.

i have yet to figure out what the cause can be tho...

so, has anyone else seen this?

BrentDC 2009-04-16 15:54

Re: multiple python processes?
 
The python pre-loader (python launcher) can do that because they stay open even after you closed the program. So, if you load up MyTube, Quick Clip Viewer, PyGTKEditor, etc. a bunch of python processes will remain in memory even after being closed. Are they all like 1-3 MB?

tso 2009-04-16 15:58

Re: multiple python processes?
 
more like 4MB...

i could have sworn i had given python-launcher the boot...

Bundyo 2009-04-16 17:58

Re: multiple python processes?
 
The Advanced Power Plugin is also python based ( or at least one of the two parts ).

tso 2009-04-16 18:45

Re: multiple python processes?
 
true, but this have only started to show up recently (that i know off), and i have had AP installed for quite a while now.

still, i think it may well be a leftover from python-launcher, as i think i ones spotted it having multiple processes going. but at the time it was supposedly disabled (altho still installed).

sadly, apt-get purge gives me a error about missing command, or something like that, so i cant really tell it to purge any leftovers related to python-launcher...

attila77 2009-04-16 19:35

Re: multiple python processes?
 
try 'ps uxaw', maybe you'll get some more info as to what's going on

Laughing Man 2009-04-16 19:48

Re: multiple python processes?
 
Is python launcher really that bad?

Saturn 2009-04-16 20:15

Re: multiple python processes?
 
Quote:

Originally Posted by tso (Post 280146)
sadly, apt-get purge gives me a error about missing command, or something like that, so i cant really tell it to purge any leftovers related to python-launcher...

I use this quite often (saw it somewhere here in ITt):

Code:


### View orphan files:
dpkg --list | grep ^rc | awk '{ print $2; }'

### Clean up the files:
#dpkg --purge $(dpkg --list | grep ^rc | awk '{ print $2; }')

hope it helps.

tso 2009-04-17 09:39

Re: multiple python processes?
 
seems i found the problem program, mcalendar...

free 2009-04-17 12:45

Re: multiple python processes?
 
Quote:

### View orphan files:
dpkg --list | grep ^rc | awk '{ print $2; }'
These are not orphaned files, these are packages which have been removed but still their configuration is kept in case of reinstall. It's usually a good idea to leave these conf files as they are small.

Khertan 2009-04-17 14:14

Re: multiple python processes?
 
Quote:

seems i found the problem program, mcalendar...
Seriously ? I use it every days without notifying that.

tso 2009-04-17 14:20

Re: multiple python processes?
 
no clue what triggers it. but it was clearly mcalendar_sync.py...

Khertan 2009-04-17 15:12

Re: multiple python processes?
 
Hum ... seems to be the auto sync of mcalendar ... :)

Could you look if there is many instance of it in the alarmd xml alarm file ?

Thanks

tso 2009-04-17 15:47

Re: multiple python processes?
 
indeed there was. not sure about their timing as im not up to speed on the format of said file.

tso 2009-04-19 14:11

Re: multiple python processes?
 
i would love seeing some kind of fix (i hesitate to edit the xml by hand), as i just watched the load average spike to 17, simply by connecting to wifi after a good night sleep...

never mind, got it fixed thanks to a hint from qwerty12 about alarmtool.


All times are GMT. The time now is 23:15.

vBulletin® Version 3.8.8