I've been using CMUCL's run-process extension to communicate with R
via a pty to make graphics.  For reasons I've not yet determined,
every so often the process chokes, and my recourse is to kill the
process and start a new one.

Fine so far, but now I can't start a new one, because I'm out of pty's:

* (start-r)


Error in function EXTENSIONS::FIND-A-PTY:  Could not find a pty.
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [ABORT] Return to Top-Level.

Debug  (type H for help)

(EXTENSIONS::FIND-A-PTY)
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/run-program.lisp.
0] 0
* 


There are NO currently running external processes, but I guess if I
kill the process from outside CMUCL, the pty's aren't released?  Is
there a way to release them?

Normally I'd just kill CMUCL and start again, but I've got a ton of
important data in my running image, most of which I can't easily save
(I'd have to write lots of CLOS save method code in order to do it).

Is there any way I can fix this/get more pty's?

Cheers,

rif

Reply via email to