Skip to contentSkip to conversation

lib/tst_test.c: add *cleanup() before exit

PATCH zhaogongyi 1 participant 1 message Nov 9, 2021

lore
Share & tools
lore

zhaogongyi

author
#0 lore raw

Hi Cyril,

It sounds pretty good and we would select a suitable oom_score value for library process(It seems that the child process will inherit the settings of the parent process).

And, in some stress test scenes, we might run LTP testcases with other testcases concurrently since the other testcases(for example: testcases in open_posix_testsuite) have no timeout limit or have no flexible timeout mechanism,

The stress test's main process would kill the testcase which is timeout.

Quoted 12 lines

Hi!

Quoted 3 lines

If we run the LTP testcases Concurrently, this might trigger the oom killer to kill the library process before the main process exit, and it might fill up the tmpfs through a long time running.

Then I guess we may as well adjust the oom_score for the test library process so that it's less likely to end up being killed.

--
Cyril Hrubis
[email protected]

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp