Unresponsive shares and empty files


20_100

Recommended Posts

Hi

 

I use Unraid to backup files for a web app. 

During some peaks, hundreds of files can be queued to be processed.

The app downloads the file to a temp storage (unrelated to Unraid), then parses and analyses it, then copy it to the cloud for storage and to unraid for backup.

4 service workers actually work concurrently to process these queued files.

 

These files are between 50MB to 150MB

 

During the peaks, I have two problems

 

- Copying the files from the service worker drive to the share seems to work, but the target file is actually empty (0 byte). That one problem doesn't even happen only during peaks. It happens frequently even when the web app traffic is slow and there are not that many files to process.

 

- It gets worse and the share become unresponsive 

 

It happens multiple times a day, and I have many files which are 0 byte. They aren't originally 0, and the files stored in the primary location in the cloud are not empty. Only the unraid copies are empty.

 

One episode happened recently between 3:13 and 3:25 today

 

image.png.240611bd06f0bf42c68c152154ace468.png

 

 

The thing is for the first empty file, the one named AC0DDDF... , the app workers log don't show an error : the program thinks the file has been correctly copied to its destination, the unraid share.

 

For some of the other files, the worker crashed during the copy :

image.png.dd8b50ef50fc84b870b9904dba983c4b.png

 

After a few minutes the shares become responsive again.

 

A few remarks :

- I tried with and without using a cache pool. There are empty files on the cache pool drives if I use one.

- 2 workers (of the 4 total) run on a VM hosted on the same Unraid instances. 2 other workers are on a different servers. The 4 workers have the same issues.

- I have been having this issue for 2 years now

 

 

 

 

 

 

sunraid1-diagnostics-20211025-2059.zip

Edited by 20_100
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.