[Sugar-devel] Storage leak in sugar-session

Hal Murray hmurray at megapathdsl.net
Thu Jun 3 06:00:09 EDT 2010


I often let an XO-1 sit powered up but not doing anything for a week or more. 
 Occasionally, after it's been idle for a while and I try to do something, it 
acts like it's out of memory.

This has been happening for a long time, but until recently, I haven't looked 
in the right place to get useful numbers.


This one is running 140py

[murray at xo-0d-57-33 ~]$ uptime
 04:58:04 up 8 days,  5:59,  1 user,  load average: 0.00, 0.00, 0.00
[murray at xo-0d-57-33 ~]$ ps -eF
UID       PID PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
...
olpc     1940 1876  0 30669 100996  0 May13 ?        00:10:39 python 
/usr/bin/suga
...

[murray at xo-0d-57-33 ~]$ uptime
 01:15:42 up 12 days,  2:17,  1 user,  load average: 0.00, 0.00, 0.00
[murray at xo-0d-57-33 ~]$ ps -eF
UID       PID PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
...
olpc     1940 1876  0 38761 130900  0 May13 ?        00:15:33 python 
/usr/bin/sugar-session
...

[murray at xo-0d-57-33 ~]$ uptime
 00:07:23 up 17 days,  1:08,  1 user,  load average: 3.55, 2.47, 1.10
olpc     1940 1876  0 48409 164468  0 May13 ?        00:31:41 python 
/usr/bin/sugar-session

Note the load average.  I could login using ssh to collect that info, but it 
took a long long time.


Is this an interesting problem?  Do you want a bug report so it doesn't get 
lost?

I don't know my way around sugar and I've never chased a storage leak in 
Python.  Is there something I should do to collect more info?


-- 
These are my opinions, not necessarily my employer's.  I hate spam.





More information about the Sugar-devel mailing list