elementor / elementor/elementor

Bug: Atomic Editor causes HTTP 508 (Loop Detected) / Resource Limit Is Reached on Low-End Apache Servers

Open
#36,205 3 comments 4 reactions 0 assignees View on GitHub
product/editor-v4 status/awaiting_triage
Dominant language
PHP
Stars
7.1k
Forks
1.6k
Avg merge
1d 5h
Merged PRs (30d)
193

Description

### Description

When enabling the Atomic Element / Atomic Editor feature in Elementor settings, the Elementor Editor panel fails to load completely (stuck on the loading screen). Upon inspecting the browser console and network tab, the server throws multiple HTTP 508 (Loop Detected) errors alongside a "**Resource Limit Is Reached**" response from the hosting environment.

This issue specifically occurs on lower-end/shared hosting environments powered by Apache Web Server, as the high volume of concurrent/granular REST API requests sent by the Atomic Editor completely exhausts the server's CPU, I/O, and Entry Processes (simultaneous PHP scripts limit).

Interestingly, the exact same project works flawlessly on a Staging Server running Nginx, despite having lower overall memory allocation, because Nginx's event-driven architecture handles these simultaneous atomic requests much more efficiently.

### Steps to reproduce

1. Use an Apache-based shared hosting environment with standard/low resource limits (e.g., low Entry Processes and CPU limits).
2. Go to Elementor > Settings > Features (or Advanced) and Enable the Atomic Editor / Atomic Element feature.
3. Attempt to open any page with the Elementor Editor.
4. The widget panel on the left will get stuck in an infinite loading loop.

**Console Log Error**
Image

**Network Error**
Image
5. Deactivating the Atomic Editor instantly resolves the loading issue (but breaks the layout previously built with it).
Image

### Expected behavior

The Atomic Editor should optimize request batching or throttling when deployed on Apache servers to prevent triggering server-side protections like CloudLinux LVE limits (HTTP 508 / Resource Limit Reached).

### Elementor System Info

#### Environment Comparison
##### 1. Staging Server (Works Perfectly - No Errors)
- Web Server: Nginx 1.24.0
- OS: Linux (Ubuntu)
- PHP Version: 8.3.6
- PHP Memory Limit: 512M
- WP Version: 6.9.4
- Theme: Hello Elementor 3.4.7

Click to reveal

```txt
== Server Environment ==
Operating System: Linux
Software: nginx/1.24.0
MySQL version: (Ubuntu) v8.0.46
PHP Version: 8.3.6
PHP Memory Limit: 512M
PHP Max Input Vars: 1000
PHP Max Post Size: 8M
GD Installed: No
ZIP Installed: No
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 6.9.4
Site URL: https://website.ciheul.com/sinergiweb
Home URL: https://website.ciheul.com/sinergiweb
WP Multisite: No
Max Upload Size: 2 MB
Memory limit: 40M
Max Memory limit: 512M
Permalink Structure: /%category%/%postname%/
Language: en_US
Timezone: 0
Admin Email: ciheul@mail.com
Debug Mode: Inactive

== Theme ==
Name: Hello Elementor
Version: 3.4.7
Author: Elementor Team
Child Theme: No

== User ==
Role: administrator
WP Profile lang: en-US
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36

== Active Plugins ==
Advanced Custom Fields
Version: 6.8.1
Author: WP Engine

Akismet Anti-spam: Spam Protection
Version: 5.6
Author: Automattic - Anti-spam Team

All-in-One WP Migration and Backup
Version: 7.105
Author: ServMask

Better Search Replace
Version: 1.4.10
Author: WP Engine

Classic Editor
Version: 1.6.7
Author: WordPress Contributors

Elementor
Version: 4.0.8
Author: Elementor.com

ElementsKit Lite
Version: 3.9.6
Author: Wpmet

Fluent Forms
Version: 6.2.4
Author: Contact Form - WPManageNinja LLC

Hello Dolly
Version: 1.7.2
Author: Matt Mullenweg

Jeg Kit for Elementor
Version: 3.2.3
Author: Jegtheme

Post Type Switcher
Version: 4.0.1
Author: Triple J Software, Inc.

Redirection
Version: 5.7.5
Author: John Godley

Royal Elementor Addons
Version: 1.7.1060
Author: WP Royal

TablePress
Version: 3.3.1
Author: Tobias Bäthge

Ultimate Addons for Elementor (UAE)
Version: 2.8.7
Author: Brainstorm Force

WordPress Importer
Version: 0.9.5
Author: wordpressdotorg

WP All Import
Version: 4.0.1
Author: Soflyy

WPCode Lite
Version: 2.3.5
Author: WPCode

Yoast SEO
Version: 27.6
Author: Team Yoast

== Elementor Experiments ==
Inline Font Icons: Active
Additional Custom Breakpoints: Active
Container: Active
Optimized Markup: Active
Header & Footer: Inactive
Pro Free Trial Popup: Active by default
Nested Elements: Active
Pages Panel: Inactive by default
Atomic Widgets: Active by default
V4 Indications Popover: Inactive by default
Enforce atomic widgets capabilities: Active by default
Editor MCP for atomic widgets: Active by default
Backward compatibility migrations: Active by default
Global Classes: Active by default
Enforce global classes capabilities: Active by default
Variables: Active by default
Variables Manager: Active by default
Editor v4 (Opt In Page): Active by default
Editor V4: Active by default
Components: Active by default
Interactions: Active by default
Widget Creation: Active by default
Import/Export Customization: Active by default
Elementor Editor Events: Active by default
In-Editor Feedback: Inactive by default

== Log ==

== Elementor - Compatibility Tag ==

Jeg Kit for Elementor: Compatibility not specified
Royal Elementor Addons: Compatibility not specified
Ultimate Addons for Elementor (UAE): Compatibility not specified
```

