diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-03-18 15:33:56 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-04-25 14:44:13 +0200 |
| commit | e101b931ace3f8d052657a54c0fd292e1020d1df (patch) | |
| tree | bef79a1360eaeceb887feb414c526076f1fa255b /executor | |
| parent | 15434a7baf29b034efb5ecabf84918d952d54f3c (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')
| -rw-r--r-- | executor/executor.cc | 2 |
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"); |
