函数计算FC换了个模型后,怎么一直是in queue?换回来还是queue?

函数计算FC换了个模型后,怎么一直是in queue?换回来还是queue?webui不稳定,一直假死 "errorMessage": "Process exited unexpectedly before completing request (duration: 1001ms, maxMemoryUsage: 0.00MB)"10月5日 19:45

展开
收起
三分钟热度的鱼 2023-10-10 16:25:16 131 分享 版权
1 条回答
写回答
取消 提交回答
  • 函数执行异常退出,报错Process exited unexpectedly before completing request怎么办?

    https://help.aliyun.com/zh/fc/support/how-to-handle-the-process-exited-unexpectedly-before-completing-request-error?spm=a2c4g.11186623.0.i66

    函数执行异常退出,可能存在以下问题,你可以根据不同问题采取不同的措施。
    函数本身逻辑错误,多见于下游数据库问题,示例代码如下。您可以增加日志功能,根据日志调试解决。
    -- coding: utf-8 --
    import os

    def handler(event, context):
    os._exit(-1)
    return 'hello world'
    如果您的函数是Custom Runtime或者Custom Container函数,可能创建HTTP Server时,Connection未设置为Keep-Alive,且函数的执行超时时间小于15分钟。更多信息,请参见HTTP Server配置要求。

    2023-10-13 11:04:32
    赞同 展开评论

快速交付实现商业价值。

还有其他疑问?
咨询AI助理