Intermittent socket timeouts
See original GitHub issueThis happens rarely but we should likely catch the timeout.
"/Midgard/home/mrabadan/anaconda3/envs/pytorch/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/Midgard/home/mrabadan/anaconda3/envs/pytorch/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "scripts/train_mmnist.py", line 32, in train_run_worker
dir=run_dir)
File "/Midgard/home/mrabadan/anaconda3/envs/pytorch/lib/python3.7/site-packages/wandb/__init__.py", line 983, in init
_init_headless(run)
File "/Midgard/home/mrabadan/anaconda3/envs/pytorch/lib/python3.7/site-packages/wandb/__init__.py", line 239, in _init_headless
success, message = server.listen(30)
File "/Midgard/home/mrabadan/anaconda3/envs/pytorch/lib/python3.7/site-packages/wandb/wandb_socket.py", line 46, in listen
self.connect()
File "/Midgard/home/mrabadan/anaconda3/envs/pytorch/lib/python3.7/site-packages/wandb/wandb_socket.py", line 40, in connect
self.connection, addr = self.socket.accept()
File "/Midgard/home/mrabadan/anaconda3/envs/pytorch/lib/python3.7/socket.py", line 212, in accept
fd, addr = self._accept()
socket.timeout: timed out
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:26 (8 by maintainers)
Top Results From Across the Web
Diagnose intermittent connection timeout? - Stack Overflow
I have a java client that invokes a thread to hit a servlet and retrieves last few lines from logs at the server,...
Read more >Intermittent socket timeouts · Issue #660 · wandb ... - GitHub
I find socket.timeout: timed out in ~half of my runs, even when I set WANDB_DISABLE_CODE=true . File "/home/ ...
Read more >Troubleshooting intermittent connection timeout
Both cases indicate this connection issue was caused by application server failed to complete the handshaking process within timeout threshold.
Read more >Connection Timeout vs. Read Timeout for Java Sockets
From the client side, the “read timed out” error happens if the server is taking longer to respond and send information. This could...
Read more >Socket Timeouts - Apache Software Foundation
Socket timeouts can occur when attempting to connect to a remote server, or during communication, especially long-lived ones. They can be caused by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, just started using wandb and I am also getting this error when running remote jobs (qsub) and it is not rare at all. Around 1/3 of my jobs end like that. Not sure what is happening but in conjuction to other bugs (https://github.com/wandb/client/issues/785) seems like wandb is not a viable option for me.
Issue-Label Bot is automatically applying the label
bug
to this issue, with a confidence of 0.99. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.