out of memory : kill process 43460 (nova-api) score 66 or sacrifice child

asked 2016-10-06 01:41:20 -0600

SyCode7 gravatar image

I have battled over this error for the last 14 hours while trying to stack devstack Mitaka on Ubuntu 14.04 in a VM. The error basically states out of memory : kill process 43460 (nova-api) score 66 or sacrifice child I have a simple local.conf ... the system hangs endlessly after the error shows. I have tried to expand the memory from 20gb to 40 gb but no progress yet.

Does anyone have an idea as to how to overcome this challenge ? Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-10-06 09:33:08 -0600

That message is the OOM ('out-of-memory') killer running - it's trying to keep your system running by killing off the least important processes. There's a fairly complex scoring algorithm that decides what processes to sacrifice first - that's where the 'score' in your log messages comes from.

The question is.. what's the spec of your VM, and what's it actually doing? The outputs of 'free', 'top', and 'ps -aux' can be useful in determining what's actually eating all your memory. 20GB should be enough for a fairly decent Devstack install.

edit flag offensive delete link more


@tedlit. Many thanks for your response, I am now working on how to use those tools to investigate the reason for the unusual consumption of memory.

SyCode7 gravatar imageSyCode7 ( 2016-10-06 15:15:33 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-10-06 01:41:20 -0600

Seen: 1,245 times

Last updated: Oct 06 '16