How to use config.yml
@mattjala is already working on this.
Since Aug 25, 2026.
Assessment
This issue has not been assessed yet.
Description
In the windows system, I deployed an hsds using the file storage method. How can I deploy multiple hsds servers with different ports.I use the following command for deployment. And config.yml is located under the config folder
hsds --root_dir D:/hsds_data --host localhost --port 5101 --password_file config/passwd.txt --config_dir .\config --logfile hs.log
Under another project, I opened another command line to run hsds. At this time, I changed the port to 5199 and modified the parameters such as dn_port and head_port in config.yml, which were different from the first time. But at this point, an error was reported. I checked the log and found out
task: <Task finished name='Task-2' coro=<_run_app() done, defined at > exception=OSError(10048, "error while attempting to bind on address ('::', 6101, 0, 0): 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。")>......and`WARNING:root:process sn ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn0 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn1 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn2 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
WARNING:root:process dn3 ended, result: ('', None)
WARNING:root:_enqueue_output - ValueError (handle closed?): I/O operation on closed file
READY! use endpoint: http://localhost:5101`
I confirm that no other ports conflict with these two ports. It seems that my config.yml has no effect at all. It still uses the same configuration. I want to know how I can deploy multiple hsds on the same computer, and they use different ports
- Dominant language
- Python
- Stars
- 158
- Forks
- 61
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 6
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HDFGroup/hsds
-
Links orderMay be free again @mattjala claimed this 79 days ago, and no pull request is open. Openquestion
-
codespace starts with config complaint, can't run testall.pyMay be free again @mattjala claimed this 79 days ago, and no pull request is open. Openbug
-
HSDS azure kubernetes lockupMay be free again @mattjala claimed this 79 days ago, and no pull request is open. Openbug
-
Support HEAD requests for dataset selectionMay be free again @mattjala claimed this 79 days ago, and no pull request is open. Openenhancement
-
Use numcodecs VLenArray for encoding variable length dataset chunksMay be free again @mattjala claimed this 79 days ago, and no pull request is open. Openenhancement performance
Similar issues
-
AI bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
btclib-org/btclib-wallet#872 ·
Maintainers usually reply within 1 day
-
[Bug]: Scheduled returns scan all accepted minion keys causing extreme loadPossibly taken A pull request linked to this issue is open or already merged. Openbug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
saltstack/salt#70789 · 1 comment ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
btclib-org/btclib#3093 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day