big-r81 commented on PR #5243: URL: https://github.com/apache/couchdb/pull/5243#issuecomment-2350910090
I'm starting with ``` .\dev\run --admin=adm:pass -n3 ``` and remsh into node1: ``` werl -hidden -name [email protected] -remsh [email protected] -c $ERLCOOKIE ``` end running your command: ``` Erlang/OTP 25 [erts-13.2.2.10] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns] Eshell V13.2.2.10 (abort with ^G) ([email protected])1> f(), P = couch_query_servers:get_os_process("javascript"). {proc,<0.2718.0>,<<"javascript">>, #Ref<0.1761014874.3545235457.188270>,undefined,#{}, {couch_os_process,prompt}, {couch_os_process,set_timeout}, {couch_os_process,stop}, -5764606319328256,-5764606319328256} ([email protected])2> couch_query_servers:proc_prompt(P, [<<"add_fun">>, <<"function(){}">>]). true ([email protected])3> ``` and get the following `couchjs` processes: ``` ps -f *couch* ProductVersion FileVersion FileName -------------- ----------- -------- C:\Users\couchdb\Documents\couchdb-otp25\src\couch\priv\couchjs.exe ``` killing ``` ([email protected])3> exit(<0.2718.0>, kill). true ([email protected])4> ``` and the process is gone! What I then accidentally tested, was a "Verify" in Fauxton.  The error is not the problem, because the start script `dev/run` always sets a bind address to `0.0.0.0` during the cluster setup (we should make a separate PR for Windows to use `127.0.0.1`). Then I got those `couchjs` processes: ``` ps -f *couch* ProductVersion FileVersion FileName -------------- ----------- -------- C:\Users\couchdb\Documents\couchdb-otp25\src\couch\priv\couchjs.exe C:\Users\couchdb\Documents\couchdb-otp25\src\couch\priv\couchjs.exe C:\Users\couchdb\Documents\couchdb-otp25\src\couch\priv\couchjs.exe C:\Users\couchdb\Documents\couchdb-otp25\src\couch\priv\couchjs.exe C:\Users\couchdb\Documents\couchdb-otp25\src\couch\priv\couchjs.exe C:\Users\couchdb\Documents\couchdb-otp25\src\couch\priv\couchjs.exe ``` Is this a problem, or are they reused when needed? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
