trinity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* test processes are not all killed
@ 2017-08-01  9:38 Dai Xiang
  2017-08-01 15:38 ` Dave Jones
  0 siblings, 1 reply; 8+ messages in thread
From: Dai Xiang @ 2017-08-01  9:38 UTC (permalink / raw)
  To: trinity

Hi!
I use below cmds(with root permission) include trinity to test and find an interesting issue:

cmd="trinity -q -q -l off -s $seed -x get_robust_list -x remap_file_pages -N 999999999"
cd /tmp
chroot --userspec nobody:nogroup / $cmd 2>&1 &
pid=$!
sleep 300s
kill -9 $pid

Then after run finish, i use pgrep and find test process do not kill
while i think the test logic is right:

5292 trinity -q -q -l off -s 3648957937 -x get_robust_list -x remap_file_pages -N 999999999
5293 trinity-watchdo
5294 trinity -q -q -l off -s 3648957937 -x get_robust_list -x remap_file_pages -N 999999999
70558 trinity -q -q -l off -s 3648957937 -x get_robust_list -x remap_file_pages -N 999999999

I do some simple tests and all processes can be killed.

Does trinity suppress kill or it run at background can not use this
way to kill?

Thanks
Xiang

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-08-03  3:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-01  9:38 test processes are not all killed Dai Xiang
2017-08-01 15:38 ` Dave Jones
2017-08-02  3:09   ` Dai Xiang
2017-08-02 12:37     ` Dave Jones
2017-08-03  3:17       ` Dai Xiang
2017-08-03  3:22         ` Dave Jones
2017-08-02 14:57     ` Tommi Rantala
2017-08-02 16:41       ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).