Server maintenance leads to excessive resource utilization

At this time I believe I have a set of files that is causing the issue and I have yet to narrow it down to any one particular file…It appears to be most of a season of a popular dancing show.

I can move the offending season off to an area of the array that isn’t part of my plex library, let the maintenance run, and no excessive memory usage occurs.

I moved the whole folder back and was able to get it to OOM crash again on the first try.

I’ll put the whole thing in an uncompressed zip and send you a link so you can reproduce.

All the offending files seem to have the same error from FFMPEG in common:

Application provided invalid, non monotonically increasing dts to muxer in stream 0: 67546 >= 67546

with the numbers continuously incrementing higher as it crawls the frames of the file.

edit: I find it odd that I can’t seem to find these files being mentioned in the logs as having analysis issues but I could see the server just sitting on this season in the dashboard crunching away.

1 Like

Yeah, your logs never showed any errors. Happy to pass those files along to our team to take a look at the error.

PM sent. Sorry it took a while my upload speed is not great.

For those of you who have been following my journey in troubleshooting this, it would appear damaged/improperly encoded files seem to play a large part in causing this issue and they may not necessarily be mentioned in the logs at all.

My “killer files” were not flagged as having issues by Plex’s analyzer. Check your logs and also watch your server dashboard info while the issue is happening, it may point you to the bad files.

EDIT: Happy to report that it has been several days with no crashes. It appears those files were the problem.

I’m not using docker, so I don’t have a way to limit Plex. I’d like Plex to have a setting to limit the RAM usage to a percentage of available. Maintenance tasks push my system to 97% used every time to the point of non-responsiveness.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.