aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-03-18 15:33:56 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-04-25 14:44:13 +0200
commite101b931ace3f8d052657a54c0fd292e1020d1df (patch)
treebef79a1360eaeceb887feb414c526076f1fa255b /executor/executor.cc
parent15434a7baf29b034efb5ecabf84918d952d54f3c (diff)
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.
Diffstat (limited to 'executor/executor.cc')
-rw-r--r--executor/executor.cc2
1 files changed, 1 insertions, 1 deletions
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");