View Single Post
Old 06-17-2015, 06:57 AM   #59
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
That _was_ strace with -ff. I'll see if I can find the mystery process. It did not show up in a pstree that I triggered while it was updating books, but it might be a shortlived process and I tried to nab it at the wrong time.

Apparently ZIP allows direct file access so if the metadata is the last file in the ZIP (which is the case for toc in Calibre generated EPUBs) it does not have to extract all files that come before it. Whether the system actually uses that kind of optimization, or parses all HTML as well, I don't know.

As for making it a background process it should be possible because other things already happen in the background (if you sync you get a thin 5 pixel progress bar at the top of the screen).
frostschutz is offline   Reply With Quote