CloudLinux

Find why a WordPress site is slow with CloudLinux X-Ray

Use CloudLinux X-Ray to trace slow PHP requests: see which plugins, database queries and external calls take time, and turn the findings into concrete fixes.

IntermediatecPanel hosting with CloudLinux2 min read

X-Ray is a CloudLinux tool that traces PHP requests on a website and shows where the time goes: which plugin, which database query, which external API call. It turns "the site is slow" into a specific list of things to fix.

Before you start

  • A server with CloudLinux and X-Ray enabled. Depending on the server, X-Ray is available to users in cPanel or run by the administrator; if you do not see it, ask your host.
  • A slow URL to investigate, such as the home page or a product page.

Start a trace

  1. Open X-Ray: in cPanel look for X-Ray under Software or Metrics; administrators use WHM → Plugins → CloudLinux Manager → X-Ray.
  2. Click Start tracing (or New task).
  3. Enter the URL or URL pattern to trace, for example example.com/shop/*.
  4. Set how long to trace or how many requests to collect, then start.
  5. Visit the page a few times, or let real traffic arrive.

Note: Tracing adds a little overhead, so stop the task once you have enough requests.

Read the results

For each traced request, X-Ray shows total time and a breakdown:

SectionWhat it tells you
Plugins / software modulesTime spent per WordPress plugin or theme
Database queriesSlow or repeated SQL queries and which code ran them
External requestsCalls to APIs, update servers, fonts or license checks
Slow functionsPHP functions taking the most time

Turn findings into fixes

  • One plugin dominates: update it, check its settings, or replace it.
  • Slow external calls: licence checks or social feeds run on every page; disable them or cache their results.
  • Heavy queries: clean up the database and autoloaded options (see database limits and fixes).
  • Everything is uniformly slow: enable page caching (see LiteSpeed Cache) and check the PHP version (see changing PHP version).

Tip: Trace again after each fix to confirm the improvement. Measuring before and after keeps you from optimising the wrong thing.

Relation to resource limits

Slow requests hold PHP processes longer, raising entry processes and causing 508 errors. X-Ray tells you why; Resource Usage tells you how often limits are reached.

Frequently asked questions

Does X-Ray work for non-WordPress sites?

Yes, it traces any PHP application. Plugin breakdowns are most detailed for WordPress.

Is X-Ray available on MdmHost?

MdmHost servers run CloudLinux. If X-Ray is not visible in your cPanel, open a ticket and support can run a trace for you.

Will visitors notice tracing?

No. Overhead is small and only traced URLs are affected, for the duration of the task.

How many requests should I trace?

Ten to fifty requests to the slow URL usually show a clear pattern. Trace during normal traffic for realistic results.

Can X-Ray find slow admin pages?

Yes. Trace a wp-admin URL pattern while you reproduce the slow action in the dashboard.

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.