[rt-users] Apache2 CPU hungry !
Bart
bart at pleh.info
Thu Oct 27 05:05:21 EDT 2011
Hi,
>From what I can recall during testing is that RT does eat quite allot of
memory (as you can see in your setup).
So you could say this is normal behavior, RT isn't your average website ;)
(allot of server-side action going on)
Having 1 GB should be ok but you're already using some plugins that might
use quite a bit more then a clean RT 4 installation. (External Auth, JS
Grant and calendar).
Increasing the memory to 2GB (minimum I guess) would solve your problem, or
tweaking Apache as Francisco mentioned.
-- Bart
2011/10/27 Michele Pinassi <michele.pinassi at unisi.it>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Kevin,
>
> this is the problem ! There's a lot of memory and CPU usage but, on that
> machine, there's ONLY RT 4.0.2 !!!!!
>
> It's a normal behaviour ?
>
> Michele
>
> On 26/10/2011 21:38, Kevin Falcone wrote:
> > On Wed, Oct 26, 2011 at 09:21:51AM +0200, Michele Pinassi wrote:
> >> Hi all,
> >>
> >> my RT 4.0.2 installation is too CPU hungry, expecially for apache2
> >> threads. Here's the HTOP display of processes and threads:
> >> http://imageshack.us/photo/my-images/810/schermatagf.png/
> >
> > That doesn't show high CPU usage, but it does show you being
> > dangerously close to swap. When an Apache server starts heavily using
> > swap, you get into swap death where a lot of CPU is wasted copying
> > apache children in and out of swap space.
> >
> > You either need to prune back your apache children to fit comfortably
> > in 1G of ram (and tune the max to never go above your memory
> > availability) or give the machine more RAM. Keep in mind that a
> > default apache may spawn 8 children, but be able to spawn another 20+
> > children when required and that can push you off a memory cliff.
> >
> > -kevin
> >
> >
> >
> > --------
> > RT Training Sessions (http://bestpractical.com/services/training.html)
> > * Washington DC, USA ? October 31 & November 1, 2011
> > * Barcelona, Spain ? November 28 & 29, 2011
>
>
> - --
> || Michele Pinassi
> || System Manager Area Sistema Biblioteche - UniSi
> || https://sites.google.com/a/unisi.it/o-zone/
> || Assistenza: +39.577.232299 (int. 2299)
> || Personale: +39.577.232477 (int. 2477)
> || FAX: +39.577.232430 (int. 2430)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk6pG70ACgkQFPw35TwkuY53/gCg1NEC+1dDQ3cGOPUYz/i55NYx
> uLwAoJV3LMhXEuw8FA7l5GYsuXa3A1F8
> =gCVH
> -----END PGP SIGNATURE-----
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Washington DC, USA October 31 & November 1, 2011
> * Barcelona, Spain November 28 & 29, 2011
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111027/31488ada/attachment.htm>
More information about the rt-users
mailing list