- From: Steven De Coeyer <
>
- To:
- Subject: [chef] Re: Chefspec Errno::ENOMEM
- Date: Tue, 11 Feb 2014 17:16:20 +0100
Curtis
It looks like your server is maxed out of free memory. It can no longer
allocate new memory to new processes.
You’ll have to upgrade your server memory or find out what’s taking up all of
the memory and do something about that.
Kind regards,
Steven
On 11 Feb 2014, at 16:58, Stewart, Curtis
<
>
wrote:
>
On a handful of recipes, we’re getting the following errors and cannot seem
>
to avoid them. The pattern appears to be with any `Mixlib::ShellOut`
>
commands.
>
>
Working in a chef-repo.
>
>
chef-client v11.8.0
>
chefspec v3.1.4
>
>
We’re currently running specs on our entire repo through a Jenkins server.
>
>
recipe code:
>
>
cmd1 = Mixlib::ShellOut.new("s3cmd info #{node[‘app']['s3_source']} | grep
>
MD5 | awk '{print $3}'").run_command
>
>
error:
>
>
Errno::ENOMEM:
>
Cannot allocate memory - fork(2)
>
>
>
>
Thanks,
>
Curtis
>
Archive powered by MHonArc 2.6.16.