[maemo-developers] [maemo-developers] Frustrating power downs...

From: Eero Tamminen eero.tamminen at movial.fi
Date: Wed May 3 17:47:45 EEST 2006

>> It would help to know which sw you are running: is it vanilla or are
>> you using a custom set of packages?
> It doesn't happen too often, but 90% of the time I'm probably running
> just fbreader in full screen mode when I slide the case on. 
> I have installed xterm, vim, ssh, and a few other apps, but mostly I use
> fbreader and the web browser.

Just in case, you might check what fbreader does when you e.g.
top browser on top of it:
- install (e.g. Debian) strace on the device, attach to the fbreader
  process with 'strace -p <PID>' and see whether it has any activity
  although it's on the background (it shouldn't)
- After untopping the fbreader, get it's memory usage values:
   grep Vm /proc/<PID>/status
  Wait e.g. an hour and take the memory usage values again to
  see whether fbreader memory usage grows while it's idle
  (it shouldn't)

Well integrated apps in the device implement state saving and
can be killed (to save memory) when they are backgrounded and
re-started by the system when user switches back to them.  If
app is using too much memory without behaving nicely with rest
of the system, it might cause OOM and in rare case this might
result in a reboot.

	- Eero

More information about the maemo-developers mailing list