Re: [LTP] LTP: memcg_stress_test hanging whole box

Shubham Goyal
2011-12-02T17:30:27Z

On Wednesday 30 November 2011 03:33 AM, Nikola Ciprich wrote:
> Hello Shubham,
>
> I tried setting swap to 8GB, but the result is the same... the box gets into state
> that I can't login to it even after few hours, so hard reset is needed..
> When I have top started, I see a lot of memcg_process_stress processes.
> What is strange, when I start the test with swap disabled, memcg_process_stress processes
> just seem to eat all physical memory and then just sleep. OOM killer doesn't kill anything,
> but the box doesn't hang..
> weird..
> I'm wondering whether to report this to kernel list?
> or do You have any idea on where to look?
> cheers
> nik

Hi Nikola,

What I recently noticed was the controller test hang problem is coming
with old versions of LTP. I tried with latest release of LTP on the same
affected machine and I did not observed any test case or system hang. I
hope you are using latest LTP downloaded from 'ltp.sourceforge.net'?

There might be a issue with oom that it is not able to kill the memory
intensive process but you need to gather more information about the
hanging process first. You might want to run only the hanging test i.e.
memcg_stress and not complete LTP to narrow down the issue. Just check
whether you are able to reproduce the issue when only memcg_stress test
is running There are chances that test case itself has some issues.