Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-04-2022, 02:48 PM   #1
edo1
Member
edo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enough
 
Posts: 18
Karma: 664
Join Date: Jul 2014
Device: pw2
EPUB->PDF: limit CPU cores usage

When I run ebook-convert some big epub file, 32 QtWebEngineProcess forks are spawned:
Code:
 473131 ?        SLl    0:01                  \_ /usr/bin/python3.9 /usr/bin/ebook-convert /tmp/converter-calibre-converter.WEgxas.epub /tmp/converter-calibre-converter.8OaHFF.pdf
 473527 ?        SL     0:00                      \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --no-zygote-sandbox --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473528 ?        SL     0:00                      \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473562 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473563 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473567 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473574 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473580 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473587 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473613 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473620 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473630 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473638 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473644 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473648 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473652 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473669 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473682 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473715 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473743 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473765 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473790 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473798 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473812 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473823 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473831 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473850 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473862 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473868 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473882 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473896 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473913 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473914 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473923 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473940 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
I'm assuming it's because my host has 32 logical cores.
I prefer not to use all cores for the convertation.
Is there a way to limit the use of cores?
edo1 is offline   Reply With Quote
Old 07-04-2022, 03:32 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
See screenshot.

bernie
Quote:
Originally Posted by edo1 View Post
When I run ebook-convert some big epub file, 32 QtWebEngineProcess forks are spawned:
Spoiler:

Code:
 473131 ?        SLl    0:01                  \_ /usr/bin/python3.9 /usr/bin/ebook-convert /tmp/converter-calibre-converter.WEgxas.epub /tmp/converter-calibre-converter.8OaHFF.pdf
 473527 ?        SL     0:00                      \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --no-zygote-sandbox --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473528 ?        SL     0:00                      \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473562 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473563 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473567 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473574 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473580 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473587 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473613 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473620 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473630 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473638 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473644 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473648 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473652 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473669 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473682 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473715 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473743 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473765 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473790 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473798 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473812 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473823 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473831 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473850 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473862 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473868 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473882 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473896 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473913 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473914 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473923 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US
 473940 ?        Sl     0:00                      |   \_ /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess --type=zygote --application-name=ebook-convert --webengine-schemes=clbr:hs;qrc:sLV --lang=en-US


I'm assuming it's because my host has 32 logical cores.
I prefer not to use all cores for the convertation.
Is there a way to limit the use of cores?
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2022-07-04 15-30-50.png
Views:	96
Size:	744.4 KB
ID:	194742  
gbm is offline   Reply With Quote
Advert
Old 07-04-2022, 08:11 PM   #3
edo1
Member
edo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enough
 
Posts: 18
Karma: 664
Join Date: Jul 2014
Device: pw2
Unfortunately, this setting has no effect on QtWebEngineProcess
edo1 is offline   Reply With Quote
Old 07-04-2022, 09:52 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, there isnt.
kovidgoyal is offline   Reply With Quote
Old 07-18-2022, 08:07 AM   #5
edo1
Member
edo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enoughedo1 will become famous soon enough
 
Posts: 18
Karma: 664
Join Date: Jul 2014
Device: pw2
Quote:
Originally Posted by kovidgoyal View Post
No, there isnt.
any idea how to limit the number of QtWebEngineProcess instances?
edo1 is offline   Reply With Quote
Advert
Old 07-19-2022, 12:11 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,048
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by edo1 View Post
any idea how to limit the number of QtWebEngineProcess instances?
Yeah, don't convert the PDF if you don't actually have to. It's going to introduce a number of errors and are tyou really in the mood to go and A/B compare to fix them all?
JSWolf is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to force Calibre to use all 4 cores of my CPU when doing tasks? droopy Calibre 2 11-17-2019 01:27 AM
Calibre not using all CPU cores. mufler Calibre 3 10-07-2013 08:59 AM
HIGH CPU Usage Problem country0129 Conversion 9 06-16-2012 08:10 AM
Sigil not responding 100% CPU usage when loading a 38 MB epub file leo315 Sigil 3 02-17-2011 05:01 AM
CPU usage at 100% while fetching news goblinbox Calibre 12 07-14-2010 06:47 PM


All times are GMT -4. The time now is 11:07 AM.


MobileRead.com is a privately owned, operated and funded community.