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

Number of processes in multiprocessing mode can become NaN #108

Open
founta opened this issue May 28, 2024 · 0 comments
Open

Number of processes in multiprocessing mode can become NaN #108

founta opened this issue May 28, 2024 · 0 comments

Comments

@founta
Copy link
Contributor

founta commented May 28, 2024

[root@mymachine test]# tessera -m -P 4 -p 8052 -c tessera-config.json
Launching in multiprocess mode with NaN workers.

I was seeing the above output. It was interesting -- it would work on one of my machines but not this one. I had it running in the same docker image across both machines. I am not entirely sure what's up there but I tested that replacing that parseInt for the number of processes with parseFloat or Number corrected the problem

I also saw that doing this (specifying the number of processes twice) fixed the issue on the problematic machine for whatever reason:

[root@mymachine test]# tessera -m -P 4 -P 4 -p 8052 -c tessera-config.json
Launching in multiprocess mode with 4 workers.
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

1 participant