NoMemoryError


#1

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?


#2

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 anasofia1072@gmail.com
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?


#3

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

On Mon, Aug 11, 2014 at 9:02 AM, Ana Ferreira anasofia1072@gmail.com
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 anasofia1072@gmail.com
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?


#4

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:

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 <anasofia1072@gmail.com
mailto:anasofia1072@gmail.com> 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?

#5

thank you for the reply

less /etc/passwd
S2K:x:1004:100::/home/S2K:/bin/tcsh

send attached the file with result of chef-client --force-logger -l debug

On Mon, Aug 11, 2014 at 5:04 PM, Ranjib Dey dey.ranjib@gmail.com wrote:

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

On Mon, Aug 11, 2014 at 9:02 AM, Ana Ferreira anasofia1072@gmail.com
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 anasofia1072@gmail.com
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?