Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recv() hangs on Mac OS #321

Closed
wlandau opened this issue Dec 4, 2023 · 3 comments
Closed

recv() hangs on Mac OS #321

wlandau opened this issue Dec 4, 2023 · 3 comments

Comments

@wlandau
Copy link
Contributor

wlandau commented Dec 4, 2023

I am using clustermq 0.9.1, and recv() hangs indefinitely on Mac OS.

options(clustermq.scheduler = "multicore")
library(clustermq)
workers <- workers(n_jobs = 1L, log_worker = TRUE)
workers$recv()

The worker launches quickly, and after about a minute of hanging the log still reads:

2023-12-04 14:36:47.217572 | Master: tcp://<HOSTNAME>:6453
2023-12-04 14:36:47.222991 | connecting to: tcp://<HOSTNAME>:6453

Session info:

R version 4.3.2 (2023-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.1.2

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Indiana/Indianapolis
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] clustermq_0.9.1

loaded via a namespace (and not attached):
[1] compiler_4.3.2   R6_2.5.1         parallel_4.3.2   Rcpp_1.0.11     
[5] codetools_0.2-19
@mschubert
Copy link
Owner

Can you try the current git? (specifically db38d68)

@wlandau
Copy link
Contributor Author

wlandau commented Dec 4, 2023

It works now, thanks!

@wlandau wlandau closed this as completed Dec 4, 2023
@mschubert
Copy link
Owner

This is on CRAN now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants