Title: wordpress reloading time issue
Last modified: March 10, 2025

---

# wordpress reloading time issue

 *  [Abhishek Saini](https://wordpress.org/support/users/abhishek6394/)
 * (@abhishek6394)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/wordpress-reloading-time-issue/)
 * 
   Question: Optimizing Sitemap Performance for a Large WordPress Site on AWS EC2
   with BitnamiI am hosting a WordPress site on an AWS EC2 instance using a Bitnami
   stack. The database is hosted on Amazon RDS, and Redis is used as a caching layer
   along with the WP-Optimizer plugin. The site currently has a sitemap with around
   20,000 pages, which is expected to grow to 100,000 pages.The issue is that the
   sitemap and wp-admin pages are loading very slowly or eventually showing a 500
   Internal Server Error. However, all other pages on the site are loading smoothly
   without issues. The server has enough memory and storage available, and the following
   configurations are in place:Caching: Redis and WP-Optimizer are enabled.Plugins:
   Rank Math Pro is used for generating the sitemap.Logs: Apache error logs show
   warnings like:Constant WP_MEMORY_LIMIT already definedUndefined array keys “find”
   and “replace” in the Rank Math Pro plugin files.Timeout errors (AH01075).Server:
   EC2 instance with sufficient CPU, RAM, and disk space.PHP-FPM: Default timeout
   settings.Here’s what I’ve tried so far:Optimized the wp-config.php file to remove
   duplicate constants like WP_MEMORY_LIMIT.Updated all plugins, including Rank 
   Math Pro, to the latest versions.Increased PHP-FPM timeout in the configuration
   file.Ensured the server resources are sufficient.Despite these efforts, the sitemap
   still takes too long to load, and wp-admin occasionally shows internal server
   errors.Questions:How can I optimize the sitemap generation and loading process
   for such a large number of pages (20,000 to 100,000)?Are there specific configurations
   or adjustments needed for Rank Math Pro to handle large sitemaps efficiently?
   Is there any additional tuning required for Redis, Apache, or PHP-FPM to address
   these issues?Would splitting the sitemap into smaller chunks or switching to 
   a different sitemap generator plugin help resolve this problem?Are there any 
   known issues with large sitemaps on Bitnami stacks, and how can they be mitigated?
   Any guidance on resolving these performance issues would be greatly appreciated.
   Thank you!
    -  This topic was modified 1 year, 2 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
      Reason: formatting
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-reloading-time-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/wordpress-reloading-time-issue/#post-18352163)
 * Your sitemap is generated by Rank Math. I would therefore recommend that you 
   contact their support forum to clarify your request: [https://wordpress.org/support/plugin/seo-by-rank-math/](https://wordpress.org/support/plugin/seo-by-rank-math/)

Viewing 1 replies (of 1 total)

The topic ‘wordpress reloading time issue’ is closed to new replies.

## Tags

 * [plugin issue](https://wordpress.org/support/topic-tag/plugin-issue/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/wordpress-reloading-time-issue/#post-18352163)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
