dsfe167834 2019-07-30 22:23
浏览 64

aws lambda php运行时非常糟糕的核心转储

I tried setting up a php runtime as per the instructions at Amazon Lambda Customer Runtime for PHP but sometimes when I call it, it produces a core dump. Strangely enough, it's not every time that it does so. (it actually seems to do it within a minute or two of saving a change to a lambda script, and eventually when it starts working as expected, it won't do it again - however, it doesn't seem to matter how long I wait after posting a change, it will still occasionally core dump on the first few tries even after waiting a longer period of time)

I've tried different versions of php. I've tried different bootstrap files. I've tried increasing the memory up to 1024Mb (it rarely says it uses more than 50Mb)

How can I figure out why it is doing a core dump and/or prevent it from doing so?

EDIT:

Response:
{
  "errorType": "Runtime.ExitError",
  "errorMessage": "RequestId: eb30f24a-ab2f-475c-8418-4dbb0bfeda15 Error: Runtime exited with error: exit status 139"
}

Request ID:
"eb30f24a-ab2f-475c-8418-4dbb0bfeda15"

Function Logs:
START RequestId: eb30f24a-ab2f-475c-8418-4dbb0bfeda15 Version: $LATEST
/opt/bootstrap: line 7:     8 Segmentation fault      (core dumped) /opt/bin/php /opt/bin/runtime.php
END RequestId: eb30f24a-ab2f-475c-8418-4dbb0bfeda15
REPORT RequestId: eb30f24a-ab2f-475c-8418-4dbb0bfeda15  Init Duration: 119.05 ms    Duration: 459.03 ms Billed Duration: 600 ms     Memory Size: 1024 MB    Max Memory Used: 78 MB  
RequestId: eb30f24a-ab2f-475c-8418-4dbb0bfeda15 Error: Runtime exited with error: exit status 139
Runtime.ExitError
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
    • ¥15 Vue3地图和异步函数使用
    • ¥15 C++ yoloV5改写遇到的问题
    • ¥20 win11修改中文用户名路径
    • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
    • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
    • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
    • ¥15 帮我写一个c++工程
    • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
    • ¥15 关于smbclient 库的使用