简体   繁体   English

返回503服务的AWS SimpleDB BatchPutAttributes不可用

[英]AWS SimpleDB BatchPutAttributes returning 503 Service Unavailable

Some of my batch calls are working (5 out of 8 succeeded). 我的某些批处理电话正在运行(8个成功中的5个成功)。 I have no idea why the other 3 batch calls are not working, please can anyone help? 我不知道为什么其他3个批处理呼叫无法正常工作,请有人帮忙吗? I am doing batch calls of 25 every 10 minutes. 我每10分钟要进行25次批量呼叫。

Below is the ERROR logs: 以下是错误日志:

SimpleDB domain: "Error executing "BatchPutAttributes" on "https://sdb.eu-west-1.amazonaws.com"; AWS HTTP error: Server error: `POST https://sdb.eu-west-1.amazonaws.com` resulted in a `503 Service Unavailable

I think your batch put operations or the from other tenants are just exhausting the SimpleDB instance with regular operations. 我认为您的批处理操作或其他租户的操作只是用常规操作耗尽了SimpleDB实例。 The official documentation only says this about 503 error 官方文档只说这大约503错误

503 Service Unavailable 503服务不可用

Service Amazon SimpleDB is busy handling other requests, likely due to too many simultaneous requests. 服务Amazon SimpleDB正在忙于处理其他请求,这可能是由于同时请求过多。 Consider reducing the frequency of your requests, and try again 考虑减少请求的频率,然后重试

There is no limit mentioned in the official documentation about the frequencey of operations. 官方文档中没有提及有关操作频率的限制。 But you can try to check the response for BoxUsage element as mentioned here: 但是您可以尝试检查BoxUsage元素的响应,如下所示:

BoxUsage : The measure of machine utilization for this request. BoxUsage:此请求的机器利用率的度量。 This does not include storage or transfer usage. 这不包括存储或传输使用情况。

This may give you an indication about whether the machine handling your request is too busy. 这可能会提示您处理请求的计算机是否太忙。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM