2024-11-04, 01:05 PM
I just upgraded my system to 10.10.0 and after a couple days, I noticed that my system was lagging really bad. Media would only play for a few minutes then stop, transcoding wouldn't work at all, and many times, I couldn't even connect to the server. I went to the computer hosting the server to see what was going on. I noticed that on the computer's hard drive, there was only 24MB of space left. That should not have been possible because there is over 300GB of space there after all programs are installed.
I ran WinDirStat to see where all of the space was going and it was Jellyfin. Specifically, the temp folder created under AppData. The folder had a ton of files in it. Windows Explorer tried counting the number of items in it, but froze up after 23 Million. I was able to pull a log eventually and saw that the directory was being created by the Trickplay process in Jellyfin. After checking the logs, I stopped the server and tried to delete the temp folder. That did not work, because Windows Explorer kept trying to index the folder prior to deletion. I eventually resorted to renaming the folder and using a PowerShell command to force the delete.
My Trickplay was set up to make a frame every 10s (10,000ms). For a 3-hour movie, that would be 1080 image files. Since over 23 million files were found in the temp folder, I have to assume there is something broken somewhere. Assuming all of my content is 3-hours long (which it is not), 23M files would imply that my system has a minimum of 22,300 movies in it. I can assure you, it does not.
I have since gone thru each library and disabled Trickplay. I can't seem to find an option anywhere to limit the use of the temp folder.
I ran WinDirStat to see where all of the space was going and it was Jellyfin. Specifically, the temp folder created under AppData. The folder had a ton of files in it. Windows Explorer tried counting the number of items in it, but froze up after 23 Million. I was able to pull a log eventually and saw that the directory was being created by the Trickplay process in Jellyfin. After checking the logs, I stopped the server and tried to delete the temp folder. That did not work, because Windows Explorer kept trying to index the folder prior to deletion. I eventually resorted to renaming the folder and using a PowerShell command to force the delete.
My Trickplay was set up to make a frame every 10s (10,000ms). For a 3-hour movie, that would be 1080 image files. Since over 23 million files were found in the temp folder, I have to assume there is something broken somewhere. Assuming all of my content is 3-hours long (which it is not), 23M files would imply that my system has a minimum of 22,300 movies in it. I can assure you, it does not.
I have since gone thru each library and disabled Trickplay. I can't seem to find an option anywhere to limit the use of the temp folder.