<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 24, 2011, at 4:04 AM, Chia-liang Kao wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Darren,<br><br>I am looking at the hung response issue.  for the Location error<br>you are getting, please update the apache config to use <Location<br>/> ... </Location> instead of <Directory /opt/rt4/share/html>.<br></div></blockquote><div><br></div><div>Thanks for looking into this! Just to be clear, the documentation in docs/web_deployment.pod suggests the following for mod_perl 2.xx:</div><div><br></div><div><div>               <Directory "/opt/rt4/share/html"></div><div>                   Order allow,deny</div><div>                   Allow from all</div><div><br></div><div>                   SetHandler perl-script</div><div>                   PerlResponseHandler Plack::Handler::Apache2</div><div>                   PerlSetVar psgi_app /opt/rt4/sbin/rt-server</div><div>               </Directory></div><div><br></div><div>In face my apache config is pretty much exactly as described in that section. You really want me to change Directory to Location?</div><div><br></div><div>If I do that, I see:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Times; ">You haven't yet configured your webserver to run RT. You appear to have installed RT's web interface correctly, but haven't yet configured your web server to "run" the RT server which powers the web interface. The next step is to edit your webserver's configuration file to instruct it to use RT's</span><span class="Apple-style-span" style="font-family: Times; "> </span><span class="Apple-style-span" style="font-family: Times; "><strong>mod_perl</strong></span><span class="Apple-style-span" style="font-family: Times; "> </span><span class="Apple-style-span" style="font-family: Times; ">or</span><span class="Apple-style-span" style="font-family: Times; "> </span><span class="Apple-style-span" style="font-family: Times; "><strong>FastCGI</strong></span><span class="Apple-style-span" style="font-family: Times; "> </span><span class="Apple-style-span" style="font-family: Times; ">handler. If you need commercial support, please contact us at <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>.</span></div></div><div><br></div><div>And my RT is down. Please clarify your instructions here. </div><br><blockquote type="cite"><div>I've only been able to reproduce the hung issue when setting the<br>apache to have only one worker, and when the response finally<br>came out, i see the login page's "time to display" being<br>something normal, like 0.09 secs, so that means the congestion<br>happened in apache or the modperl glue somehow.<br></div></blockquote><div><br></div><div>Interesting data point, thanks.</div><br><blockquote type="cite"><div>In your case, does the page eventually came out rendered at all,<br>like after 5min?<br></div></blockquote><div><br></div><div>I will try to let it wait longer ... I think I have waited as long as 10 minutes in the past, but it's worth trying and reporting back to you.</div><br><blockquote type="cite"><div>and can you see if it makes any difference if you change around line<br>222 of RT::Interface::Web::Handler from:<br><br>  my $h = RT::Interface::Web::Handler::NewHandler(<br>    'HTML::Mason::PSGIHandler::Streamy');<br>to: <br><br>  my $h = RT::Interface::Web::Handler::NewHandler(<br>    'HTML::Mason::PSGIHandler');</div></blockquote><br></div><div>I will try this next time we see a lockup. Oddly, we did not have one at all yesterday (during heavy use) or last night (when RT was mostly idle). Perhaps the new version of Plack that Jesse had me install improved the situation after all?</div><div><br></div><div>-d</div><br></body></html>