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.

Feature request: Worker port ranges and/with nprocs support

See original GitHub issue

I think it would be quite useful for dask-worker to support --nprocs with --foo-port=[range] so that systems with specific port ranges opened can have a number of processes opened from one call applied to a specified range opposed to having to write a shell loop to do the same.

Further, general support for port ranges and failing over to the next available port in a range if the current is taken would probably be quite useful in a similar situation as that described above.

Thanks.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
stuartarchibaldcommented, May 11, 2020

Thanks for implementing this @jrbourbeau!

2reactions
stuartarchibaldcommented, Mar 14, 2017

I think being able to express a port range for each component would be ideal thanks. Something like:

dask-worker --nprocs=16 --worker-port=5000:5100 --http-port=6000:6100

which would start 16 worker processes bound to free ports between 5000 and 5100 and the same with http but s/5/6/g. This is with view of use cases where open ports are restricted to some particular range but some external reason requires computation to be undertaken in separate processes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: Port Forwarding Range - eero Community
We have some tools on the backend that can quickly create these larger ranges. Please feel free to give us a call at...
Read more >
NiFi System Administrator's Guide - Apache NiFi
The following table lists the default ports used by NiFi and the corresponding property ... There is a feature request here to help...
Read more >
How to configure RPC to use certain ports and how to help ...
First, the RPC dynamic port range should be restricted to a smaller, more manageable port range that is easier to block by using...
Read more >
Configurable port orientation in Web UI and App
Feature Request : Configurable port orientation in Web UI and App ... and with "Port 16" in the top left position (with "Port...
Read more >
RFC 7605 - Recommendations on Using Assigned Transport ...
Recommendations on Using Assigned Transport Port Numbers (RFC 7605) ... Internet Engineering Task Force (IETF) J. Touch Request for Comments: 7605 USC/ISI ...
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