![]() |
#31 |
Groupie
![]() Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
|
How about this? I find with windows process monitor that my calibre process is making over 2 million disk writes to update a few tags on one book. author, title, 'tags'.
Is that to be expected? and I notice that the monitor reports a different 'write' operation for each 4 bytes. Like 20 consecutive bytes written would require 5 write operations. that surely is wrong? and what module is responsible for that? on the windows end or on the calibre end? Last edited by abrogard; 03-12-2025 at 09:12 PM. |
![]() |
![]() |
![]() |
#32 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,955
Karma: 26594922
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Definitely not. It does no such thing. You definitely have some software on your machine interfering with calibre.
|
![]() |
![]() |
![]() |
#33 | |
Groupie
![]() Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
|
Quote:
I'v zipped up a segment of the monitor output in libre calc format and attached it. |
|
![]() |
![]() |
![]() |
#34 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,955
Karma: 26594922
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That just means there is something on your machine inserting code into the calibre process. Sadly the windows ecosystem is full of such junk.
|
![]() |
![]() |
![]() |
#35 |
Groupie
![]() Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
|
You're saying it is a corrupt calibre install or you're saying that as calibre.exe runs the write functions are intercepted or such?
Any ideas on how to deal with it? I never heard of 'inserting code' into a running process... how's that done? and how does it get found out? You didn't look at the logfile did you? |
![]() |
![]() |
![]() |
#36 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,485
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Can you post a list of all the processes that are running - e.g. from ProcessExplorer
BR |
![]() |
![]() |
![]() |
#37 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,955
Karma: 26594922
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
No I didnt look at the log file, it's pointless I know perfectly well that calibre does not make 2 million writes when updating metadata for a single book. So they cant be coming from calibre code, a metadata update is literally updating a few rows in a sqlite database, proportional to the number of columns/fields you have in your library. And then there will be an eventual backup which is another single write to an OPF file. |
|
![]() |
![]() |
![]() |
#38 | |
Groupie
![]() Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
|
Quote:
and in that direction my underlying point was that perhaps there would be something in the output that might be of interest and give some leads as to where to look. which I think is a perfectly reasonable attitude. And if you don't then that's okay and just adds information about yourself. I appreciate your help and interest. I appreciate anyone's help and interest. |
|
![]() |
![]() |
![]() |
#39 |
Groupie
![]() Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
|
Yep. I've attached the output.
|
![]() |
![]() |
![]() |
#40 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,755
Karma: 59473090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I see a Google drive process running.
Calibre (the Library folder) is NOT compatible with Google drive. Make 100% sure the Library folder is located elsewhere (lot a GD monitores folder) |
![]() |
![]() |
![]() |
#41 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,485
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I looked at the log, it's the updating of the SQLite database that chewing up the time, the metadata.opf activity is diddlysquat. What appears to be temporary file I/O in the root of the config directory surprised me… calibre normally does such things in its cache directory.
Re Process Explorer. Nothing leapt off the page, just a couple of "I wonder what that is, and why is he running that. " Can you try without running calibre when Firefox is not running. I recently discovered Firefox was making my system unstable… such as unwanted reboots… disabling DuckDuckGo Privacy Essentials seems to have fixed it. Seeing as how the problem manifests in Windows Safe Mode, could you run calibre under it again and capture another ProcExplorer list. BR |
![]() |
![]() |
![]() |
#42 | |
Groupie
![]() Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
|
Quote:
the library is on the actual hard drive, quite for sure. I moved it there. copied it over via usb stick, ' sneakernet'. |
|
![]() |
![]() |
![]() |
#43 | |
Groupie
![]() Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
|
Quote:
I'm busy writing a copy to usb again. I intend to move it to another machine and see if the problem persists there. I will do the safe mode reboot and try when that copy finishes - takes forever. you mean run without firefox running I think? I've tried that. didn't help. ![]() Last edited by abrogard; 03-13-2025 at 12:21 AM. |
|
![]() |
![]() |
![]() |
#44 |
Groupie
![]() Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
|
Here we are. Safe mode. No Firefox. Still takes forever.
And here is the process explorer output. I did get the library onto another machine and ran it there. No trouble at all. So without doubt it is a Windows problem or, we could say I suppose, a possible windows/calibre conflict. There's not just me experiencing this. Anyway here is the process explorer output for that session in safe mode. It'll be lovely if it reveals something to someone somewhere, this is a real hassle. ![]() |
![]() |
![]() |
![]() |
#45 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,543
Karma: 9250680
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
It's not a general and widespread problem. Seems a problem on your system. I am a Windows 10 and now 11 user and haven't experienced the problem you describe.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tags not stored when saving to disk? | Phssthpok | Library Management | 14 | 11-09-2018 01:48 AM |
Saving to disk doesn't write all the metadata into the PDF | 1gnition | Library Management | 3 | 08-15-2013 04:28 AM |
How did kobo write such slow software? | notzed | Kobo Developer's Corner | 4 | 01-15-2013 11:12 PM |
Save to disk and Tags | tselling | Calibre | 2 | 08-30-2009 09:05 PM |
Write Fast, Write Slow? | Moejoe | Writers' Corner | 14 | 03-25-2009 09:55 AM |