On 10/3/06, <b class="gmail_sendername">Jacob Atzen</b> &lt;<a href="mailto:jacob@jacobatzen.dk">jacob@jacobatzen.dk</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm still not sure why I'm the only one seeing these problems. Maybe<br>others are seing them too and just not being aware of them. Maybe they<br>only show up when the Mongrels gets severely loaded. Maybe I'm simply<br>the only one butchering poor Mongrels for fun in my spare-time? ;-)
</blockquote><div><br>I see the same behavior with a handler that does some slow, blocking IO (resolving symlinks on heavily loaded NFS servers). I worked around it by using more Mongrels instead of more worker threads and by backgrounding one long-running task which could safely send an HTTP response before completing.
<br><br>It'd be cool if Mongrel forked itself (up to a max # of processes) to alleviate the issues that arise with Rails&nbsp; handler locking and with blocking IO due to Ruby's green threads. Mongrel cluster could work but it feels like overkill when forking would do the job with zero config (minus Win32).
<br><br>jeremy</div></div>