[chef] Re: Re: NoMemoryError


Chronological Thread 
  • From: Lamont Granquist < >
  • To:
  • Subject: [chef] Re: Re: NoMemoryError
  • Date: Mon, 11 Aug 2014 09:21:57 -0700


I would venture a guess that the output from install_scos is huge and since it is buffering in memory it eventually runs the box out of RAM.

No idea why it differs based on command-line invocation vs not, I'm not familiar with that cookbook.

On 8/11/14, 9:02 AM, Ana Ferreira wrote:
" type="cite">
Hello, 

i'm sorry to bother, again.
i just started with chef, and run into a error I couldn't find the solution.

it takes a lot of time to run and i Get this error:

Running handlers:
[2014-08-11T14:41:38+01:00] ERROR: Running exception handlers
Running handlers complete

[2014-08-11T14:41:38+01:00] ERROR: Exception handlers complete
[2014-08-11T14:41:38+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 202.341075322 seconds
[2014-08-11T14:41:38+01:00] ERROR: execute[install_scos] (SCOS_rpm::last_comand line 6) had an error: NoMemoryError: failed to allocate memory
[2014-08-11T14:41:38+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

for the recipe attached. 
-----------the user S2K uses this shell : /bin/tcsh

when I run the command directly it works just fine. 
Do you have any ideia how to resolve this problem?

Kind regards,
Ana Sofia


On Mon, Aug 11, 2014 at 2:47 PM, Ana Ferreira < " target="_blank"> > wrote:

Hello,

I'm geting this error:

Running handlers:
[2014-08-11T14:41:38+01:00] ERROR: Running exception handlers
Running handlers complete

[2014-08-11T14:41:38+01:00] ERROR: Exception handlers complete
[2014-08-11T14:41:38+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 202.341075322 seconds
[2014-08-11T14:41:38+01:00] ERROR: execute[install_scos] (SCOS_rpm::last_comand line 6) had an error: NoMemoryError: failed to allocate memory
[2014-08-11T14:41:38+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

but when I run be hand it works perfetcly.
I'm sending the recipe. 

Can anyone help me?






Archive powered by MHonArc 2.6.16.

§