[chef] Re: Re: NoMemoryError


Chronological Thread 
  • From: Ranjib Dey < >
  • To: " " < >
  • Subject: [chef] Re: Re: NoMemoryError
  • Date: Mon, 11 Aug 2014 09:04:51 -0700

can you share the debug log ? ( chef-client --force-logger -l debug)


On Mon, Aug 11, 2014 at 9:02 AM, Ana Ferreira < " target="_blank"> > wrote:
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.

§