I’m trying to refresh all items for my entire library, as I did a few metadata agent changes, which will provide better thumbs for actors.
However, I started the “Refresh all metadata” already, but it seems to be stuck at “3 angels for charlie” “3 angels for charlie - full force” and “3 from hell”, as it seems these items won’t get finished processing (please see the screenshot). I’ve checked it and after these 3 movies the items won’t be refreshed. I waited for almost half an hour but nothing’s happening.
I even shut the server down entirely for 5 minutes and rebooted, started the refreshing again, but the refresh task gets stuck at the 3 movies again.
Is there anything that prevents them from being refreshed? Now most of my many, many movies don’t have actors at all, so I’d love if somebody came up with a solution or a hint where I might be mistaken.
After I rebooted the server all the items were refreshed fine and if the problem occurs again, e.g. I’ll have to refresh all metadata and it hangs I will instantly post here.
For now it finished with the correct metadata agents and I’m fine. Thank you for your attention still. I’ll post all logs and the clip once this problem occurs again
Suddenly, some of my movies don’t have posters at all and it seems like they cannot be grabbed from the metadata source, as the first entries are all blank (please see the screenshots).
Would I need to provide the same logs now?
They have all the other metadata, actors, description, extras etc. Only the posters seem to be broken suddenly.
If you have logs covering the refresh metadata period that resulted in this - please post.
We can concentrate on one movie, eg the one you selected above.
Does the problem remain when refreshing metadata data for that movie ? if it does, please attach the logs zip after doing that and waiting few minutes for any async activities. Also please provide media info xml so I can easily match to the log entries
See https://support.plex.tv/articles/201998867-investigate-media-information-and-formats/
Yes, the problem is the same when I refresh metadata manually. What I did was to manually refresh the metadata for the movie “Annihilation” and waited a few minutes. Please find the xml file and the logs attached.
Also, I started another refresh for the entire movie library, which is stuck again after the 3rd, 4th and 5th item of my library.
I don’t knwo which logs would cover the refresh all metadata event, so I’ve attached anything that I thought might be helpful, plus the xml file of Annihilation.
Is there anything else I can help you help me with?
I am sorry I am not going to look into this without the full zipped logs - there are also agent log files. Please do not be selective. Let me decide what I look at
Another Edit: I’m sorry for all the back and forth sa, but it seems like rebooting my computer where the PMS is installed on fixed the issue with the blank posters. I’d be happy, though if you might have a little more insight for me in order to prevent this behaviour in the future. I didn’t let a refresh all metadata run again, as I’m scared it will crash again
If there’s anything you’d still need please let me know
Thanks for the zip. If you have provided or can provide the logs captured after the reboot and the addition of the missing posters that might be useful
Seeing a lot of memory allocation failures in the log.
Does the server run for many hours before the problem arises?
Logs show errors like this
Mar 23, 2020 15:47:11.560 [30368] ERROR - Format [JPEG] - DIB allocation failed, maybe caused by an invalid image size or by a lack of memory
These are normally logged when Plex Media Server fails to get memory
We need to establish if there is a memory leak and how soon after launch these errors start.
If the problem is repeatable, you could attach System Internals VMMap to the Plex Media Server.exe process and watch the timeline - also would be useful to increase the number of log files -
I would like to see screenshots from VMMap showing memory use and also the timeline view
You could set it to 10 and grab logs when VMMap shows memory getting over 1Gb - the process has up to 4Gb of ram - would like to know if it is at that level when these errors start
Edit: I would also need the VMMap environment saved and provided as zipped mmp file
@SartBimpson - a question (unrelated to these memory allocation errors)
Is the Y: drive internal or network share Y:\Users\donat\AppData\Local\Plex Media Server
Network shares are not supported for the local app data as there are SQLite3 databases and these would end up with corruptions if located on a network share
About the memory issues I will provide you with the mmp zips and logs as soon as I find the time today, if I’ll be able to do that (never heard of this before ) and to answer your question:
No, the Y: drive is an internal drive right on my mainboard. It’s a 2TB Samsung NVMe M2 SSD, if that helps anything with comprehending the issue.
As both of my children are at home and it’s my weekend today, I’ll provide you with the necessary files as soon as I can (probably this evening in a few hours)
So I’ve set the LogNumFiles to 10 in the registry and restartet the PMS. I downloaded and VMMP is now running as an administrator and now I’m not quite sure when to save the .mmp file. As soon as the issue appears again @sa2000?
Also and on a side note: I read somewhere in the forums, that cleaning the cache in %LOCALAPPDATA%\Local\Plex Media Server\Cache\PhotoTranscoder
can help with the posters not being shown correctly. As far as I can tell this is the case now, as previously 50% of the posters weren’t shown on my external devices (except for the browser, but occasionally here as well). See the screenshots I posted a few days ago.
It was much worse before I deleted the phototranscoder cache. However, the posters are shown fine on my browser via app.plex.tv, I don’t know about other external devices, but it was like that on our Fire TV stick as well a couple of days ago. If that helps with anything.
On another side note this occurs only for the movie library.
EDIT: I’ll just attach the .mmp file from VMMP, as I think it hit 4GB already, didn’t it? (I selected “Plex Media Server” as the process, if that’s correct) And here are some fresh logs as well. I don’t know when I’ll be able to get back to the computer again today, sigh.
will have a look later today. There is a vmmap timeline view where you can see memory climbing and if it gets over 1Gb and continues to rise then to get the mmp file and logs