RT : Apache Resource Usage

Hello All

I have RT 3.6.3 with fast cgi implemented and apache 2.0 with 8GB of
physical RAM. My problem is that after every 3 days my physical ram gets
fully utilized and apache starts using swap memory. So my machine gets on
its knees. I have no other application running on my machine where I have
apache installed and no other process is using memory when I see in top
command its just my 30 fastcgi processes takes significant amount of RAM i.e
nearly 98% and I cant cut this 30 process to low level as by doing this,
performance will degrade on concurrent request of RT users. Can any one
suggest me how I can get best of both the worlds i.e giving good performance
plus limiting memory consumption also. I have RHEL 4 and its kernel version
is 2.6.9-42

Any help is highly appreciable

Thanks & Regards

Varun Vyas

performance will degrade on concurrent request of RT users. Can any one
suggest me how I can get best of both the worlds i.e giving good performance
plus limiting memory consumption also. I have RHEL 4 and its kernel version
mod_perl with max time to live set for Apache?

I’m running RHEL4 on 2Gb with a mod_perl based RT (RHEL has a working
mod_perl package afterall) and no memory issues.

Hi Jerad

Can you can tell me how is your apache configuration that keeps your apache
running smoothly and also giving good thoughput to user end as well (i.e
loading pages and searches quickly on concurrent request from users). Or
provide me with your apache configuration file and configuration of RT

Any help is highly appreciated

Thanks
VarunFrom: Jerrad Pierce [mailto:jpierce@cambridgeenergyalliance.org]
Sent: Thursday, October 22, 2009 8:02 PM
To: Varun
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT : Apache Resource Usage

performance will degrade on concurrent request of RT users. Can any one
suggest me how I can get best of both the worlds i.e giving good
performance
plus limiting memory consumption also. I have RHEL 4 and its kernel
version
mod_perl with max time to live set for Apache?

I’m running RHEL4 on 2Gb with a mod_perl based RT (RHEL has a working
mod_perl package afterall) and no memory issues.

Hello All

I have RT 3.6.3 with fast cgi implemented and apache 2.0 with 8GB of
physical RAM. My problem is that after every 3 days my physical ram gets
fully utilized and apache starts using swap memory. So my machine gets on
its knees. I have no other application running on my machine where I have
apache installed and no other process is using memory when I see in top
command its just my 30 fastcgi processes takes significant amount of RAM i.e
nearly 98% and I cant cut this 30 process to low level as by doing this,
performance will degrade on concurrent request of RT users. Can any one
suggest me how I can get best of both the worlds i.e giving good performance
plus limiting memory consumption also. I have RHEL 4 and its kernel version
is 2.6.9-42

We’ve certainly done a fair bit of work on memory utilization in more
recent versions of RT. I know that recent 3.8 releases include fixes for
a number of memory leaks we’ve managed to track down. 30 concurrent
FastCGI processes suggests that you need to be able to handle 30 people
making requests of RT at exactly the same instant. If that’s true,
you’ll definitely want to come up to a more recent RT as there are a
fair number of performance improvements in addition to memory efficiency
improvements.

Best,
Jesse

Hello Jesse

Yeah your right infact we have more than 30 concurrently users using RT and
I can’t bring the number of Fastcgi processes less than 30. So I want to
make sure that will recent version of RT i.e. 3.8 will work well as far as
memory allocation is concerned and second thing I want to know is, Is it
possible to upgrade my RT on production as well and preserving the
customization and scrips we have placed over there. If not then what’s the
way to achieve this backup stuff on application side and to upgrade it also.

Waiting for a valuable answer from your side.

Thanks & Regards
Varun VyasFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Friday, October 23, 2009 11:45 PM
To: Varun
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT : Apache Resource Usage

Hello All

I have RT 3.6.3 with fast cgi implemented and apache 2.0 with 8GB of
physical RAM. My problem is that after every 3 days my physical ram gets
fully utilized and apache starts using swap memory. So my machine gets on
its knees. I have no other application running on my machine where I have
apache installed and no other process is using memory when I see in top
command its just my 30 fastcgi processes takes significant amount of RAM
i.e
nearly 98% and I cant cut this 30 process to low level as by doing this,
performance will degrade on concurrent request of RT users. Can any one
suggest me how I can get best of both the worlds i.e giving good
performance
plus limiting memory consumption also. I have RHEL 4 and its kernel
version
is 2.6.9-42

We’ve certainly done a fair bit of work on memory utilization in more
recent versions of RT. I know that recent 3.8 releases include fixes for
a number of memory leaks we’ve managed to track down. 30 concurrent
FastCGI processes suggests that you need to be able to handle 30 people
making requests of RT at exactly the same instant. If that’s true,
you’ll definitely want to come up to a more recent RT as there are a
fair number of performance improvements in addition to memory efficiency
improvements.

Best,
Jesse

Hello Jesse

Yeah your right infact we have more than 30 concurrently users using RT and
I can’t bring the number of Fastcgi processes less than 30. So I want to
make sure that will recent version of RT i.e. 3.8 will work well as far as
memory allocation is concerned and second thing I want to know is, Is it
possible to upgrade my RT on production as well and preserving the
customization and scrips we have placed over there. If not then what’s the
way to achieve this backup stuff on application side and to upgrade it also.

Waiting for a valuable answer from your side.

I can’t really promise that your local changes to RT will work perfectly
across an upgrade without auditing your code. If that’s the sort of
thing you’re looking for, please contact me off list and we’ll see about
getting some sort of contract set up.

Best,
Jesse