Why am I getting "The stream does not support concurrent IO read or write operations" during file uploads to MetaDefender Core?

This article applies to all MFT versions.

Issue:

The error message “The stream does not support concurrent IO read or write operations” may appear during file uploads from Vault MFT. The issue is typically related to insufficient disk space on the MD Core installation drive, and not an issue with Vault’s streaming logic.

Process background:

When a file is submitted to MFT, it is then sent to MD Core via a REST API. MFT sends simultaneous HTTP requests to MD Core for analysis and retrieval.

example logs from MD Core nginx:

Copy

During the scanning process from MD Core, it creates temporary .tmp files in its Resources or Temp directory. These files are required for deep analysis and sanitization.

The screenshot below illustrates the behavior observed in the Resources folder after uploading a 10GB archive file through MFT.

If the MD Core installation drive (for example, E:\) runs out of available space:

  • MD Core cannot allocate additional temporary storage.
  • The scanning process fails.
  • The MFT will display the error message
Copy

Resolution:

Refer to the following articles for guidance on freeing up space on the installation disk or changing the temporary folder location to a drive with more available storage for processing temporary files:

If you require further assistance, please follow these instructions on How to Create Support Package?, before creating a support case or chatting with our support engineer.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard