Mobile app version of vmapp.org
Login or Join
Ravi8258870

: Analyze high load due to Joomla? I have a Joomla site causing very high (php) load on the server. I have already ran the MySQL slow log feature and it doesn't appear to be MySQL. What are

@Ravi8258870

Posted in: #Cpu #Joomla #Php

I have a Joomla site causing very high (php) load on the server. I have already ran the MySQL slow log feature and it doesn't appear to be MySQL.

What are some ways to analyze a Joomla site to determine what causes the high php load?

Example of highest processes for the day:

testing1 testing1.com 27.32 0.53 0.3
Top Process %CPU 179 /usr/bin/php /home/testing1/public_html/index.php
Top Process %CPU 138 /usr/bin/php /home/testing1/public_html/index.php
Top Process %CPU 137 /usr/bin/php /home/testing1/public_html/index.php


Using latest 1.5 Joomla on a CentOS server running Apache/MySQL. I have full/root access to this server, so whatever tools are needed I can install.

I know the general idea is that a number of 3rd-party components are probably causing this, but how can I determine which ones (without removing/disabling them)?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi8258870

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

It's still going to be hard diagnosing the problem without disabling suspected components (diagnosing performance problems is like diagnosing any other sort of problem; it's a process of elimination, which requires isolating/controlling different variables to test different hypotheses), but useful tools to have are:


Monitoring / visualization tools: e.g. dstat + gnuplot, log analyzers, etc.
Stress/load testing tools: e.g. httperf, Autobench, ApacheBench (ab), OpenWebLoad, etc.
Code profiling tools: e.g. Dbg, Xdebug, CodeAnalyst, Dtrace, pmp, or whatever profiling tools come with your app framework's debugging facilities.
Other: Aspera is basically a MySQL performance diagnostic toolkit used by Percona, but a lot of these tools have more general purpose usefulness, such as tools for profiling IO, for stack traces, for triggering a script or event when certain conditions are met, for drilling down collected data, etc. It provides a lot of the "glue" for an efficient diagnostic workflow.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme