PMS hanging or crashing more frequently

Server Version#: 1.41.1.9057 (Linux/docker image)

I’ve experienced some crashes/hangs lately. Today I came back and plex server was still running but all requests would hang. I collected this from 4 different log file:

From Plex Media Server.log

Nov 07, 2024 17:50:16.017 [23031169948472] ERROR - [CreditsDetectionManager] SQLITE3:0x80000001, 11, database corruption at line 85253 of [a29f994989]

Nov 07, 2024 17:50:16.017 [23031169948472] ERROR - [CreditsDetectionManager] SQLITE3:0x80000001, 11, database corruption at line 72836 of [a29f994989]

Nov 07, 2024 17:50:16.017 [23031169948472] ERROR - [CreditsDetectionManager] SQLITE3:0x80000001, 11, statement aborts at 41: [INSERT INTO 'activities' ('id', 'parent_id', 'type', 'title', 'subtitle', 'scheduled_at', 'started_at', 'finished_at', 'cancelled') VALUES (:activities_id, :activities_parent_id, :activities_type, :activities_title, :activities_subtitle, :activities_scheduled_at, :activities_started_at, :activities_finished_at, :activities_cancelled)] database disk image is malformed

Nov 07, 2024 17:50:16.017 [23031169948472] ERROR - [CreditsDetectionManager] Saving activity history aborted with soci exception: sqlite3_statement_backend::loadOne: database disk image is malformed

From Plex Media Scanner Credits.log

Nov 07, 2024 17:50:02.508 [22695872175872] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/config/Plex\ Media\ Server/Codecs/7592546-570471557d92948f58893deb-linux-x86_64/' "/usr/lib/plexmediaserver/Plex Transcoder" -codec:v hevc -y -threads 8 -skip_frame noref -ss 1563 -i "/data/media/tv/TV - WEBDL-1080p.mkv" -vf "[in]fps=0.5,scale=w=320:h=320:force_original_aspect_ratio=increase,showinfo[out]" -vsync passthrough -f image2 "thumb-%05d.jpeg"
Nov 07, 2024 17:50:02.508 [22695872175872] DEBUG - [JobRunner] In directory: "/config/transcode/PlexCreditsDetection-49cac829-e1ab-4bd9-a1d7-80f7ef2b2b3e"
Nov 07, 2024 17:50:02.508 [22695872175872] DEBUG - [JobRunner] Jobs: Starting child process with pid 28842
Nov 07, 2024 17:50:07.570 [22695872175872] ERROR - BufferingLineReader: failed to read line (error: -1)
Nov 07, 2024 17:50:07.570 [22695868934912] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 28842 is 0 (success)

From Plex Media Scanner Analysis.log

Nov 07, 2024 17:49:32.309 [22549982076672] DEBUG - [HCl#2] HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Nov 07, 2024 17:49:37.314 [22549885197056] DEBUG - [HttpClient/HCl#2] HTTP simulating 408 after curl timeout
Nov 07, 2024 17:49:37.314 [22549884914432] ERROR - HTTP 408 downloading url http://127.0.0.1:32400/library/changestamp
Nov 07, 2024 17:49:37.314 [22549982076672] ERROR - Exception thrown during analysis: Unable to allocate a changestamp from the server

I’m not sure which one will cause this to hang or crash. How can I investigate further?

Lets fix your bigger problem of a corrupt database first. That is probably causing secondary issues, that in turn are causing the performance issues you are having.
See:
ChuckPa DB repair tool

and https://support.plex.tv/articles/repair-a-corrupted-database/

OK! I ran through those steps and so far I don’t see any mention of a corrupt DB in the logs. I’ll keep an eye on this. Thank you!

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