@jonatasgz
Thanks for these logs. They show me a great deal.
I immediately see the server working pretty hard performing intro detection.
If you look here –
- You see new media being scheduled for both Intros and Credits detection.
Both these processes take time (single thread of the CPU ; so not very fast on our Xeon E5 machines.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217113, 1 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217114, 2 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217116, 3 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217117, 4 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217118, 5 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217119, 6 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217120, 7 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217121, 8 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217122, 9 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217123, 10 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217124, 11 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217125, 12 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217128, 13 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217129, 14 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217130, 15 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217131, 16 pending.
Jul 05, 2023 11:29:03.978 [140459047299896] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 217132, 17 pending.
Jul 05, 2023 11:29:03.983 [140459047299896] DEBUG - Scheduling an intro detection job for Secret Invasion S01 (id: 215414)
Jul 05, 2023 11:29:03.983 [140459047299896] DEBUG - BackgroundTaskQueue: creating activity container for "media.generate.intros"
Jul 05, 2023 11:29:03.984 [140459047299896] DEBUG - Activity: registered new activity 5e2b4005-a12b-400f-889c-57e6f446e8d3 - "Detecting intros"
Jul 05, 2023 11:29:03.984 [140459047299896] DEBUG - Activity: registered new sub-activity d15e5c9d-a9e4-4165-97da-ee8586f4c9f4 - "Secret Invasion S01" parent: 5e2b4005-a12b-400f-889c-57e6f446e8d3 overall progress: 0.0% (0/1)
Jul 05, 2023 11:29:03.985 [140459045190456] DEBUG - Activity: updated activity 5e2b4005-a12b-400f-889c-57e6f446e8d3 - completed 0.0% - Detecting intros
Jul 05, 2023 11:29:03.988 [140459047299896] DEBUG - Scheduling an intro detection job for The Clearing S01 (id: 211263)
Jul 05, 2023 11:29:03.988 [140459047299896] DEBUG - Activity: registered new sub-activity 5a37951f-0d17-4633-9cdb-a94fce62eb4b - "The Clearing S01" parent: 5e2b4005-a12b-400f-889c-57e6f446e8d3 overall progress: 0.0% (0/2)
Jul 05, 2023 11:29:03.991 [140459047299896] DEBUG - Scheduling an intro detection job for Orphan Black S02 (id: 217115)
Jul 05, 2023 11:29:03.992 [140459047299896] DEBUG - Activity: registered new sub-activity 9a518b0d-9ee5-4e7b-a2d3-0ee5f3148c3f - "Orphan Black S02" parent: 5e2b4005-a12b-400f-889c-57e6f446e8d3 overall progress: 0.0% (0/3)
Jul 05, 2023 11:29:03.994 [140459047299896] DEBUG - Scheduling an intro detection job for The Idol (2023) S01 (id: 217127)
Jul 05, 2023 11:29:03.994 [140459047299896] DEBUG - Activity: registered new sub-activity 2b6f62c3-8b12-450d-9268-c94dfa1845df - "The Idol (2023) S01" parent: 5e2b4005-a12b-400f-889c-57e6f446e8d3 overall progress: 0.0% (0/4)
Jul 05, 2023 11:29:04.000 [140459063495480] DEBUG - Photo transcoder: Request for url [/library/metadata/217113/thumb/1688552797] (is local: 1 upscaled: 0)
Jul 05, 2023 11:29:04.003 [140459045190456] DEBUG - IntroDetector: Running intro detection for [215414] [Secret Invasion] [1]
- Later, After being restarted and resuming –
Finishing intro detection (part of the new media scan process)
Jul 05, 2023 12:05:52.882 [140459045190456] DEBUG - Activity: updated activity 5e2b4005-a12b-400f-889c-57e6f446e8d3 - completed 99.4% - Detecting intros
Jul 05, 2023 12:05:52.882 [140459045190456] DEBUG - IntroDetector: Less than half of episodes have an intro. Clearing intros for [208556]
Please explain how it gets ‘stuck’ ?
There are tasks which will take a long time on our xeon cpus because of the how the xeon works.