|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#16 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
![]() Quote:
As part of my testing I frequently nuke the DB and rescan. But then, my test machine has only 600 books on it... |
|||
![]() |
![]() |
![]() |
#17 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#19 |
Bujavid tekikin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
Indeed. I'm interested to see that you can send books in lots of 1000 at a time-- CC invariably times out before book 500 or so, so I've not tried sending in large numbers.
I think that my WiFi connection and possibly the router is an issue, now that DoctorOhh mentions it: signal strength on my laptop is not a problem where it's located in my bedroom, but strength on my cellphone is another matter-- it's usually only at 50-75% and at certain areas in my room drops to a bar or less if I move around holding on to it. Might be time to check out signal boosting tricks on Lifehacker. The best place of course is close to the router, but that's in my stuffy box of a storeroom, and the kitchen has limited space for my laptop and my dad's at the same time, not to mention not enough power outlets. I'd prefer to use the LAN connection and eliminate WiFi interference on/from my laptop while leaving the phone downstairs to sync, but my router is one of those where wired and wireless connections seem to be on different subnets, so both have to be on WiFi. As it is, even when my laptop is upstairs with a good signal and my phone is downstairs close to the router, timeouts and errors do still occur. |
![]() |
![]() |
![]() |
#20 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
The first time I experimented 500, 1000, 1500, 2000 and came to the conclusion that the overall time per book got longer the larger the batch. The next time loaded all of my books I queued 10 - 1000 book jobs and let it go.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,087
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Screen timeout is set for 2 min I don't care if the screen times out as long as it does not sleep the network (and drop the connection ![]() VLC continues to play MP3's with a locked screen. ![]() I will try |
|
![]() |
![]() |
![]() |
#22 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
One easy test you could run is to start calibre in debug mode, connect your device to calibre then put it down for a while. When you come back calibre should still be connected and you should see "NOOP" messages arriving in the debug log every 10 seconds. |
|
![]() |
![]() |
![]() |
#23 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,087
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I just ran a set of tests: 500 and 1K, which ran perfectly. Notes: I was connected to the charger during this test The WiFi has always been in the same room The desktop (Calibre host) is wired, reserved IP, static port and always on (no automatic hibernate) Grr I hate it when system behavior changes. I really did try 2 or 3 different times before and just figured it was: WAD |
|
![]() |
![]() |
![]() |
#24 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@Sefiriot: by any chance on Aug 25 did you allow your device to report a CC crash?
We received a crash report saying that CC's database was closed (by what?) in the middle of receiving books from calibre. I am trying to figure out how that can happen. At the moment, the only thing that begins to make sense is that the CC user: 1) Connected to calibre 2) Started a long transfer (sent a lot of books) 3) Put CC into the background and started doing other things. It is conceivable that under these conditions, Android would close CC to recover memory, and therefore close the database. Unfortunately, CC has a background task running that would still be downloading books, and Android doesn't close that task. Result: this task would crash because its database is now gone. This is at best a theory, but it is the only one I have. Does the scenario apply to any of your crashes? Thanks. |
![]() |
![]() |
![]() |
#25 |
Bujavid tekikin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
Aug 25-- yes, that would likely have been me. The above scenario sounds like the background to both crashes that wiped the database, now you mention it.
Backgrounding CC however... there could be several points where it could've happened because of something I did: it's on a phone, and I had several messages coming in that night I responded to while CC was working. Responding only takes a matter of seconds though, and CC came back and was still responding after each time I skipped out to WhatsApp. I think the big one where manure finally hit the oscillating ventilation device would have been after calibre told me CC got disconnected, and CC was still stuck at the file transfer screen. I remember trying to get out to the home screen in hopes of restarting CC by force and failing: it was one of those really nasty hangs where hitting reset doesn't seem to work too well... IIRC it crashed soon after with a request to error report. Last edited by Sefiriot; 08-27-2013 at 03:52 AM. |
![]() |
![]() |
![]() |
#26 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I have made a change to verify that the db is still open every time the db is used. This won't slow down the normal case because Android keeps a cache of open databases and gives the cached value back. If the database had been closed, then it will take a bit longer, but this is better than (sometimes silent) death. This change will be in the next CC release, something that should come near the end of the week. I have also changed some things in when books being sent by calibre are stored into the DB. The existing version starts storing each book when the book arrives, something that works fine if the DB is running at full performance. However, if the DB has slowed down, then this method can make it even slower by having multiple "books" try to access the DB at the same time. It now uses a queue so only one book accesses the db at a time. |
|
![]() |
![]() |
![]() |
#27 | |
Bujavid tekikin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 139
Karma: 40366
Join Date: Aug 2013
Location: Malaysia
Device: LG G3 D855, Samsung Galaxy Note N7000
|
Quote:
![]() Looking forward to the new release with upcoming improvements; the on-device library count will hit 10k when I sync it in the morning and probably be at 11k by the next CC release, so I'll be happy to see what the new improvements do then. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Syncing Calibre Companion with already existing books | JimPAX | Calibre Companion | 1 | 08-13-2013 06:33 PM |
Calibre Companion Issues | cyndersk | Devices | 8 | 12-04-2012 12:02 PM |
Standalone content-server and Calibre Companion issues | duckpuppy | Devices | 2 | 11-08-2012 07:54 AM |
[Android App] Calibre Companion - experiences syncing a 2000+ book library | ellett | Devices | 33 | 08-26-2012 01:51 AM |
Problem syncing large library with iPad | timbgray | Apple Devices | 7 | 05-21-2010 03:08 PM |