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

Still outputs "Rserve started in non-daemon mode." for each request (#23) #198

Open
malcook opened this issue Jan 16, 2024 · 0 comments
Open

Comments

@malcook
Copy link

malcook commented Jan 16, 2024

I find that #23 is still an issue. Below is my attempt to provide a reproducible example based on using more recent versions of R and Rserve.

The attached RserveIssue.sh.txt is a bash script which puts an undaemonized Rserve process into the background using nohup, logging its output. It then sends it a few expressions to evaluate.

It can be run as:

$ bash < RserveIssue.sh.txt

The server's log produced demonstrates how "Rserve started in non-daemon mode." is emitted multiple times:

nohup: ignoring input

R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Rserve started in non-daemon mode.

hello

Rserve started in non-daemon mode.

hello again

Rserve started in non-daemon mode.

hello again again

Rserve started in non-daemon mode.
R version 4.2.0 (2022-04-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS:   /n/apps/CentOS7/install/r-4.2.0/lib64/R/lib/libRblas.so
LAPACK: /n/apps/CentOS7/install/r-4.2.0/lib64/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C             
 [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8    
 [5] LC_MONETARY=en_US.utf8    LC_MESSAGES=en_US.utf8   
 [7] LC_PAPER=en_US.utf8       LC_NAME=C                
 [9] LC_ADDRESS=C              LC_TELEPHONE=C           
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C      

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

loaded via a namespace (and not attached):
[1] compiler_4.2.0
[1] "/tmp/Rserv/conn22610"
Rserve started in non-daemon mode.

(edit: updated attached script to sleep one second after launching Rserve)

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