2017-06-13 15:32:04,130 [S3] [4] INFO - Uploading part, bucket: backup, key: MBS-8b64a841-3881-4666-b0af-2d4d67e1a801/CBB_SPACE-AD1/CBB_DiskImage/Disk_00000000-0000-0000-0000-000000000000/Volume_NTFS_00000000-0000-0000-0000-000000000001:/20170613050109/0.cbrevision, uploadId: 3f7dd49e7f56b9d000de643029613621, partNumber: 3616, length 10 MB(10485760)
2017-06-13 15:32:04,692 [CL] [9] INFO - Chunk 3618 for backup/MBS-8b64a841-3881-4666-b0af-2d4d67e1a801/CBB_SPACE-AD1/CBB_DiskImage/Disk_00000000-0000-0000-0000-000000000000/Volume_NTFS_00000000-0000-0000-0000-000000000001:/20170613050109/0.cbrevision is ready for transfer. Size: 10485760. Start offset: 37926993920
2017-06-13 15:32:07,858 [CL] [6] ERROR - Command::Run failed:
UploadChunk; Source:05263e28-0ea3-4b27-91e2-8d77d314fcb4; Destination:/backup/MBS-8b64a841-3881-4666-b0af-2d4d67e1a801/CBB_SPACE-AD1/CBB_DiskImage/Disk_00000000-0000-0000-0000-000000000000/Volume_NTFS_00000000-0000-0000-0000-000000000001:/20170613050109/
System.NotSupportedException: The stream does not support concurrent IO read or write operations.
at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
Is this an config issue? Any help appreciated.
Hi,
Could you try to set the large_object.reading_chunked_obj_len in
leo_gateway.conf to less value like 131072 (means 128KB)?
Since the default (5242880 in bytes := 5MB) has been chosen for
relatively broad bandwidth environments,
Hi Vladimir,
> Could you please explain the difference between lowering "large_object.reading_chunked_obj_len" and raising "http.timeout_for_body"? I mean, why lower the first instead of raising the second, are there some advantages? Can some problems arise from having "large_object.reading_chunked_obj_len" few times lower than "large_object.chunked_obj_len" (first 128KB, second 5MB, as per your suggestion)?
Good point.
Please check the preview docs I'm now writing up here:
https://mocchira.github.io/leofs/faq/administration/#what-should-i-do-when-a-timeout-error-happen-during-upload-a-very-large-file
That said, logically it's same between lowering the buffer size and
raising the timeout.
However there is one benefit using the former one(tweaking the buffer
size) rather than the latter.