View Single Post
Old 01-01-2021, 03:37 AM   #138
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
Quote:
Originally Posted by sherman View Post
Yeah, I'm leaning towards memory consumption. Just did some crude profiling on my own Kobo. Over five runs, the memory usage on my Forma was as follows:
Num books: 420
Memory usage at config screen: 8929 bytes (~8.9K)
Memory usage once connected: ~49561K
this is probably the reason. just tried to get a memory dump.

running kobo-uncaged *noticeably* lags the telnet session.

The last reading I got was

[root@kobo ~]# ps -o rss,args | grep /mnt/onboard/.adds/kobo-uncaged/bin/ku
280m /mnt/onboard/.adds/kobo-uncaged/bin/ku


After that, ps -o rss,args (by itself) showed a zombie ku process

84 {nm-start-ku.sh} /bin/sh /mnt/onboard/.adds/kobo-uncaged/nm-start-ku.sh
0 [ku]

and then the kobo rebooted. Looks like the kernel's OOM component triggered.

also another sign that this is using all available memory and CPU is that the battery drains by about 10-15% after running this.

Last edited by bigwoof; 01-01-2021 at 03:39 AM.
bigwoof is offline   Reply With Quote