"Kirk Haines" <khaines / enigo.com> wrote: 

> On Wed, 18 Aug 2004 04:40:57 +0900, Mark Probert wrote
>> Hi, all.
>> 
>> I am using IOWA / Webrick on Cygwin (DLL version: 1.5.10) under 
>> Win2k and I have just started experiencing some problems (hung 
>> session, page not displaying, that kind of thing).
>>  ...
>> Any ideas?
> 
> Hmm.  That is interesting.  Is it something that only happens
> sporadically?  Is it load related?  i.e. if you go and use a load
> testing tool to hammer the snot out of it, can you cause it to happen?
> 

It seems to be sporadic and not load related.  Perhaps related to changes 
in the underlying pages, though I am not sure of that, either.  

Everything seems to be working okay, then a previously working page 
request, say to the main index page, will hang.  Killing the server with 
a ^C then results in the following:

    	...
    	http://localhost:8080/admin/nodelist.html/5c81c3bb-369ffdff-    
	abduZYCN54vqQ.e.1.7
    	-> /admin/nodelist.html/5c81c3bb-369ffdff-abduZYCN54vqQ.f.1.9
    	[2004-08-17 18:46:10] INFO  going to shutdown ...
    	deadlock 0x103d60b0: sleep:S  -     
	/usr/lib/ruby/1.8/webrick/httpresponse.rb:303
    	deadlock 0x103f7380: sleep:S  -     
	/usr/lib/ruby/1.8/webrick/httpresponse.rb:303
    	deadlock 0x10400428: sleep:S  -     
	/usr/lib/ruby/1.8/webrick/httpresponse.rb:303
    	deadlock 0x100f5a00: sleep:J(0x103d60b0) (main) -     
	/usr/lib/ruby/1.8/webrick/server.rb:112
    	/usr/lib/ruby/1.8/webrick/server.rb:112:in `join': 
    	    	Thread(0x100f5a00): deadlock (fatal)
        from /usr/lib/ruby/1.8/webrick/server.rb:112:in `start'
        from /usr/lib/ruby/1.8/webrick/server.rb:112:in `each'
        from /usr/lib/ruby/1.8/webrick/server.rb:112:in `start'
        from /usr/lib/ruby/1.8/webrick/server.rb:79:in `start'
        from /usr/lib/ruby/1.8/webrick/server.rb:79:in `start'
        from ./hcweb.rb:78
 
I have not tried this under Win32.  Perhaps it is a Cygwin / Win32 
threading issue.

-mark.