[Rt-devel] rt-4.0.0rc2 eating so much CPU
Odhiambo Washington
odhiambo at gmail.com
Tue Jan 18 10:21:04 EST 2011
On Tue, Jan 18, 2011 at 5:54 PM, Jesse Vincent <jesse at bestpractical.com>wrote:
>
>
>
> On Tue, Jan 18, 2011 at 05:42:29PM +0300, Odhiambo Washington wrote:
> > When loading the web UI, I see a big hit on the CPU.
> >
> Do you mean that you see that for the time that RT's homepage loads and
> then it drops back down or does it stick there?
>
It does whenever:
(a) Apache is started
(b) I am logging in to the RT UI
(c) Loading anything on the UI
then it drops down.. However, there is some considerable delay even in
loading the main page just to login.
Does my RT_SiteConfig.pm have any wild parameters that I need to work on?
>
> If the former, can you enable MasonX::Profiler (as described in
> RT_Config.pm) and see what it shows?
>
Here is what I have gotten from MasonX::Profiler: http://goo.gl/4Yg0t
>
> Does it happen only for one page or for any page load?
>
Appears to happen for any page load.
As a matter of fact, I don't even have many tickets. I have been just
testing this far to see how fast the system would respond in case there were
several users.
>
>
> > <snip>
> > CPU: 50.4% user, 0.0% nice, 1.9% system, 0.6% interrupt, 47.2% idle
> > Mem: 752M Active, 1712M Inact, 219M Wired, 112M Buf, 431M Free
> > Swap: 5900M Total, 5900M Free
> >
> > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU
> > COMMAND
> > 98129 www 1 104 0 130M 118M CPU1 0 0:05 36.96%
> > httpd
> > 98121 www 1 76 0 130M 118M select 1 0:07 25.98%
> > httpd
> > 3369 root 1 44 0 131M 127M select 1 7:29 0.00%
> > suidperl
> > </snip>
> >
> > I only have two Queues and I am the only active user on the system. I am
> > running Apache 2.2.17, mod_perl2, Perl 5.8.9 and MySQL-5.x
> > I have perldoc-ed RT_Config.pm and compared with my RT_SiteConfig.pm
> (found
> > here - http://lix.in/-9a992d) and I just cannot find what is causing
> this
> > CPU madness.
> >
> > What should I do? Where should I look?
> >
> >
> > --
> > Best regards,
> > Odhiambo WASHINGTON,
> > Nairobi,KE
> > +254733744121/+254722743223
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> > Damn!!
>
> > _______________________________________________
> > List info:
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
>
> --
>
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20110118/42361388/attachment-0001.html>
More information about the rt-devel
mailing list