我在AWS中有一个由Elastic Beanstalk管理的Django API,其组成是EC2,RDS,存储是S3。
因此,上传文件工作正常,直到200MB,更多的时候,抛出以下异常:
The Postman app:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>500 Internal Server Error</title>
</head>
<body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.
</p>
<p>Please contact the server administrator at
root@localhost to inform them of the time this error
occurred, and the actions you performed just before this
error.
</p>
<p>More information about this error may be available
in the server error log.
</p>
</body>
</html>
Elastic Beanstalk日志:
MemoryError
During handling of the above exception, another exception occurred
有些观察: