<div dir="ltr"><div>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.<br>
</div><div><br></div><div>Judging by the user reviews of mod_perl (<a href="http://cpanratings.perl.org/dist/mod_perl">http://cpanratings.perl.org/dist/mod_perl</a>) 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 <a href="http://bestpractical.com/docs/rt/latest/web_deployment.html">http://bestpractical.com/docs/rt/latest/web_deployment.html</a>.</div>
<div><br></div><div>Thanks for your suggestions though Kevin, if I do see any further issues I'll try using strace.  </div><div><br></div><div>For anyone else that comes across this, here are some apache mod_perl documents about debugging mod_perl applications, using strace and other methods:</div>
<div><a href="http://perl.apache.org/docs/1.0/guide/debug.html">http://perl.apache.org/docs/1.0/guide/debug.html</a><br></div><div><a href="http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html">http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html</a><br>
</div><div><br></div><div>-Nate</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 11:21 AM, Kevin Falcone <span dir="ltr"><<a href="mailto:falcone@bestpractical.com" target="_blank">falcone@bestpractical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Jan 14, 2014 at 01:43:59PM -0500, Nathan Baker wrote:<br>
>    (gracefully finishing). Those threads will never exit unless I kill the processes manually. My<br>
>    guess would be that one of my customizations are causing this, but does anyone have any tips<br>
>    for how to find out what the problem is?<br>
<br>
</div>strace/dtruss?<br>
<div class="im"><br>
>    - custom Scrip that uses Filesys::SmbClient to copy attachments to the user's computer when<br>
>    they "Take" the ticket<br>
<br>
</div>That sounds like the biggest suspect.<br>
<span class="HOEnZb"><font color="#888888"><br>
-kevin<br>
</font></span></blockquote></div><br></div>