View Single Post
Old 02-22-2019, 05:33 PM   #24
jonvarteresian
Member
jonvarteresian began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Feb 2019
Device: PW4 Kindle PaperWhite 4 (2018) WiFi, 8GB
Well, I can reproduce the problem and recover from it at will now.

I open a static file on my PW4 around 920 times and dbus-daemon pegs at 100%.
I look at
Code:
lsof |grep dbus-dae
and see 1024 open FDs
I delete a few FDs with gbd (p close(FD)) and everything starts right back up until i hit 1024 again

its pretty clear to me that the pdfreader is leaving open FDs. And from poking around the web this is a known issue with dbus when you bump over the 1024 limit. There are ways to increase this limit apparently, but not with amazon's version of this build that I can see. They want you to edit the /etc/security/limits.conf but it doesnt exist in the FS.

I tried via ulimit as well
Code:
ulimit -S -n 4096
for example but it had no affect on operation.

I then took my pdf and converted it to a mobi and azw3 and can display both of those thousands of times with my same code with no open FDs or problems. So for my immediate need i need to figure out how to convert my PDF to azw3 via python and move forward.

my kindle is running 5.10.0.2 and is a PW4 (G000 PP).

thanks for all the help on this one.
jonvarteresian is offline   Reply With Quote