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

rcloud.jupyter cannot allocate memory #2730

Open
gordonwoodhull opened this issue Apr 9, 2020 · 0 comments
Open

rcloud.jupyter cannot allocate memory #2730

gordonwoodhull opened this issue Apr 9, 2020 · 0 comments

Comments

@gordonwoodhull
Copy link
Contributor

I opened about a dozen tabs on rcloud.social because I wanted to see multiple compute nodes.

Two in the middle failed with out-of-memory errors. More likely file descriptors and not much we can do about it, but I thought I'd record the errors here.

error 1

Could not initialize session. The GitHub backend might be down or you might have an invalid authorization token. (You could try clearing your cookies, for example).<br />Error: Error: compute_init: Error in value[[3L]](cond) : 
  Error ocurred while initializing `rcloud.jupyter' laguage package:Error in py_module_import(module, convert = convert): OSError: [Errno 12] Cannot allocate memory

Detailed traceback: 
  File "/usr/local/lib/R/site-library/rcloud.jupyter/jupyter/jupyter_adapter.py", line 5, in <module>
    from nbconvert.preprocessors import ExecutePreprocessor
  File "/usr/lib/python2.7/dist-packages/nbconvert/__init__.py", line 4, in <module>
    from .exporters import *
  File "/usr/lib/python2.7/dist-packages/nbconvert/exporters/__init__.py", line 3, in <module>
    from .exporter_locator import export_by_name
  File "/usr/lib/python2.7/dist-packages/nbconvert/exporters/exporter_locator.py", line 16, in <module>
    from .pdf import PDFExporter
  File "/usr/lib/python2.7/dist-packages/nbconvert/exporters/pdf.py", line 12, in <module>
    from testpath.tempdir import TemporaryWorkingDirectory
  File "/usr/lib/python2.7/dist-packages/testpath/__init__.py", line 2, in <module>
    from .asse
collapse
R trace:
stop("Error ocurred while initializing `", lang, "' laguage package:", 
    as.character(e), "; Check rcloud.languages configuration.")
value[[3L]](cond)
tryCatchOne(expr, names, parentenv, handlers[[1L]])
tryCatchList(expr, classes, parentenv, handlers)
tryCatch(suppressMessages(suppressWarnings(initialize.language(.session))), 
    error = function(e) stop("Error ocurred while initializing `", 
        lang, "' laguage package:", as.character(e), "; Check rcloud.languages configuration."))
start.rcloud.common(...)
start.rcloud.gist(username = username, token = token, ...)
start.rcloud(...)
fun(...)

error 2

Could not initialize session. The GitHub backend might be down or you might have an invalid authorization token. (You could try clearing your cookies, for example).<br />Error: Error: compute_init: Error in value[[3L]](cond) : 
  Error ocurred while initializing `rcloud.jupyter' laguage package:Error in system(paste(which, shQuote(names[i])), intern = TRUE, ignore.stderr = TRUE): cannot popen '/usr/bin/which 'python' 2>/dev/null', probable reason 'Cannot allocate memory'
; Check rcloud.languages configuration.
collapse
R trace:
stop("Error ocurred while initializing `", lang, "' laguage package:", 
    as.character(e), "; Check rcloud.languages configuration.")
value[[3L]](cond)
tryCatchOne(expr, names, parentenv, handlers[[1L]])
tryCatchList(expr, classes, parentenv, handlers)
tryCatch(suppressMessages(suppressWarnings(initialize.language(.session))), 
    error = function(e) stop("Error ocurred while initializing `", 
        lang, "' laguage package:", as.character(e), "; Check rcloud.languages configuration."))
start.rcloud.common(...)
start.rcloud.gist(username = username, token = token, ...)
start.rcloud(...)
fun(...)
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