{"id":972,"date":"2026-11-23T09:00:00","date_gmt":"2026-11-23T09:00:00","guid":{"rendered":"https:\/\/thefasthost.net\/?p=972"},"modified":"2026-11-23T09:00:00","modified_gmt":"2026-11-23T09:00:00","slug":"why-is-my-site-slow-on-shared-hosting-diagnose-the-real-bottleneck","status":"publish","type":"post","link":"https:\/\/thefasthost.net\/uk\/why-is-my-site-slow-on-shared-hosting-diagnose-the-real-bottleneck\/","title":{"rendered":"Why Is My Site Slow on Shared Hosting? Diagnose the Real Bottleneck"},"content":{"rendered":"<!-- article-wizard:d3a3ca7e-d8ab-4a96-8290-626873ea417b -->\n\n<h2 class=\"wp-block-heading\">Key Takeaways<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Measure one slow URL with curl before changing anything<\/strong>: a TTFB above 1.0 s on a page that should be cached points to PHP or database work, not to network speed.<\/li><li><strong>cPanel Resource Usage reveals whether you hit account ceilings<\/strong> such as CPU, physical memory, and entry processes, which separates host-side throttling from slow application code.<\/li><li><strong>Autoloaded options above 800 KB and a 128M PHP memory limit<\/strong> are the two most common WordPress-side bottlenecks on budget shared plans.<\/li><li><strong>Change one variable, re-test the same URL, and log the numbers<\/strong>, so your support ticket carries evidence instead of a vague complaint.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Start With a Baseline, Not a Guess<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Speed complaints stay unsolved when they stay vague. A workable baseline is one URL, one test location, three runs, and a timestamp.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Define the Slow Page and the Slow Request<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Pick two URLs: the homepage and the page you actually care about, such as a product page or a long article. Test them logged out, from a connection outside your office, at the same hour across two days. Record <strong>DNS lookup<\/strong>, <strong>TTFB<\/strong> (time to first byte), and <strong>total load<\/strong> for each run.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The curl snippet below repeats a request three times and prints those timings in seconds.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Baseline one URL: DNS, connect, TTFB and total time for three runs\nURL=&quot;https:\/\/example.com\/slow-page\/&quot;\nfor i in 1 2 3; do\n  curl -s -o \/dev\/null \\\n    -w &quot;run=$i dns=%{time_namelookup}s connect=%{time_connect}s ttfb=%{time_starttransfer}s total=%{time_total}s bytes=%{size_download}\\n&quot; \\\n    -H &quot;Cache-Control: no-cache&quot; &quot;$URL&quot;\ndone<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A TTFB above <strong>1.0 s<\/strong> on a page that should be cached means the server spends time in PHP or MySQL, while a fast TTFB with a slow total usually means oversized images, web fonts, or render-blocking scripts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Separate Hosting-Side Limits From Application-Side Problems<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before touching plugins, classify the symptom. The two failure families need opposite fixes: hosting limits need fewer workers or a bigger plan, while application problems respond to query, plugin, or cache work.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Symptom<\/th>\n<th>Likely hosting side<\/th>\n<th>Likely application side<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>A plain .html file also takes 2 s to respond<\/td>\n<td>Yes<\/td>\n<td>No<\/td>\n<\/tr>\n<tr>\n<td>Static file loads in 200 ms, WordPress page in 2 s<\/td>\n<td>No<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>CPU or entry processes hit 100% at the same minute daily<\/td>\n<td>Yes, or a cron-triggered plugin<\/td>\n<td>Possible<\/td>\n<\/tr>\n<tr>\n<td>Fast for guests, slow only for logged-in users<\/td>\n<td>No<\/td>\n<td>Yes, cache bypass plus queries<\/td>\n<\/tr>\n<tr>\n<td>Slow only between 09:00 and 11:00 CET<\/td>\n<td>Yes, node contention or I\/O<\/td>\n<td>Unlikely<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Read cPanel Resource Usage Before Changing Anything<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Resource Usage<\/strong> page (CloudLinux LVE) is the cheapest diagnostic available on a shared account. Open Metrics > Resource Usage and compare Snapshot with Current Usage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check CPU, Memory, and Entry Processes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Four numbers matter. <strong>CPU<\/strong> shows percentage of your allocation. <strong>PMEM<\/strong> is physical memory. <strong>EP<\/strong> (entry processes) counts concurrent PHP requests, so a cap of 20 means request 21 waits or fails with a 508 error. <strong>I\/O<\/strong> shows disk throughput and faults.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A typical small business plan might allow 100% CPU, 1 GB PMEM, and 20 EP. If usage graphs sit near those ceilings for more than a few minutes per hour, the account is throttled and no plugin will fix it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\/O is the limit budget hosts advertise least. NVMe storage changes the picture because random reads dominate WordPress and MySQL work:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Metric (typical, 4K random)<\/th>\n<th>SATA SSD<\/th>\n<th>NVMe SSD<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Random read IOPS<\/td>\n<td>90,000 to 100,000<\/td>\n<td>400,000 to 700,000<\/td>\n<\/tr>\n<tr>\n<td>Read latency<\/td>\n<td>0.10 to 0.20 ms<\/td>\n<td>0.02 to 0.08 ms<\/td>\n<\/tr>\n<tr>\n<td>Sequential read<\/td>\n<td>around 550 MB\/s<\/td>\n<td>2,000 to 7,000 MB\/s<\/td>\n<\/tr>\n<tr>\n<td>Practical WordPress effect<\/td>\n<td>fine for low traffic<\/td>\n<td>fewer wait states on uncached PHP and database queries<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Treat those as ranges, because controller quality and plan tier change real results. If a host publishes neither storage type nor renewal price, comparison becomes guesswork, and <a href=\"https:\/\/thefasthost.net\/uk\/ssd-shared-hosting\/\">NVMe SSD shared hosting plans<\/a> that list storage and resource ceilings next to the price make the decision measurable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Identify Traffic Spikes, Cron Jobs, and PHP Workers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Correlate the usage graph with events. A newsletter send at 10:00 explains an EP spike at 10:02. A plugin running every five minutes explains steady CPU pressure, which you can confirm with <code>wp cron event list<\/code> over SSH or WP-CLI.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PHP-FPM worker counts are host-side settings. Ask support how many workers your account can use, because it is often lower than your entry process cap and becomes the real concurrency limit during traffic spikes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Audit PHP Memory Limit and Execution Limits<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Compare PHP Memory Limit With Actual Plugin Demand<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Most shared stacks default to <strong>128M<\/strong>. WooCommerce stores, page builders, and import tools commonly need <strong>256M to 512M<\/strong>. Memory exhaustion shows up as blank pages or 500 errors, but repeated pressure also slows requests while PHP retries work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The command below reads the effective limits, then creates a temporary phpinfo file so you can confirm the web value.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Read effective PHP limits; the web SAPI often differs from CLI\nphp -i | grep -E &quot;memory_limit|max_execution_time|max_input_time|post_max_size|upload_max_filesize&quot;\n# Check the FPM value the site actually serves, then delete this file\necho '&lt;?php phpinfo(INFO_GENERAL | INFO_CONFIGURATION);' &gt; ~\/public_html\/phpinfo-check.php<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Compare the two outputs: a 512M CLI limit with a 128M web limit explains why a plugin passes in WP-CLI but fails during a real page load.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Review Max Execution Time, Input Time, and Post Size<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Defaults of <strong>30 s<\/strong> for <code>max_execution_time<\/code> \u0456 <strong>8M<\/strong> for <code>post_max_size<\/code> are common. A 504 gateway timeout after exactly 30 s is a limit symptom, not a slow page. Large product imports need <code>post_max_size<\/code> \u0456 <code>upload_max_filesize<\/code> raised together, usually through MultiPHP INI Editor, and only after checking that your plan allows the change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Measure WordPress Database Overhead<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Find Slow Queries and Autoloaded Options<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Query Monitor, installed temporarily, lists every query and flags duplicates. Autoloaded options matter more on shared hosting because they load on every request. This query shows the largest offenders.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Largest autoloaded options; WordPress 6.6+ stores 'on' instead of 'yes'\nmysql -u USER -p DBNAME -e &quot;\nSELECT option_name, LENGTH(option_value) AS bytes\nFROM wp_options\nWHERE autoload IN ('yes','on')\nORDER BY bytes DESC\nLIMIT 15;&quot;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Total autoloaded size above <strong>800 KB<\/strong> is a red flag, and <strong>300 to 500 KB<\/strong> is a healthier target. Adjust the <code>wp_<\/code> prefix if your install uses a custom one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Plan WordPress Database Optimization Without Breaking the Site<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Back up first, then test on staging where possible. Safe steps include deleting expired transients, limiting revisions with <code>define('WP_POST_REVISIONS', 5);<\/code>, and removing orphaned postmeta left by deleted plugins. Skip aggressive &#8220;one-click&#8221; cleaners on a live store, since they often drop data that themes still reference.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When Query Monitor shows MySQL consuming most of the TTFB, server tuning matters more than plugin tweaks, and <a href=\"https:\/\/thefasthost.net\/uk\/ssd-wordpress-hosting\/\">high-performance WordPress hosting with NVMe SSD storage<\/a> becomes a reasonable comparison point against fighting a 128M limit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Test Hosting Cache Plugin Behavior<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Confirm Page Cache, Object Cache, and Browser Cache Are Working<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Each layer solves a different problem. A HIT on one does not prove the others work.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Layer<\/th>\n<th>What it stores<\/th>\n<th>How to test<\/th>\n<th>Failure symptom<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Page cache<\/td>\n<td>full HTML for guests<\/td>\n<td>curl headers, look for HIT and Age<\/td>\n<td>TTFB identical to uncached<\/td>\n<\/tr>\n<tr>\n<td>Object cache<\/td>\n<td>repeated database query results<\/td>\n<td>Query Monitor, Redis stats<\/td>\n<td>same query runs 40 times<\/td>\n<\/tr>\n<tr>\n<td>Browser cache<\/td>\n<td>CSS, JS, images<\/td>\n<td><code>Cache-Control<\/code> headers<\/td>\n<td>repeat visits stay slow<\/td>\n<\/tr>\n<tr>\n<td>Edge or CDN<\/td>\n<td>HTML and static assets<\/td>\n<td><code>x-cache<\/code> \u0430\u0431\u043e <code>cf-cache-status<\/code><\/td>\n<td>HIT ratio below 70%<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This header check shows whether anonymous visitors get cached HTML and whether logged-in cookies correctly bypass it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Check cache status for guests, then for a logged-in cookie\ncurl -sI https:\/\/example.com\/ | grep -iE &quot;x-cache|x-litespeed-cache|cf-cache-status|age|cache-control&quot;\ncurl -sI -H &quot;Cookie: wordpress_logged_in_example=1&quot; https:\/\/example.com\/ | grep -iE &quot;x-cache|age|cache-control&quot;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first call should return a HIT with a rising <code>Age<\/code> header, while the cookie call should bypass cache, which is correct for members but costly if it also happens to guests.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Detect Cache Misses Caused by Cookies, Logins, and Dynamic Pages<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">WooCommerce cart fragments, nonce-bearing contact forms, and plugins that set cookies on every visit can silently disable page cache. Check exclusion lists for cart, checkout, and my-account pages, then confirm that a normal article still returns a HIT. Dynamic pages should stay uncached by design, so do not &#8220;fix&#8221; a miss on checkout.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Follow a Repeatable Triage Sequence<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Fix the Largest Bottleneck First<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Work in this order, because each step is cheaper than the next and rules out a whole category:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Baseline one URL with curl.<\/li><li>Read cPanel Resource Usage for the same minute.<\/li><li>Compare PHP limits with plugin demand.<\/li><li>Profile queries and autoloaded options.<\/li><li>Verify cache HITs for guests.<\/li><li>Consider a plan upgrade only after steps 1 to 5.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Re-Test After Each Change and Record Results<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Keep a log. Without before-and-after numbers, it is impossible to know which change helped.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Change<\/th>\n<th>TTFB before<\/th>\n<th>TTFB after<\/th>\n<th>CPU peak<\/th>\n<th>Verdict<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Disabled backup plugin<\/td>\n<td>2.4 s<\/td>\n<td>1.1 s<\/td>\n<td>80%<\/td>\n<td>keep off<\/td>\n<\/tr>\n<tr>\n<td>Autoload trimmed 1.2 MB to 480 KB<\/td>\n<td>1.1 s<\/td>\n<td>0.9 s<\/td>\n<td>62%<\/td>\n<td>keep<\/td>\n<\/tr>\n<tr>\n<td>Enabled page cache<\/td>\n<td>0.9 s<\/td>\n<td>0.3 s<\/td>\n<td>30%<\/td>\n<td>keep<\/td>\n<\/tr>\n<tr>\n<td>Raised memory 128M to 256M<\/td>\n<td>0.3 s<\/td>\n<td>0.3 s<\/td>\n<td>28%<\/td>\n<td>no effect<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Know When to Open a Hosting Ticket<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Attach cPanel Metrics, PHP Limits, Plugin Logs, and Timestamps<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Send evidence, not adjectives. Include the exact URL, three curl runs with UTC timestamps, a Resource Usage screenshot, phpinfo values, Query Monitor slow queries, and a list of changes already tested. Submit it through the <a href=\"https:\/\/thefasthost.net\/uk\/contact\/\">contact page<\/a> so it lands in the queue with your account details attached.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Ask for Specific Evidence About Shared Hosting Limits<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Specific questions get specific answers. Ask whether your account was throttled between 14:00 and 14:20 UTC, what your EP and PMEM caps are, which processes used the most CPU, whether disk I\/O is capped, and whether another account on the node saturated storage. A host that publishes limits up front shortens this exchange, and one that answers with log excerpts earns trust.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Further Reading<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/thefasthost.net\/uk\/cheap-unlimited-hosting\/\">\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u043d\u0435\u043e\u0431\u043c\u0435\u0436\u0435\u043d\u0438\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0437 NVMe SSD<\/a><\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p>Why is my site<\/p>","protected":false},"author":1,"featured_media":971,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"twitter_1268815233012940800_1268815233012940800":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[31],"tags":[],"class_list":["post-972","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/thefasthost.net\/wp-content\/uploads\/2026\/11\/why-is-my-site-slow-on-shared-hosting-diagnose-the-real-bottleneck.jpg","_links":{"self":[{"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/posts\/972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/comments?post=972"}],"version-history":[{"count":1,"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/posts\/972\/revisions"}],"predecessor-version":[{"id":973,"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/posts\/972\/revisions\/973"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/media\/971"}],"wp:attachment":[{"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/media?parent=972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/categories?post=972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thefasthost.net\/uk\/wp-json\/wp\/v2\/tags?post=972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}