Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-19-2015, 07:04 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Multiple calibre-parallel.exe processes?

I find that as I edit books, my system gets slower and slower. Usually I find that there are many processes running callibre-parallel.exe. At the moment, after a reboot, I have imported a couple of books, viewed them, deleted one, and edited one, and am now editing the other. I saved it yesterday, closed the lid of my laptop and went to bed. Today I've opened up the system and have been dealing with mail and so on, but the system is already starting to thrash a bit. I find that currently have 5 calibre-parallel.exe processes with the following command lines:

1. "C:\Program Files (x86)\Calibre2\calibre-parallel.exe" --pipe-worker "from calibre.utils.recycle_bin import recycler_main; recycler_main()"
2. "C:\Program Files (x86)\Calibre2\calibre-parallel.exe" --pipe-worker "from calibre.utils.ipc.pool import run_main, worker_main; run_main(worker_main)"
3. "C:\Program Files (x86)\Calibre2\calibre-parallel.exe"
4. "C:\Program Files (x86)\Calibre2\calibre-parallel.exe" --pipe-worker "from calibre.gui2.tweak_book.completion.worker import run_main, main; run_main(main)"
5. "C:\Program Files (x86)\Calibre2\calibre-parallel.exe"

The 3rd process is the parent of the last 2.

I don't know if this is strictly an editor issue, but can anyone explain why these processes seem to just just hang around and increase in number as time goes on?
Phssthpok is offline   Reply With Quote
Old 03-19-2015, 12:58 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,012
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Preferences: Miscellaneous: (first line)

also
Preferences: Behavior: Job Priority
theducks is offline   Reply With Quote
Advert
Old 03-19-2015, 02:07 PM   #3
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Thanks for answering, but your answer doesn't help me much...
Quote:
Originally Posted by theducks View Post
Preferences: Miscellaneous: (first line)

also
Preferences: Behavior: Job Priority
Preferences: Miscellaneous: Max. simultaneous conversion/news download jobs: 3
... except I wasn't converting or downloading news.

Preferences: Behavior: Job Priority: Normal
... so why are these processes still there after many many hours?

I left the editor open all day while I did other things. All 5 processes were still running just prior to coming here to post this reply. I closed the editor, leaving only the main Calibre window open, and that got rid of (3) and its two children, (4) and (5). Processes (1) and (2) are still there, and from past experience will stay there until I kill them manually. And gradually, if left to themselves, more and more processes will accumulate...

Last edited by Phssthpok; 03-19-2015 at 02:14 PM.
Phssthpok is offline   Reply With Quote
Old 03-19-2015, 02:41 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
It is entirely natural that calibre components currently running will take up memory, but they shouldn't be left behind after you close calibre.

I don' know what precisely they may be doing (calibre-parallel is the calibre worker processes that carry out miscellaneous "stuff") but they are most likely doing something. To put it in perspective -- I don't think I've ever seen calibre running and NOT seen at least one calibre-parallel process as well.

Is it slowing down your system?
eschwartz is offline   Reply With Quote
Old 03-19-2015, 04:29 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,012
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I use Priority LOW

Some Worker Processes are Polling FOR work to be done:
Content Server is one

Wireless Device connection? (I don't see a process without a device)
theducks is offline   Reply With Quote
Advert
Old 03-19-2015, 10:00 PM   #6
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: 45,307
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Worker processes are used for many things in calibre, but they are always killed when quitting calibre. If that is not happening on your system there is something wrong with your system. And note that worker processes are all designed to sleep unless they are actually doing something, so they dont use any resources. For example, the calibre GUI will keep a single worker process in standby so as to to be able to add/save books fast without waiting for worker startup (which is slow in python). Similarly, the editor will keep two standby processes per instance, used for rendering the preview panel and auto-complete. Neither of these processes actually run unless there is work to be done.

In your list below, 1. look suspicious, that is a short lived worker process used to move books to the recycle bin when deleting books. If it is hanging around then it is likely that something is wrong witht he recycle bin on your system.
kovidgoyal is offline   Reply With Quote
Old 03-20-2015, 08:34 AM   #7
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by kovidgoyal View Post
In your list below, 1. look suspicious, that is a short lived worker process used to move books to the recycle bin when deleting books. If it is hanging around then it is likely that something is wrong witht he recycle bin on your system.
Thanks, I'll look into this. Typically I leave Calibre often for days at a time when I'm organising things so I don't have to find my way back to where I was each time, but I find I have to close Calibre completely every so often, otherwise the system starts slowing down and eventually after a few days it thrashes its way to a complete standstill.
Phssthpok is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre-Parallel.exe Seeking Internet Access ddjohn Calibre 10 09-14-2013 07:46 AM
Calibre-parallel.exe Indigo55 Library Management 3 10-05-2012 11:52 PM
calibre-parallel.exe twice? sideburnt Calibre 12 03-24-2012 08:51 PM
calibre-parallel.exe crashes on book import domee Calibre 2 07-06-2011 08:06 AM
Particular .lit files causes calibre-parallel.exe to crash Barty Calibre 1 12-31-2010 06:17 PM


All times are GMT -4. The time now is 07:08 PM.


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