• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Wordpress Server Error 505 - Memory_Limit

theXxX

New Pleskian
Server operating system version
Ubuntu 20.04.5 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.48_build1800221104.03 os_Ubuntu 20.04
Hi,

i have a problem with Wordpress and Plesk.

Details
  • When I try to save something in Wordpress with Elementor I get the error message Server Error 505.

I have already done the following:
  • Tested the same WordPress site with Elementor on another server. Everything works here.
  • It's not because of a broken plugin or because of Elementor. On another server (from a hoster), everything works without problems.
  • memory_limit was set to: 456M
    • After I increased to 456 it worked without errors for a few days. But now the error comes back.

After more detailed research, I realized that there are two settings for memory_limit. The server-side setting and the setting of WordPress itself.
In Plesk at Domains - PHP Settings memory_limit was increased to 456M. In Wordpress under Elementor - System Information, 128M was set. Therefore, I have increased the memory_limit to 456 for the used PHP version memory_limit under Plesk > Tools & Settings > PHP Settings > PHP handler (8.1.13 FastCGI application) > php.ini. Now 456M is also displayed in Wordpress. However, the error is still there.


Plesk settings:
PHP: 8.1.13 FastCGI Apache
CPUIntel(R) Xeon(R) CPU E5-2660 v4 @ 2.00GHz (4 core(s))
VersionPlesk Obsidian v18.0.48_build1800221104.03 os_Ubuntu 20.04
BetriebssystemUbuntu 20.04.5 LTS

Any ideas about the problem?
 

Attachments

  • 4 - Wordpress.png
    4 - Wordpress.png
    21.5 KB · Views: 5
  • 3.png
    3.png
    49.8 KB · Views: 5
  • 2.png
    2.png
    89.9 KB · Views: 5
  • 1.png
    1.png
    77.3 KB · Views: 6
This type of error is often caused by nested scripts that recursively call themselves. Example: A rewrite rule defines a specific 404 error page, but that page does not exist, so the webserver redirects to a "not found" page, redirects to a "not found" page, redirects to a "not found" page ... The same can happen when in a post or a page a script is included that recursively opens itself. For that reason more and more RAM is consumed as the script is stock in a recursive loop. You can test this simply by increasing RAM per script execution to an abnormally high value such as 1 GB or even 2 GB (most scripts need less than 100 MB).

Should you have migrated the site recently, make sure that all your paths and absolute URLs are set correctly.
 
Back
Top