<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Hi all<br><br>I'm new with cl-muproc. Playing with cl-muproc, I've got strange trouble. SBCL cannot create more, than about 600 threads.<br><br>Here is simple code, which I use to get this error:<br><br>(defun newmuproc ()<br> (muproc-spawn (gensym)<br> (lambda ()<br> (mumsg-receive (from)<br> ((terminated reason) t<br> (muproc-log-errorstream<br> "Got termination from ~a: ~a.~%" terminated reason))<br> ((test)<br> (muproc-log-errorstream "Got value ~a.~%" test)))<br> (muproc-log-errorstream "Done.~%"))<br> nil<br> :trap-exits t<br> :errorstream *trace-output*))<br><br>(dotimes (i 1000) (newmuproc))<br><br>Could not create a new thread.<br> [Condition of type SIMPLE-ERROR]<br><br>Restarts:<br> 0: [RETRY] Retry SLIME REPL evaluation request.<br> 1: [*ABORT] Return to SLIME's top level.<br> 2: [ABORT] Abort thread (#<THREAD "new-repl-thread" RUNNING {BF89CB1}>)<br><br>; Evaluation aborted on #<SIMPLE-ERROR "Could not create a new thread." {B604149}>.<br><br>(length (muproc-all-processes))<br>584<br><br>sbcl --version<br>SBCL 1.0.57.0.debian<br><br><div id="">Best regards Alexander aka 'CosmonauT' Vynnyk<br><br></div></div></body></html>