Re: fast configuration for cl-http under lispworks?

Martin Simmons <[email protected]> Fri, 2 May 2008 19:46:52 +0100
Newsgroups gmane.lisp.cl-http
Message-ID <[email protected]>
>>>>> On Fri, 2 May 2008 12:46:23 -0400, Mark Klein said:
> 
> I am running a web-based tool built on cl-http 70.216 running on  
> lispworks 5.0.1 on a dual-processor 3 GHz dual-core Intel Xeon Mac  
> with 2 Gb of memory. I've started getting a little heavier access  
> lately, from a user population of almost 300 users, and I find that  
> lispworks freezes for spans of time (sometimes as much as a minute)  
> at a time. Which I don't understand, because my system appears to be  
> only lightly loaded in terms of computational and memory use. Is  
> there a high-volume production configuration file for Lispworks,  
> which would hopefully help with that? My version of cl-http has the  
> file "configuration-fast.lisp" in the mcl examples folder, but no  
> lispworks equivalent that I could find.

Hanging for up to a minute is abnormal, so the first thing is to find out what
is causing it.

Firstly, if you are running 5.0.1, then please upgrade to 5.0.2 either from
http://www.lispworks.com/downloads/patch-selection.html#lwm50 (Pro/Ent) or
http://www.lispworks.com/downloads/index.html (Personal Edition).

Secondly, does the Activity Monitor show the LispWorks process using any CPU
when you see the hanging behaviour?

Thirdly, what exactly is hanging?  Is it the responsiveness as seen from a web
browser or something you detect from within LispWorks?  If it is the former,
then try (mp:ps) to see what is happening in Lisp.  It is repeatable or just
something observed by users at random?

-- 
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/

_______________________________________________
WWW-CL mailing list
[email protected]
https://lists.csail.mit.edu/mailman/listinfo/www-cl