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:
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
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:
- How can the Temp folder be changed? This article provides steps to reconfigure the temporary directory used by MetaDefender Core to a different location with sufficient disk space: https://www.opswat.com/docs/mdcore/v5.9.0/knowledge-base/how-can-the-temp-folder-be-changed-
- What can I do when MetaDefender Core (Windows) has an insufficient disk space error? This article outlines methods to identify and resolve disk space issues impacting MetaDefender Core performance: https://www.opswat.com/docs/mdcore/knowledge-base/what-can-i-do-when-metadefender-core--windows--has-an-insufficie
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.
