Re: [LTP] LTP: memcg_stress_test hanging whole box

Shubham Goyal
2011-11-29T06:50:27Z

On Monday 28 November 2011 01:42 AM, Nikola Ciprich wrote:
> I hope I won't be bothering with dumb question, but I wasn't able to find any solution to my problem...
>
> I'm playing with LTP, and it works nice for me (few tests fail, but with obvious reasons, which I will fix,
> so this is Ok), but I'm having problem with memcg_stress test. It always almost immediately gets host machine to
> heavy swapping, and never finishes... when I had 2GB of swap, machine usually got into totally unusable state,
> when I lowered swap to 512M, I'm at least able to kill test after some time...
> I guess this is not expected behaviour, but my question is, what should I check to get this working properly?
> I'm getting same results for latest x86_64 2.6.32.x and 3.0.x. Testing machine has 4 cores and 4GB of RAM.
>
> Could somebody help me with that please?
>

Hi Nikola,

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.