Set MALLOC_TRIM_THRESHOLD_ before interpreter start#6681
Set MALLOC_TRIM_THRESHOLD_ before interpreter start#6681crusaderky merged 1 commit intodask:mainfrom
Conversation
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 15 files + 3 15 suites +3 6h 48m 22s ⏱️ + 1h 57m 4s For more details on these failures, see this check. Results for commit 7cba62b. ± Comparison against base commit f7f6501. ♻️ This comment has been updated with latest results. |
f293599 to
7cba62b
Compare
| process running the Nanny. | ||
|
|
||
| For the same reason, be warned that changing | ||
| ``distributed.worker.multiprocessing-method`` from ``spawn`` to ``fork`` or |
There was a problem hiding this comment.
I get the problems with forkserver, but why fork? The variables should be set before the fork happens, right?
There was a problem hiding this comment.
It's because the MALLOC_TRIM_THRESHOLD_ variable is read when the glibc initialises itself, and in case of fork it's already initialised
This reverts commit 2fcd520.
Closes #5971