# Fault tolerant \`pmap\` when worker goes down

**URL:** <https://discourse.julialang.org/t/fault-tolerant-pmap-when-worker-goes-down/21648>\
**Category:** General Usage\
**Tags:** parallel\
**Created:** [March 8, 2019, 7:57pm UTC](https://discourse.julialang.org/t/fault-tolerant-pmap-when-worker-goes-down/21648 "2019-03-08T19:57:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [March 8, 2019, 8:03pm UTC](https://discourse.julialang.org/t/fault-tolerant-pmap-when-worker-goes-down/21648/2 "2019-03-08T20:03:52Z")

</div>

Answering myself: use `retry_delay` as in `pmap(x->(sleep(10); 0), 1:3, on_error=x->-1, retry_delays = zeros(3))`. Then killing one proc makes another then do the work. And apparently, killing all worker-procs makes the process 1 do it.

---

_[View the full topic](https://discourse.julialang.org/t/fault-tolerant-pmap-when-worker-goes-down/21648)._
