ECS:在大型远程对象的高复制并发期间,CopyObject 超时 500

Summary: 如果出现以下情况,用户可能会收到 500 超时错误以响应一个或多个 CopyObject 请求: 1.如果同一个 x-amz-copy-source 对象收到多个并发 CopyObject 请求 2.源对象大于 1 GB,保存源对象数据的区块不会复制到请求的站点。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

出现问题时,用户会看到对 CopyObject 操作的 500 错误响应,原因为 ServerTimeout。响应正文包含以下附加信息。
<Error>
    <Code>ServerTimeout</Code>
    <Message>We encountered an internal timeout error. Please try again.</Message>
    <Resource>bucket/object</Resource>
    <RequestId>0aece26b:18c57b06ec7:e3f:5a41d</RequestId>
</Error>

Cause

CopyObject 请求的一部分使用锁定机制在源对象上内部同步。同步部分所需的时间与对象的大小成正比。当有许多具有相同大型源对象的并发 CopyObject 请求时,等待锁定的请求队列将增长。当保存源对象数据的区块未复制到处理 CopyObject 请求的站点时,问题会更加严重,从而导致队列过大时超时。

Resolution

  • 重试失败的请求。
  • 使用相同的 x-amz-source-object 降低 CopyObject 请求的速度。
  • 如果上述步骤无法解决问题,请联系 Dell EMC 技术支持以获得帮助。
  • 验证以前由于 500 ServerTimeout 而失败的 CopyObject 请求现在是否成功。

Affected Products

ECS, ECS Appliance, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption
Article Properties
Article Number: 000223406
Article Type: Solution
Last Modified: 22 Mar 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.