Problem Description: Problem encountered: An independent server with mediacms installed, when I try to upload 10 media files at the same time, the size of a single file is 1G (actually uploading one by one), and ffmpeg starts transcoding after the first file is uploaded. At this time, ffmpeg will eat up all the memory, causing some subsequent file uploads to fail. At the same time, because ffmpeg eats almost 100% of the memory, the linux system will run abnormally until it crashes. Is there a solution for this?
Update: Situation supplement: After increasing the physical memory, the problem of memory usage during ffmpeg transcoding has been solved. It's just that the issue of multiple file boarding failures remains unresolved.
Status update: There is no problem in concurrent uploading of small files in the test, but the problem of concurrent uploading of large files (average 1.4G for a single file) still exists. In addition, it is found that some special characters in the file name to be uploaded may cause some errors.
Problem Description: Problem encountered: An independent server with mediacms installed, when I try to upload 10 media files at the same time, the size of a single file is 1G (actually uploading one by one), and ffmpeg starts transcoding after the first file is uploaded. At this time, ffmpeg will eat up all the memory, causing some subsequent file uploads to fail. At the same time, because ffmpeg eats almost 100% of the memory, the linux system will run abnormally until it crashes. Is there a solution for this?
Update: Situation supplement: After increasing the physical memory, the problem of memory usage during ffmpeg transcoding has been solved. It's just that the issue of multiple file boarding failures remains unresolved.
Status update: There is no problem in concurrent uploading of small files in the test, but the problem of concurrent uploading of large files (average 1.4G for a single file) still exists. In addition, it is found that some special characters in the file name to be uploaded may cause some errors.
The situation when an error occurs is as follows:![Capture1](https://github.com/mediacms-io/mediacms/assets/22068633/cd05859d-28d8-4f21-ab57-5516d09b18c0)