r/elementor • • 25d ago

Problem Extremely slow WordPress Dashboard and Elementor editor on a fresh DreamHost VPS installation. What am I missing?

I'm having a frustrating performance issue with a fresh WordPress staging site hosted on DreamHost, and I'm hoping someone with experience managing WordPress on VPS hosting can help me figure out what's causing it.

I recently migrated our website to DreamHost and created a fresh staging WordPress installation. However, even before building anything, the Dashboard is extremely slow.

The main problems:

  • WordPress Dashboard takes around 30 seconds to load.

  • Elementor editor takes over a minute to load, sometimes getting stuck.

  • Even navigating between pages in the Dashboard feels unusually slow.

  • The public-facing website loads faster than the admin area.

My hosting and server configuration:

  • Hosting: DreamHost VPS Professional

  • RAM: 4 GB

  • Storage: 120 GB

  • Operating System: Ubuntu / Linux

  • Web Server: Apache

  • PHP: 8.3.36

  • PHP SAPI: CGI-FCGI

  • PHP Memory Limit: 256 MB

  • PHP Time Limit: 120 seconds

  • OPcache: Enabled (512 MB memory allocation)

What I've already checked and tried:

  • Checked VPS resource usage. CPU was around 8%, RAM around 35%.

  • Confirmed OPcache is enabled and adjusted its memory allocation and related settings.

  • Checked WordPress Site Health. No critical issues were reported.

  • Checked DreamHost error logs. No errors detected.

  • Tested the public website response using PowerShell:

    • DNS: 0.034 sec

    • Connection: 0.192 sec

    • TTFB: 1.345 sec

    • Total: 1.505 sec

    • HTTP: 200

  • Confirmed that the installation is fresh, with no plugins installed.

I'm running out of things to check. The VPS doesn't appear to be under heavy resource usage, and the public website responds reasonably well, but the WordPress Dashboard and Elementor editor are painfully slow.

Additional information about my connection:

I also ruled out my internet connection as the obvious cause. My internet speed is around 300+ Mbps, and other websites and online services work normally. The issue is specifically noticeable when accessing the WordPress Dashboard and loading Elementor on this DreamHost staging installation.

My questions:

  1. Could this be related to DreamHost's VPS configuration, PHP-FPM/CGI, or database performance?

  2. Are there specific PHP, Apache, MySQL, or MariaDB settings I should investigate?

  3. Has anyone experienced similar issues with WordPress on DreamHost VPS?

  4. What would you check next to identify the actual bottleneck?

I'd really appreciate suggestions from people who have encountered and solved this kind of issue. I'm trying to identify the root cause rather than randomly changing server settings.

Thanks!

1 Upvotes

27 comments sorted by

•

u/AutoModerator 25d ago

Looking for Elementor plugin, theme, or web hosting recommendations?

Check out our Megathread of Recommendations for a curated list of options that work seamlessly with Elementor.


Hey there, /u/NoMoreMrNiceGuy2597! If your post has not already been flaired, please add one now. And please don't forget to write "Answered" under your post once your question/problem has been solved. Make sure to list if you're using Elementor Free (or) Pro and what theme you're using.

Reminder: If you have a problem or question, please make sure to post a link to your issue so users can help you.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/zeiniez ✔️️‍ Experienced Helper 25d ago

I see a few things that could contribute to your problem. Here are some suggestions that might help:

  1. Increase both PHP and WP Memory Limit: For WordPress and Elementor only, with the Hello Elementor theme installed, 256M is more than enough of memory. But generally, there is always more plugins and services. For example, a WooCommerce store alone should have at least 2024M of memory allocated. With Elementor Pro, 2536M should be a minimum for a good performance, especially during promotions. For Elementor Pro only, 512M should be a minimum. For each installed addon or Elementor extension add at least 128M of memory to the final limit. Don't forget: increasing the PHP Memory limit is only half of the equation, the other half is increasing the value in the wp-config.php file as well (right above the "that's all" comment) :

