[rt-users] Memory leak (RT 4.0.5)
Austin Denyer
adenyer at ekn.com
Wed Apr 18 13:46:49 EDT 2012
Thanks for your response!
On 04/18/2012 10:31 AM, Tim Cutts wrote:
>
> On 18 Apr 2012, at 13:07, Austin Denyer wrote:
>
>>
>> System:
>> RT version 4.0.5
>> Apache version 2.2.16
>> PostgreSQL version 8.4.11
>> Debian version 6.0.4
>> Kernel version 2.6.24-25-xen (64-bit)
>>
>
> I've not used the Debian packaged version - is it using mod_perl, or
> mod_fastcgi or mod_fcgid?
It is using mod_perl. It didn't have mod_fastcgi or mod_fcgid installed.
> I found that using mod_fastcgi we had
> severe memory leak problems, so yes there does seem to be a memory
> leak in RT, but I don't know where. However, I mitigated the
> problem by switching to mod_fcgid in the Apache config, because it
> has useful knobs you can tweak to tell it to start new CGI processes
> every so often, or after a certain number of requests have been
> handled. Thus no individual RT server process now lives long enough
> for the memory leak to be a significant problem. Here's my
> /etc/apache2/mods-enabled/fcgid.conf:
>
> <IfModule mod_fcgid.c>
> AddHandler fcgid-script .fcgi
> FcgidConnectTimeout 20
> FcgidIdleTimeout 300
> FcgidProcessLifetime 3600
> FcgidMaxRequestsPerProcess 1000
> </IfModule>
Cool. I've just installed mod_fcgid, made the above changes to
/etc/apache2/mods-enabled/fcgid.conf and restarted Apache, though I'm
not sure how to get RT to use it.
Regards,
Austin.
--
Austin L. Denyer.
I. T. Server & Security Administrator.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120418/f38f674d/attachment.sig>
More information about the rt-users
mailing list