question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: Is there an upper limit on number of workers?

See original GitHub issue

I’m getting a thread.error when using a gather operation on a large number of nodes. Might be related to the environment I’m operating in. Here’s the stack trace:

Traceback (most recent call last):
  File "/home/venabled/pysrc/navfeatdb/bin/distributed_air_extract.py", line 137, in <module>
    kp_list = executor.gather(r)
  File "/home/venabled/anaconda2/lib/python2.7/site-packages/distributed/executor.py", line 745, in gather
    return sync(self.loop, self._gather, futures, errors=errors)
  File "/home/venabled/anaconda2/lib/python2.7/site-packages/distributed/utils.py", line 108, in sync
    raise result[0]
thread.error: can't start new thread

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
toniatopcommented, Feb 20, 2017

It is surely late and probably not usefule, but the answer to your question is (in theory) yes. One could use: pbsdsh -v bash -l dask-worker scheduler to launch as many workers as cores available across all nodes

0reactions
mrocklincommented, Apr 13, 2016

Is there a way to tell Torque/PBS to run dworker itself, rather than running a shell and then ssh-ing into each machine?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wages and the Fair Labor Standards Act
There is no limit on the number of hours employees 16 years or older may work in any workweek. The FLSA does not...
Read more >
How the Government Measures Unemployment
The survey is designed so that each person age 16 and over (there is no upper age limit) is counted and classified in...
Read more >
Questions and Answers on Employer Shared Responsibility ...
In general, employers employing at least a certain threshold number of employees (generally 50 full-time employees including full-time ...
Read more >
Questions and Answers on the Final Rule Implementing the ...
This law made a number of significant changes to the definition of ... coverage to the maximum extent permitted by the terms of...
Read more >
2022 SPSL FAQs - California Department of Industrial Relations
The law limits the amount paid to the maximum of $511 per day or $5,110 in total. How do you calculate the leave...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found