HUGE memory usage

Hiya,

I’m using rt 3.4.5 on gentoo, and I’ve tried both apache 1 and apache 2
through mod_perl and mod_fastcgi, and every time I click a link or button in
rt, it uses about 2 gigs of ram and takes about a minute of swapping to
process the click. It’s configured to use mysql.

During this time, no strange errors are dumped, and various stracing doesn’t
show anything suspicious. I would provide more information than this, but
I’m running out of places to look. Has anyone come across this?

Thanks,

Giles

Giles Constant
Systems Programmer
C&W Web Technology Group

Tel +44 (0) 20 7339 8600
DDI +44 (0) 20 7339 8728

That’s strange. Is the MySQL DB really large or something? Is the
ambient load average on the gentoo box high?

Giles Constant wrote:

That’s strange. Is the MySQL DB really large or something? Is the
ambient load average on the gentoo box high?

Nope - it’s a fresh install with nothing but the auto-generated content in it.
Load average is otherwise 0.0.

Giles Constant
Systems Programmer
C&W Web Technology Group

Tel +44 (0) 20 7339 8600
DDI +44 (0) 20 7339 8728

Hiya,

I’m using rt 3.4.5 on gentoo, and I’ve tried both apache 1 and apache 2
through mod_perl and mod_fastcgi, and every time I click a link or button in
rt, it uses about 2 gigs of ram and takes about a minute of swapping to
process the click. It’s configured to use mysql.

That’s very strange. What processes specifically use two gigs of ram?
What do top and mytop (mytop - a top clone for MySQL) say?

Jesse

I had the same problem on my Gentoo machine. It was a newly installed
system with a clean database, its only roll was RT .

Apache 2.0.55
Perl 5.8.7
mod_perl 2.0.1-r2
MySQL 5.0.18

I tried both perl and fastcgi, only with apache2, but found the same
thing via both. Due to time constraints I had to move to another distro
to get it up and running ASAP but if a cause is found I would love to
migrate it back to my Gentoo server.

Russell

Network Manager SSSC

Jason Fenner wrote:

Hiya,

I’m using rt 3.4.5 on gentoo, and I’ve tried both apache 1 and apache 2
through mod_perl and mod_fastcgi, and every time I click a link or button
in rt, it uses about 2 gigs of ram and takes about a minute of swapping
to process the click. It’s configured to use mysql.

That’s very strange. What processes specifically use two gigs of ram?
What do top and mytop (mytop - a top clone for MySQL) say?

It’s quite difficult to get this output, due to the fact that one can’t move
the mouse pointer at the time (!!), but I imanged to discover that when
running with mod_perl, the process hogging the memory was apache.

It’s running on my desktop machine (I installed it with the intention of
developing scrips), but the only processes running are the waiting browser,
and the occasional mp3 player (which would start skipping at this point).

Giles Constant
Systems Programmer
C&W Web Technology Group

Tel +44 (0) 20 7339 8600
DDI +44 (0) 20 7339 8728

I had the same problem on my Gentoo machine. It was a newly installed
system with a clean database, its only roll was RT .

Apache 2.0.55
Perl 5.8.7
mod_perl 2.0.1-r2
MySQL 5.0.18

I tried both perl and fastcgi, only with apache2, but found the same
thing via both. Due to time constraints I had to move to another distro
to get it up and running ASAP but if a cause is found I would love to
migrate it back to my Gentoo server.

Anyone on this list got it to work on gentoo then? :slight_smile:

Giles Constant
Systems Programmer
C&W Web Technology Group

Tel +44 (0) 20 7339 8600
DDI +44 (0) 20 7339 8728

Are you able to try with the worker MPM and see if that solves it?

Giles Constant wrote:> On Monday 13 February 2006 18:06, Jesse Vincent wrote:

On Mon, Feb 13, 2006 at 05:06:28PM +0000, Giles Constant wrote:

Hiya,

I’m using rt 3.4.5 on gentoo, and I’ve tried both apache 1 and apache 2
through mod_perl and mod_fastcgi, and every time I click a link or button
in rt, it uses about 2 gigs of ram and takes about a minute of swapping
to process the click. It’s configured to use mysql.

That’s very strange. What processes specifically use two gigs of ram?
What do top and mytop (mytop - a top clone for MySQL) say?

It’s quite difficult to get this output, due to the fact that one can’t move
the mouse pointer at the time (!!), but I imanged to discover that when
running with mod_perl, the process hogging the memory was apache.

It’s running on my desktop machine (I installed it with the intention of
developing scrips), but the only processes running are the waiting browser,
and the occasional mp3 player (which would start skipping at this point).

I had the same problem on my Gentoo machine. It was a newly
installed
system with a clean database, its only roll was RT .

Apache 2.0.55
Perl 5.8.7
mod_perl 2.0.1-r2
MySQL 5.0.18

I tried both perl and fastcgi, only with apache2, but found the same
thing via both. Due to time constraints I had to move to another
distro to get it up and running ASAP but if a cause is found I would
love to migrate it back to my Gentoo server.

Anyone on this list got it to work on gentoo then? :slight_smile:

Yes, we have no problems with 3.4.5 on a Gentoo server

Perl 5.8.7
MySQL 5.0.16
mod_perl 2.0.1-r2
mod_fastcgi 2.4.2-r1

Using FastCGI on Apache2

Installed mostly according to the Gentoo guide in the wiki, with some
tweaking when the app didn’t work at first…

Regards,

Robert Rowland

Anyone on this list got it to work on gentoo then? :slight_smile:

Yes, we have no problems with 3.4.5 on a Gentoo server

Perl 5.8.7
MySQL 5.0.16
mod_perl 2.0.1-r2
mod_fastcgi 2.4.2-r1

Using FastCGI on Apache2

Installed mostly according to the Gentoo guide in the wiki, with some
tweaking when the app didn’t work at first…

Hmm… me too. I’m in the process of an “emerge --deep --update world”, to see
if that fixes it… 140 packages to go :-/

Thing is, other then the fact that it takes 5 minutes to do anything, rt is
working. I’m wondering if there’s some sort of allocation loop or something
in a stray perl module somewhere.

Giles Constant
Systems Programmer
C&W Web Technology Group

Tel +44 (0) 20 7339 8600
DDI +44 (0) 20 7339 8728

From time to time run RT on Gentoo with stock perl+mp2 for tests. Can
recommend to don’t use perl compiled with threads support and apache
with threaded MPM.On 2/15/06, Giles Constant giles.constant@wtg.cw.com wrote:

On Wednesday 15 February 2006 07:09, Robert Rowland wrote:

Anyone on this list got it to work on gentoo then? :slight_smile:

Yes, we have no problems with 3.4.5 on a Gentoo server

Perl 5.8.7
MySQL 5.0.16
mod_perl 2.0.1-r2
mod_fastcgi 2.4.2-r1

Using FastCGI on Apache2

Installed mostly according to the Gentoo guide in the wiki, with some
tweaking when the app didn’t work at first…

Hmm… me too. I’m in the process of an “emerge --deep --update world”, to see
if that fixes it… 140 packages to go :-/

Thing is, other then the fact that it takes 5 minutes to do anything, rt is
working. I’m wondering if there’s some sort of allocation loop or something
in a stray perl module somewhere.


Giles Constant
Systems Programmer
C&W Web Technology Group

Tel +44 (0) 20 7339 8600
DDI +44 (0) 20 7339 8728

Best regards, Ruslan.