开发者社区 > 云原生 > 正文

提示这样的错误,怎么回事?

提示这样的错误,

提问13.png

2022-10-10 18:40:23FC Invoke End RequestId: 062a219a-6651-4826-a9ea-4fd8509fa9d5, Error: Invocation canceled by client (duration: 23799ms, maxMemoryUsage: 0.00MB) 2022-10-10 18:40:28FC Invoke End RequestId: 9eaffc76-24d0-4f4d-9162-4a3ce50d1dbb, Error: Invocation canceled by client (duration: 23816ms, maxMemoryUsage: 0.00MB) 2022-10-10 18:40:34FC Invoke End RequestId: a7d09396-fe30-42e1-a84f-140c4793fdeb, Error: Invocation canceled by client (duration: 23476ms, maxMemoryUsage: 0.00MB) 2022-10-10 18:40:34FC Invoke End RequestId: f47e7576-5c1d-4168-80ba-053512ebd1df, Error: Invocation canceled by client (duration: 22759ms, maxMemoryUsage: 0.00MB) 2022-10-10 18:40:34FC Invoke End RequestId: 3bc89291-ef63-42b6-a270-f3dce69c5ea1, Error: Invocation canceled by client (duration: 23746ms, maxMemoryUsage: 0.00MB) 2022-10-10 18:40:35FC Invoke End RequestId: efc2c984-f0b9-408f-bcf8-1c98090bd330, Error: Invocation canceled by client (duration: 23751ms, maxMemoryUsage: 0.00MB) 2022-10-10 18:40:36FC Invoke End RequestId: 99e19796-3805-4c4e-b5e2-d589a19128b0, Error: Invocation canceled by client (duration: 23737ms, maxMemoryUsage: 0.00MB) 2022-10-10 18:40:50FC Invoke End RequestId: 8eeae978-f0c5-41b4-a83a-f6bc883942ad, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:03FC Invoke End RequestId: 08bfb649-1ed2-4056-86a9-3cd168a1bb63, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:08FC Invoke End RequestId: 39ee35dc-7aa8-43e0-8ea7-6b7311d82a9b, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:08FC Invoke End RequestId: a804bf20-58f6-4f72-9ae7-6e5059b647bf, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:08FC Invoke End RequestId: 24ed9154-df4c-497e-9ec2-bd55a52cabf2, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:09FC Invoke End RequestId: 61ed1c99-480c-4663-86be-1d0ea9ab00e1, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:09FC Invoke End RequestId: 35c77369-bd88-411f-8593-3a9d085f6260, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:09FC Invoke End RequestId: 9bf1974e-b13f-4f62-a4b6-54b5ee34466a, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:09FC Invoke End RequestId: 507064b7-8d30-45fc-af20-dea931ae2135, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:09FC Invoke End RequestId: 712f1cde-9db7-4d46-b343-f06aa5db5bfb, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:10FC Invoke End RequestId: 5887b0c2-6653-4d83-99b3-28019f573aed, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:10FC Invoke End RequestId: 304582d0-46f7-437a-a7dc-42ee8bd2c3ea, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB) 2022-10-10 18:41:10FC Invoke End RequestId: 5e960134-3cce-4677-88ec-cef67abac698, Error: Function timed out after 60 seconds (maxMemoryUsage: 184.17MB)

展开
收起
云上静思 2022-10-11 10:38:37 812 0
1 条回答
写回答
取消 提交回答
  • 这里的内存cpu资源使用量明显过高,单实例设置的并发度过高了,任务处理不过来就导致处理变慢然后超时a可以看下之前正常调用时并发数和占用的CPU、内存是多少,设置适当降低的并发数也可以重建个相同的测试函数参考这个链接用S工具进行压测看看应该调多少合适 https://docs.serverless-devs.com/fc/command/stress

    此答案来自钉钉群“阿里函数计算官网"

    2022-10-11 13:52:16
    赞同 展开评论 打赏
问答地址:

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
面向失败设计 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载