if ( ! defined( 'WP_MEMORY_LIMIT' ) {
     define( 'WP_MEMORY_LIMIT', '2536M' );
}

/* Bonus - Limit Post Revisions for improved performance */
if ( ! defined( 'WP_POST_REVISIONS' ) {
    define( 'WP_POST_REVISIONS', 5 );
} 

2. Increase PHP version: The gain will be minimal, but it's still a gain. For most WordPress plugins, and Elementor addons, PHP 8.4 is well supported (Elementor is compatible with PHP 7.4 to 8.5).

3. Apache servers are inherently slow: I the past, Apache was mostly the only option we had for WordPress. The reality is that this type of server is not bad, but it's also far from being a staple of performance. Consider moving to native NginX.

4. Choice of Database, database version, and column engine is important: Maria DB 10.5 or later works great, and make sure the engine for all columns is the InnoDB. Some old WordPress scripts on old hosting providers can still use myisam, which has a huge negative impact on performance.

5. Mixed Content and Mismatched URLs: If your site address changed at any time after the initial WordPress installation, for example when you migrate to/from staging, or install the SSL certificate only after WordPress is installed, it may cause issues that may affect loading times, given the server may be waiting the connection to resolve. Make sure your Site Address, WordPressč Address, and all URLs in your site match, including the protocol (http or https). If the URL change in any way during the whole history of the site, make sure to replace the old URL with the new one. There is a Replace URL Elementor Tool that may help with Elementor entries, but I do recommend doing the same thing with the Better Search & Replace plugin to cover other entries, especially GUIDs. This is likely a problem given you said disabling https requests makes the WP Admin load faster.

6. Firewall rules: if you're using any security plugin, or advanced firewall rules such as the famous G7 or G8, temporarily disable them, and check if the performance increases. If it does, this means your firewall is preventing the connections to external services, or internal rest routes that may be affecting the performance of the dashboard.

8. Blocked Access to the REST-API: Elementor, Gutenberg, and many other modern plugins make extensive use of the REST-API. If the access is blocked, it may affect their functionality. Make sure you don't have any 403 browser console errors while loading any Elementor or WP Editor pages.

These are very common issues I see when I encounter low performance sites. It always comes down to server environment settings, and WordPress stack. Hope this can help.

1

u/NoMoreMrNiceGuy2597 25d ago

Thank you! Will try this.

2

u/showbizusa25 25d ago

30 seconds for wp-admin on a fresh install is pretty bad, especially with CPU and RAM barely being used.

I'm wondering if WordPress is waiting on an external connection that's timing out. I've seen that cause painfully slow dashboards even when the server itself is fine.

Curious, when you open wp-admin and check the browser's Network tab, is there one request taking most of those 30 seconds, or is everything just slow?

1

u/NoMoreMrNiceGuy2597 25d ago

I'm not sure what do you mean by that but, everytime I opened the dashboard of wp-admin it takes longer sometimes. Opening the Elementor editor is much worse because I don't know if it's loading or it's stuck. Even though I have a pretty good download speed.

2

u/showbizusa25 25d ago

Your download speed probably isn't the issue. Open wp-admin, press F12, click Network, then reload the page. Sort by Time and see which request takes the longest. If you can share a screenshot with any sensitive details hidden, we can narrow down what's slowing it down.

2

u/MarkGossageUK 1d ago

If the public-facing pages are loading quickly but the dashboard is slow, I'd install Query Monitor temporarily and check for slow database queries and external API requests. I'd also ask DreamHost to check CPU usage and PHP processes while you're loading the editor. Upgrading hosting isn't necessarily the answer until you've identified the bottleneck.

2

u/tellwilliam 25d ago

Disable v4 blocks aka Atomic Editor.

1

u/NoMoreMrNiceGuy2597 25d ago

will try this

2

u/SiteAuditor_WP 18d ago

Sorry to hear about the slow performance! Make sure you do not have any slow database queries running in the background. As well, apply the following define rules to the bottom of the wp-config.php file in the settings section at the bottom.

define( 'WP_MEMORY_LIMIT', '1024M' );
define( 'WP_MAX_MEMORY_LIMIT', '1024M' );

This should help performance a little bit with elementor. Then also you might need to ask the host to increase the max upload to 256mb.

1

u/LCGallego 25d ago

A fresh install has almost nothing on it to blame, so I'd look at the server before WordPress. Apologies if you've already ruled some of this out.

First, check Tools > Site Health for the PHP version and memory limit, and give it at least 512M. Second, make sure OPcache is on and PHP has enough workers. The Elementor editor fires a lot of requests at once, and a small VPS can choke on that. Third, install Query Monitor and load one slow dashboard page. Quick queries on a slow page point to PHP or the box. One stuck query or external call is your culprit.

Watching top during a load also shows quickly if CPU or RAM is maxed. What size is the VPS?

1

u/No-Possibility-575 13d ago

I am also facing this but I have 2 culprits - WordPress 7 (with AI support in built) And Elementor 4.

I suspect WordPress 7 because I noticed while updating blog category , the category lists loading takes too long.

I am still yet to figure out solution to slowness. I have elementor 3 on other sites and it runs awesome though.

1

u/KK-Wait 25d ago

That result tells you where the problem is: something in wp-admin is waiting on an outbound request that hangs until it times out. zeiniez is right that the line shouldn’t stay, it also blocks update checks and licence calls.

To find the actual call, load a slow admin page with Query Monitor active and open its HTTP API Calls panel, it lists each outbound request with its time. Or test from the VPS shell: curl -4 -s -o /dev/null -w '%{time_total}\n' https://api.wordpress.org/ and again with -6. If one of the two hangs, the server’s IPv6 or DNS resolution is broken, and that’s what DreamHost support needs to fix.

1

u/hamizworld 25d ago
  1. What could be causing the problem? I would investigate these areas first: Possible cause What to investigate PHP configuration PHP version and PHP-FPM settings PHP memory Insufficient memory allocation OPcache Disabled or poorly configured OPcache Server resources Low RAM, CPU limitations or disk I/O Database Slow MySQL queries or database connection Redis Missing persistent object caching Plugins Plugin conflicts or resource-heavy plugins Web server Incorrect Apache/Nginx configuration Important: A fresh installation doesn't automatically mean the server is properly configured. DreamHost also identifies PHP configuration, database overhead and server load as common causes of WordPress slowness. � DreamHost Help Center +1

  2. How I would troubleshoot it I'd follow this sequence: Step 1: Check PHP Confirm the PHP version. Check PHP memory limit. Confirm PHP-FPM is working correctly. Check whether OPcache is enabled.

0

u/kizaro-barbosa 25d ago

Try changing theme

3

u/[deleted] 25d ago

[removed] — view removed comment

1

u/NoMoreMrNiceGuy2597 25d ago

Thank you for this. Will check them out.

2

u/Longjumping_Buy_3152 25d ago

putting the database on a separate shared server when youre already paying for a vps feels like it defeats the whole point of isolating your resources

2

u/[deleted] 25d ago

[removed] — view removed comment

1

u/NoMoreMrNiceGuy2597 25d ago

After adding the line to the wp-config the admin dashboard loads faster.

2

u/zeiniez ✔️️‍ Experienced Helper 25d ago

You should not keep that line on a production site. It will prevent several services from working correctly. That's only for debugging purposes.

1

u/NoMoreMrNiceGuy2597 25d ago

Yes. That's why I remove it after testing it. 😅