Memory Leak ? Re: System Requirements

I’ve been suffering performance problems with 3.0.9 also, on a fresh
install. Admittedly, my box is not well stocked. I’ve only got 256 MB of
RAM. This will have to change before I go live. I’m using MySQL 4.0.17
standard, Perl 5.8.3, Apache 1.3.29, mod_perl 1.29, Solaris 8 and all
required versions of libraries to build RT3.0.9

I did some playing around and I’m confused by what I see. It appears
somewhere there might be a memory leak of some sort or another.

The box I’m testing on has 1 user accessing RT - me. There are 2 queues,
with 2 total tickets. Nothing else runs on this box. I bounced the box to
verify I’m starting fresh. Here are the memory numbers I see.

Start - Apache running, 6 httpd processes, all 21.9 MB. 144 MB free RAM,
401 MB free SWAP.

Logged into RT (just opened home page, no tickets) - 72 MB free RAM, 395 MB
free SWAP
Open ticket #1, which has a 1 MB attachment and 20KB of text - 49 MB free
RAM, 395 MB free SWAP
Jumped to ticket #2, which has no attachments and 5KB of text - 33 MB free
RAM, 395 MB free SWAP
Logged out of RT/Closed Browser - 30 MB free RAM, 395 MB free SWAP.

I let the system “rest” for about 2 minutes between each of these activities
so that I knew all processes had finished their work.

Bounced Apache - back to 143 MB free RAM, 399 MB free SWAP. mysqld, by way,
was pretty much stable at 36 MB with the exception of spikes during ticket
loads.

I don’t know where the memory is going, but it’s beginning to bother me.
Any ideas?From: “Karl Pietri” kpietri@nvps.net
To: “Jeremy Rooks” jrooks@ocic.k12.ok.us;
rt-users@lists.bestpractical.com
Cc: “Tony Griffin” tgriffin@ocic.k12.ok.us
Sent: Thursday, March 11, 2004 12:11 PM
Subject: Re: [rt-users] System Requirements

I would personally give the ram a boost. i was running on a 400mhz dell
linux box and we had same problem with 256 upgraded to 512 and its running
like a champ.

-Karl Pietri
----- Original Message -----
From: “Jeremy Rooks” jrooks@ocic.k12.ok.us
To: rt-users@lists.bestpractical.com
Cc: “Tony Griffin” tgriffin@ocic.k12.ok.us
Sent: Thursday, March 11, 2004 10:25 AM
Subject: [rt-users] System Requirements

We are currently running RT on a PowerPC G4 450MHz/100MHz FSB/256MB/30GB.
There are only 3 people who use this software. When just one of us tries
to
go to the webpage it takes up to 10 seconds for the page to load. Nearly
every page we go to takes this long. We have a full T1 everywhere.

Can anyone tell me why we are getting these delays. Is this normal? If
we
upgrade to a dual processor G4 Xserve, will we see an improvement?

Thanks in advance.

Jeremy Rooks

"You need not ask a man the type of computer he uses. If its a Mac, he
will
tell you. If its not, why embarrass him?�


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

FWIW, I think I may be seeing this problem as well. In the last week or so I’ve noticed some serious slowing down of the system. At first, I considered the fact that I was ramping up the number of tickets in the system and was looking at bumping up my resources in the box. However, after coming to a crawl today, I bounced apache and when it restarted my swap space dropped like 200MB. Now, a few hours later and I notice that the used swap space is creeping back up again by about 50MB.

Granted, I haven’t yet done anything scientific, but thought I’d toss in some corroboration (for what it’s worth).

Thanks,

Jim Goss
Director of Network Operations
Privacy, Inc.

Side note: I am using RT 3.0.8…

Thanks,

Jim Goss
Director of Network Operations
Privacy, Inc.

Side note: I am using RT 3.0.8…

There were known memory leaks fixed in 3.0.9.

PGP.sig (186 Bytes)

Jim may be using 3.0.8, but I’m indeed on 3.0.9 per my original message.
Any suggestions there?----- Original Message -----
From: “Jesse Vincent” jesse@bestpractical.com
To: “Jim Goss” jim.goss@privacyinc.com
Cc: rt-users@lists.bestpractical.com
Sent: Thursday, March 11, 2004 6:50 PM
Subject: Re: Memory Leak ? Re: [rt-users] System Requirements


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Jim may be using 3.0.8, but I’m indeed on 3.0.9 per my original message.
Any suggestions there?

I’m playing with 3.0.9 as well, on Linux/x86. It is nice and quick when I
just start Apache up, but very slow about a day later. I’m the only RT
user. It is a vanilla install of Apache 1.3.x with built-in mod_perl 1.29,
with no config changes apart from the required RT stuff.

I didn’t think to look at memory/swap usage, sorry.

I suspect it is not a leak, but rather (mod_)perl just keeping a lot of
compiled code in memory/cache. There’s a lot of material here:

<URL:http://perl.apache.org/docs/1.0/guide/performance.html>

Cheers,

Chris

The page you pointed to says that one way to improve performance is to
pre-load modules.

Has there been any discussion about which modules it might be a good idea to
pre-load? Like SearchBuilder, for example, or one of the modules that
handles attachments?

I see webmux.pl is called and that’s probably loaded a few.

Chago