From e101b931ace3f8d052657a54c0fd292e1020d1df Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 18 Mar 2017 15:33:56 +0100 Subject: executor: bump per-call timeout We've started seeing lots of vmalloc failures with the 200ms timeout. Turns out vmalloc has a check for fatal signals pending, so we were killing the process which caused vmalloc to fail. If vmalloc can take 200+ms, then we need to dump the timeout as it's not blocking that we want to catch. Bump the timeout to 500ms. --- executor/executor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/executor.cc b/executor/executor.cc index 1731fb4e3..63d66d435 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -287,7 +287,7 @@ void loop() executed_calls = now_executed; last_executed = now; } - if ((now - start < 3 * 1000) && (now - last_executed < 200)) + if ((now - start < 3 * 1000) && (now - last_executed < 500)) continue; debug("waitpid(%d)=%d (%d)\n", pid, res, errno0); debug("killing\n"); -- cgit mrf-deployment