fscorrupt / Posterizarr

🖼️ Automated poster maker for Plex/Jellyfin/Emby.
107 stars 10 forks source link

[BUG] Posterizarr freezes and Stops Processing Further Movies Until Restart #132

Closed MMagTech closed 1 month ago

MMagTech commented 2 months ago

Describe the bug Posterizarr freezes on run and stops processing library. Restarting the app fixes the issue and it resume at movie where it froze

To Reproduce Restart posterizarr, begin scan and the issue will eventually happen again

Expected behavior Posterizarr freezes and needs to be restarted

Screenshots & Logs If applicable, add screenshots to help explain your problem.

Additional context Running latest tag on unRAID via community apps

ImageMagickCommands.log Scriptlog.log PlexLibexport.csv

fscorrupt commented 2 months ago

Hey, please change the loglevel in config.json from 2 to 3 (debug) and do an manual run via docker exec: docker exec -it posterizarr pwsh Posterizarr.ps1

Maybe there are errors in active session that are not getting logged, current logfile looks good tho.

Thanks!

MMagTech commented 2 months ago

Sure thing will report back

MMagTech commented 2 months ago

Hey, please change the loglevel in config.json from 2 to 3 (debug) and do an manual run via docker exec: docker exec -it posterizarr pwsh Posterizarr.ps1

Maybe there are errors in active session that are not getting logged, current logfile looks good tho.

Thanks!

Here are the logs with level 3 enabled. Posterizarr has been stuck on the last movie of the log for 5 minutes

ImageMagickCommands.log

PlexLibexport.csv

Scriptlog.log

hashtable.log

fscorrupt commented 1 month ago

Hey, please change the loglevel in config.json from 2 to 3 (debug) and do an manual run via docker exec: docker exec -it posterizarr pwsh Posterizarr.ps1 Maybe there are errors in active session that are not getting logged, current logfile looks good tho. Thanks!

Here are the logs with level 3 enabled. Posterizarr has been stuck on the last movie of the log for 5 minutes

ImageMagickCommands.log

PlexLibexport.csv

Scriptlog.log

hashtable.log

i cant find any information in logfile, have you seen any errors in your docker exec session during the freeze? Only thing i can imagine is HW ressource bottlenecks, please try latest version (docker restart) i added HW logging on top of logging.

fscorrupt commented 1 month ago

@MMagTech Hey, do you still have this issue?

MMagTech commented 1 month ago

Sorry been a busy few days. Yes unfortunately it still happens a few times a day. The initial run of all the media finished. Now it will randomly freeze when the Tautulli script runs for new media.

What log level to I need to enable for the hardware?

I’ve dug a little into docker and don’t see errors. Same with the system logs. System is running a 3900X and 64GB wouldn’t think it’s resource limited.

fscorrupt commented 1 month ago

Sorry been a busy few days. Yes unfortunately it still happens a few times a day. The initial run of all the media finished. Now it will randomly freeze when the Tautulli script runs for new media.

What log level to I need to enable for the hardware?

I’ve dug a little into docker and don’t see errors. Same with the system logs. System is running a 3900X and 64GB wouldn’t think it’s resource limited.

hmm really strange, no one ever reported something, i also never had this and im running it since the beginning.

im clueless right now if no errors are visible..

its just a resource logging on script start under the posterizarr logo in logging. image

MMagTech commented 1 month ago

Interesting. I noticed my free memory is really low even though the other values are more in line with yours. I wonder if that could be leading to the issue. I'll dig a little deeper. Either way it's not much of an issue. For now I just setup a cron job to restart Posterizarr every hour and it helps address the issue.

Screenshot 2024-07-22 093940

fscorrupt commented 1 month ago

More likely a local or hardware issue; the logs are good, and no other users have reported something like this. Closing it for now.