# What causes the delay when adding procs

**URL:** <https://discourse.julialang.org/t/what-causes-the-delay-when-adding-procs/87344>\
**Category:** General Usage\
**Created:** [September 16, 2022, 4:04am UTC](https://discourse.julialang.org/t/what-causes-the-delay-when-adding-procs/87344 "2022-09-16T04:04:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)\
**Post date:** [September 16, 2022, 4:04am UTC](https://discourse.julialang.org/t/what-causes-the-delay-when-adding-procs/87344/1 "2022-09-16T04:04:36Z")

</div>

I am using `ClusterManagers.jl` and `Distributed.jl` to connect to a cluster. I’ve done this many times before and seem to understand how it all works, but something that eludes me is that when adding a large number of processors. It seems to “hang” for a good 5 - 10 minutes _after_ the last “connecting to worker 320 out of 320”

 ![image](https://global.discourse-cdn.com/julialang/original/3X/c/2/c20a4e54ece52eb3691fb0af55aa4764894fc6f4.png)

What can cause this delay?

In my case:

```julia
[affans@node004 htop-2.2.0]$ squeue
             JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
              9753 defq julia-35 affans R 13:04 10 node[001-010]

```

It seems that workers are up for 13 minutes now and still my main terminal is hang on the "connecting to … " part
