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 n@127.0.0.1 -remsh node1@127.0.0.1 -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)
   (node1@127.0.0.1)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}
   (node1@127.0.0.1)2> couch_query_servers:proc_prompt(P, [<<"add_fun">>, 
<<"function(){}">>]).
   true
   (node1@127.0.0.1)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
   ```
   (node1@127.0.0.1)3> exit(<0.2718.0>, kill).                                  
               
   true
   (node1@127.0.0.1)4>
   ```
   and the process is gone!
   
   What I then accidentally tested, was a "Verify" in Fauxton.
   
![grafik](https://github.com/user-attachments/assets/f9f90d58-3b90-4e54-a7d1-225cf9ae08d8)
   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: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to