##### 2. Production Server (Triggers HTTP 508 / Crashes Editor)
- Web Server: Apache
- OS: Linux (Shared Hosting / cPanel CloudLinux)
- PHP Version: 8.1.34
- PHP Memory Limit: 256M (Locked by Server)
- WP Version: 6.9.4
- Theme: Hello Elementor 3.4.9

Click to reveal

```txt
== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: MySQL Community Server - GPL v8.0.45
PHP Version: 8.1.34
PHP Memory Limit: 256M
PHP Max Input Vars: 5000
PHP Max Post Size: 64M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 6.9.4
Site URL: https://sinergiweb.id
Home URL: https://sinergiweb.id
WP Multisite: No
Max Upload Size: 64 MB
Memory limit: 40M
Max Memory limit: 256M
Permalink Structure: /%category%/%postname%/
Language: en_US
Timezone: 0
Admin Email: ciheul@mail.com
Debug Mode: Inactive

== Theme ==
Name: Hello Elementor
Version: 3.4.9
Author: Elementor Team
Child Theme: No

== User ==
Role: administrator
WP Profile lang: en-US
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36

== Active Plugins ==
Advanced Custom Fields
Version: 6.8.1
Author: WP Engine

Akismet Anti-spam: Spam Protection
Version: 5.6
Author: Automattic - Anti-spam Team

All-in-One WP Migration and Backup
Version: 7.105
Author: ServMask

Better Search Replace
Version: 1.4.10
Author: WP Engine

Classic Editor
Version: 1.7.0
Author: WordPress Contributors

Elementor
Version: 4.1.3
Author: Elementor.com

ElementsKit Lite
Version: 3.9.6
Author: Wpmet

Fluent Forms
Version: 6.2.4
Author: Contact Form - WPManageNinja LLC

Heartbeat Control by WP Rocket
Version: 2.0.1
Author: WP Rocket

Jeg Kit for Elementor
Version: 3.2.3
Author: Jegtheme

Joinchat
Version: 6.2.3
Author: Creame

Post Type Switcher
Version: 4.0.1
Author: Triple J Software, Inc.

Royal Elementor Addons
Version: 1.7.1060
Author: WP Royal

Site Kit by Google
Version: 1.180.0
Author: Google

TablePress
Version: 3.3.1
Author: Tobias Bäthge

Ultimate Addons for Elementor (UAE)
Version: 2.8.7
Author: Brainstorm Force

WordPress Importer
Version: 0.9.5
Author: wordpressdotorg

WP All Import
Version: 4.0.1
Author: Soflyy

WPCode Lite
Version: 2.3.5
Author: WPCode

Yoast SEO
Version: 27.6
Author: Team Yoast

== Elementor Experiments ==
Inline Font Icons: Active
Additional Custom Breakpoints: Active
Container: Active
Optimized Markup: Active
Header & Footer: Inactive
Elementor MCP WP Abilities API: Inactive by default
Pro Free Trial Popup: Active by default
Nested Elements: Active
Pages Panel: Inactive by default
Atomic Widgets: Active
V4 Indications Popover: Inactive by default
Enforce atomic widgets capabilities: Active by default
Editor MCP for atomic widgets: Active by default
Backward compatibility migrations: Active by default
CSS Grid: Inactive by default
Editor design system panel: Active by default
Global Classes: Active
Enforce global classes capabilities: Active by default
Variables: Active
Variables Manager: Active by default
Editor v4 (Opt In Page): Active by default
Editor V4: Active
Components: Active
Interactions: Active by default
Widget Creation: Active by default
Generate website markdown: Inactive by default
Import/Export Customization: Active by default
Site Builder: Inactive by default
Elementor Editor Events: Active by default
In-Editor Feedback: Inactive by default

== Log ==

== Elementor - Compatibility Tag ==

Jeg Kit for Elementor: Compatibility not specified
Royal Elementor Addons: Compatibility not specified
Ultimate Addons for Elementor (UAE): Compatibility not specified
```

## Isolating the Problem
- This bug happens ONLY when the Atomic Editor feature is active
- Tested with ALL plugins deactivated except Elementor
- Tested with default Hello Elementor Theme.
- Increasing WP_MEMORY_LIMIT via wp-config.php does not resolve it because the Apache server hits the Physical CPU/Entry Processes limit first due to the massive influx of concurrent REST API requests (/wp-json/elementor/v1/...).

### Agreement

- [x] I confirm I have read and followed all the guidelines and instructions outlined in the Editor V4 Bug Report form.
- [x] I agree that my issue may be closed without further action if it doesn't meet all the requirements outlined in the Editor V4 Bug Report form.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.