gpt4 book ai didi

amazon-web-services - CodeDeploy 错误无法分配内存 - su

转载 作者:行者123 更新时间:2023-12-04 08:06:56 24 4
gpt4 key购买 nike

codeeploy 在几次部署(php 应用程序)后失败并出现错误

"Cannot allocate memory - su" but in instance its sowing 51% memory in use.



可能是什么原因?
Error.
InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Error during perform: Errno::ENOMEM - Cannot allocate memory - su - /usr/share/ruby/open3.rb:211:in `spawn'
/usr/share/ruby/open3.rb:211:in `popen_run'
/usr/share/ruby/open3.rb:99:in `popen3'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/hook_executor.rb:141:in `execute_script'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/hook_executor.rb:115:in `block (2 levels) in execute'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/hook_executor.rb:103:in `each'
/opt/codedeploy-agent/lib/instance_agent/plugins/codedeploy/hook_executor.rb:103:in `block in execute'


[centos@ip-10-196-21-200 codedeploy-agent]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 41926416 21195568 20730848 51% /
devtmpfs 487892 0 487892 0% /dev
tmpfs 507480 0 507480 0% /dev/shm
tmpfs 507480 38336 469144 8% /run
tmpfs 507480 0 507480 0% /sys/fs/cgroup
tmpfs 101496 0 101496 0% /run/user/1000

最佳答案

CodeDeploy 代理中可能存在此内存泄漏问题:https://github.com/aws/aws-codedeploy-agent/issues/32

关于amazon-web-services - CodeDeploy 错误无法分配内存 - su,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46333202/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com