komga: Chrome browser hang on large collection

Komga environment

  • Linux/Docker:
  • Xeon CPU E3-1230V3 with 32GB RAM:
  • I am running Komga with Docker
    • Docker image tag [v0.13.1]:
  • I have a problem in the web interface
    • Chrome Version 79.0.3945.130 (Official Build) (64-bit):

Describe the bug

Using Komga on my main collection of 7449 books is painfully slow. Browser becomes unresponsive. Thumbnail book cover take minutes to load and only on a few books. Very slow response from browser. Unable to click on anything.

Steps to reproduce

  1. Add library to komga.
  2. Let it analyze books. My collection is large so left it running for a few days.
  3. Log into Komga and see that it has detected all books.
  4. Thumbnail cover for all books seem to be generating live when using the browser.

Expected behavior

Able to use Komga with Chrome and not have it hang.

Additional context

I know you mentioned somewhere that you also have a large-ish collection. I’m not too sure why it hangs for me but you dont have issues with your own collection. My collection is all in zip files and on the HDD. I’m not using any cloud service etc.

It seems like Komga only generates thumbnails when the user is browsing the Komga interface. Is it not possible for Komga to make thumbnails for content somewhere and have it load up when browsing.

Log file

2020-02-05 05:30:02.651 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic book parsing
2020-02-05 05:30:02.651 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyze all books in status: unknown
2020-02-05 05:30:02.651 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyzed 0 books in 00:00:00.000 (virtual: 00:00:00.000)
2020-02-05 05:45:00.001 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic libraries scan
2020-02-05 05:45:00.002 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Updating library: Main, root folder: file:/books/
2020-02-05 05:45:00.002 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Scanning folder: /books
2020-02-05 05:45:00.003 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Supported extensions: [cbz, zip, cbr, rar, pdf]
2020-02-05 05:45:00.003 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Excluded patterns: [#recycle, @eaDir]
2020-02-05 05:45:02.629 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Scanned 1 series and 7449 books in 00:00:02.626
2020-02-05 05:45:02.630 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Library update finished in 00:00:02.628
2020-02-05 05:45:02.630 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic book parsing
2020-02-05 05:45:02.631 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyze all books in status: unknown
2020-02-05 05:45:02.636 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyzed 0 books in 00:00:00.000 (virtual: 00:00:00.000)
2020-02-05 06:00:00.000 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic libraries scan
2020-02-05 06:00:00.001 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Updating library: Main, root folder: file:/books/
2020-02-05 06:00:00.001 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Scanning folder: /books
2020-02-05 06:00:00.001 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Supported extensions: [cbz, zip, cbr, rar, pdf]
2020-02-05 06:00:00.001 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Excluded patterns: [#recycle, @eaDir]
2020-02-05 06:00:02.585 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Scanned 1 series and 7449 books in 00:00:02.584
2020-02-05 06:00:02.587 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Library update finished in 00:00:02.586
2020-02-05 06:00:02.587 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic book parsing
2020-02-05 06:00:02.587 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyze all books in status: unknown
2020-02-05 06:00:02.587 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyzed 0 books in 00:00:00.000 (virtual: 00:00:00.000)
2020-02-05 06:15:00.000 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic libraries scan
2020-02-05 06:15:00.001 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Updating library: Main, root folder: file:/books/
2020-02-05 06:15:00.002 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Scanning folder: /books
2020-02-05 06:15:00.002 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Supported extensions: [cbz, zip, cbr, rar, pdf]
2020-02-05 06:15:00.002 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Excluded patterns: [#recycle, @eaDir]
2020-02-05 06:15:02.626 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Scanned 1 series and 7449 books in 00:00:02.624
2020-02-05 06:15:02.628 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Library update finished in 00:00:02.626
2020-02-05 06:15:02.628 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic book parsing
2020-02-05 06:15:02.628 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyze all books in status: unknown
2020-02-05 06:15:02.635 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyzed 0 books in 00:00:00.000 (virtual: 00:00:00.000)
2020-02-05 06:30:00.000 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic libraries scan
2020-02-05 06:30:00.003 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Updating library: Main, root folder: file:/books/
2020-02-05 06:30:00.003 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Scanning folder: /books
2020-02-05 06:30:00.003 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Supported extensions: [cbz, zip, cbr, rar, pdf]
2020-02-05 06:30:00.003 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Excluded patterns: [#recycle, @eaDir]
2020-02-05 06:30:02.688 INFO 1 --- [nTaskExecutor-1] o.g.k.domain.service.FileSystemScanner : Scanned 1 series and 7449 books in 00:00:02.685
2020-02-05 06:30:02.690 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Library update finished in 00:00:02.687
2020-02-05 06:30:02.690 INFO 1 --- [nTaskExecutor-1] o.g.k.a.service.AsyncOrchestrator : Starting periodic book parsing
2020-02-05 06:30:02.691 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyze all books in status: unknown
2020-02-05 06:30:02.705 INFO 1 --- [nTaskExecutor-1] o.g.komga.domain.service.LibraryScanner : Analyzed 0 books in 00:00:00.000

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

I am trying to index 4800 files in one folder to see what i get 😃 Will let you know.