Re: [LTP] LTP: memcg_stress_test hanging whole box

Nikola Ciprich
2011-11-29T22:03:25Z

[-- Attachment #1.1: Type: text/plain, Size: 1445 bytes --]

> I have also seen some hangs with memcg_stress test on some of my x
> machines. But this is not consistent for me as the same set of tests
> works fine on one machine and hangs on other. Yes this is not expected
> behavior and ideally tests should complete. Can you please give a try
> after changing swap space to twice the size of RAM? Also can you paste
> here the the exact process which is hanging for you i.e. paste the
> output of 'ps -ef | grep ltp' during the system hang state.

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

>
> Thanks,
> Shubham