From: GP lisper
Subject: UnCommonWeb+CMUCL exhausts file handles on startup
Date: 
Message-ID: <1123019287.9adfdf7804e0d8019b3730217e86d180@teranews>
I'm a bit surprised at this error, I thought Edi had been successful
with CMUCL.  I have version 1.86 of ASDF, patched to allow 'require to
mimic sbcl behavior (see cliki).  This setup has been working for
months, with different versions of cmucl, for cells, cl-yahoo,
trivial-sockets, etc.  Using netstat and playing with telnet/browsers,
I can see the various non-ucw pieces in place, and run their various
test scripts.  But the 3 pieces of UCW just endlessly loop in asdf if
I try to add them to the mod-lisp + aserve system.

Some details:

1) start apache
	Apache/1.3.33 (Unix)  (Gentoo/Linux) mod_lisp/2.42 configured -- resuming normal operations

2) start ucw, look at log
	
; Loading #P"/etc/cmucl-init.lisp".
;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/defsystem.x86f".
; Loading #P"/usr/local/lib/cmucl/lib/subsystems/ucw/bin/start.lisp".
;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/ucw/bin/utils.lisp".
;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
;;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
;;;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
;;;;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
;;;;;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
;;;;;;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
....

and on until the debugger reports file handle exhaustion.  I can
manually start modlisp-cmucl prior to ucw too, no difference, (just
tried it this way on this attempt).  The mod_lisp test
(fetch-mod-lisp-url "localhost" "/asp/fixed")  works fine.


UCW came from the cron bundle on 2005-08-02.

CL-USER> *features*
(:MK-DEFSYSTEM :CMU-HOOKS-REQUIRE :ASDF :SIMPLE-STREAMS :HEMLOCK :MOTIF
 :CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX :CLX-LITTLE-ENDIAN :GERDS-PCL
 :PCL-STRUCTURES :PORTABLE-COMMONLOOPS :PCL :CMU19 :CMU19B :PYTHON
 :CONSERVATIVE-FLOAT-TYPE :MODULAR-ARITH :MP :X86 :LINKAGE-TABLE
 :RELATIVE-PACKAGE-NAMES :LINUX :GLIBC2 :UNIX :RANDOM-MT19937 :GENCGC :PENTIUM
 :I486 :HASH-NEW :HEAP-OVERFLOW-CHECK :STACK-CHECKING :COMMON :COMMON-LISP
 :ANSI-CL :IEEE-FLOATING-POINT :CMU)

CL-USER> asdf:*central-registry*
(#P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/cells/cells-test.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/cells/cells-test/cells-test.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/cells/cells.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/cells/utils-kt/utils-kt.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/cl-ppcre-1.2.6/cl-ppcre-test.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/cl-ppcre-1.2.6/cl-ppcre.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/cl-split-sequence-20011114.1/split-sequence.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/cl-yahoo-0.5/cl-yahoo.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/iterate_1.4/iterate.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/portableaserve/acl-compat/acl-compat.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/portableaserve/aserve/aserve.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/portableaserve/aserve/htmlgen/htmlgen.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/portableaserve/aserve/webactions/webactions.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/portableaserve/libs/cl-ppcre/cl-ppcre-test.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/portableaserve/libs/cl-ppcre/cl-ppcre.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/portableaserve/libs/puri-1.3.1/puri.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/puri-1.3.1.2/puri.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/rfc2388/rfc2388.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/s-xml/s-xml.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/trivial-http-1.1/trivial-http.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/trivial-sockets_0.2/trivial-sockets.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/ucw/ucw.asd"
 #P"/usr/local/lib/cmucl/lib/subsystems/yaclml/yaclml.asd"
 *DEFAULT-PATHNAME-DEFAULTS*)


Any ideas?

-- 
TIA

From: GP lisper
Subject: Re: UnCommonWeb+CMUCL exhausts file handles on startup
Date: 
Message-ID: <1123028642.55a6c35706ea8ce39e19280c16e2c86b@teranews>
On Tue, 2 Aug 2005 14:39:23 -0700, <········@CloudDancer.com> wrote:
>
> ;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/defsystem.x86f".
> ; Loading #P"/usr/local/lib/cmucl/lib/subsystems/ucw/bin/start.lisp".
> ;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/ucw/bin/utils.lisp".
> ;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
> ;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
> ;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
> ;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
> ;;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
> ;;;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".
> ;;;;;;;;; Loading #P"/usr/local/lib/cmucl/lib/subsystems/arnesi/arnesi.asd".


Well, I let that stuff run until the debugger popped up and chose the
NIL from load option many times...and finally some pieces of ucw were
compiled.  Doesn't seem like UCW bootstraps very well.

Now there is an undocumented requirement:

..asdf:compile-op (:rfc2388 :iterate :swank :yaclml :arnesi)

Which swank is this?


-- 
[ingvar] Modelling forest damage by storms with regular expressions is...
  a curious idea.
[Xach] before: |||  after: //_
[Xach] seems easy enough to me
From: carlitos
Subject: Re: UnCommonWeb+CMUCL exhausts file handles on startup
Date: 
Message-ID: <1123053865.996954.267290@g14g2000cwa.googlegroups.com>
% grep --before-context=5 swank ucw/README
*** SLIME

Download and install the latest CVS version of SLIME from
http://common-lisp.net/project/slime. NB: You _must_ use a recent CVS
version of SLIME, 1.0 is not nearly enough. Make sure ASDF can see the
swank.asd file (see below).
From: drkm
Subject: Re: UnCommonWeb+CMUCL exhausts file handles on startup
Date: 
Message-ID: <umznzmrn3.fsf@fgeorges.org>
GP lisper writes:

> Now there is an undocumented requirement:

> ..asdf:compile-op (:rfc2388 :iterate :swank :yaclml :arnesi)

> Which swank is this?

  From SLIME.  And this requirement is documented, isn't it?

--drkm
From: GP lisper
Subject: Re: UnCommonWeb+CMUCL exhausts file handles on startup
Date: 
Message-ID: <1123107125.692697a1c1bfb16dbe95d85c45b2b57b@teranews>
On Wed, 03 Aug 2005 09:00:32 +0200, <······@fgeorges.org> wrote:
>
> GP lisper writes:
>
>> Now there is an undocumented requirement:
>
>> ..asdf:compile-op (:rfc2388 :iterate :swank :yaclml :arnesi)
>
>> Which swank is this?
>
>   From SLIME.  And this requirement is documented, isn't it?


Funny thing about slime, it changes, generally on a daily basis.  Ask
an SBCL user about it.