[rt-users] Apache Threads hanging & not gracefully exiting

Kevin Falcone falcone at bestpractical.com
Tue Jan 21 14:33:52 EST 2014


On Wed, Jan 15, 2014 at 03:13:31PM -0500, Nathan Baker wrote:
>    I switched from mod_perl to mod_fcgid and along with the memory usage decreasing by about 75%,
>    the problem seems to have disappeared. I'm not sure if there is a problem with the code and
>    mod_fcgid is just handling it better, or what the deal is, but everything is working fine now.
>    Judging by the user reviews of mod_perl (http://cpanratings.perl.org/dist/mod_perl) it
>    seems like mod_perl should be the less preferred option, and mod_fastcgi or mod_fcgid should
>    be used if possible. Is this the general consensus? If so, it might be helpful to add that
>    recommendation on http://bestpractical.com/docs/rt/latest/web_deployment.html.

I personally never deploy on mod_perl unless forced, and we document a
number of mod_perl specific issues in the web_deployment document.  We also
document mod_fastcgi and mod_fcgid before mod_perl in that document
for a reason.

It's possible we should more strongly discourage mod_perl.

-kevin

>    Thanks for your suggestions though Kevin, if I do see any further issues I'll try using
>    strace.
>    For anyone else that comes across this, here are some apache mod_perl documents about
>    debugging mod_perl applications, using strace and other methods:
>    http://perl.apache.org/docs/1.0/guide/debug.html
>    http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html
>    -Nate
> 
>    On Wed, Jan 15, 2014 at 11:21 AM, Kevin Falcone <[5]falcone at bestpractical.com> wrote:
> 
>      On Tue, Jan 14, 2014 at 01:43:59PM -0500, Nathan Baker wrote:
>      > (gracefully finishing). Those threads will never exit unless I kill the processes
>      manually. My
>      > guess would be that one of my customizations are causing this, but does anyone have any
>      tips
>      > for how to find out what the problem is?
> 
>      strace/dtruss?
>      > - custom Scrip that uses Filesys::SmbClient to copy attachments to the user's computer
>      when
>      > they "Take" the ticket
> 
>      That sounds like the biggest suspect.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140121/b202a36b/attachment.sig>


More information about the rt-users mailing list