Plesk

A website hosted on a Plesk server shows Internal Server error 500: Allowed memory size of XXX exhausted

Symptoms

Cause

The website reaches the PHP memory limit and thus generates web servers errors which make it unavailable or processed very slowly by the web server.

Resolution

  1. Log into Plesk

  2. Go to Domains > example.com > PHP Settings and increase memory_limit value according to the application requirements, by using the instructions from the following article: 
    How to change PHP memory_limit value via Plesk?

    Note: the following shortcuts should be used for memory_limit value: K (kilobytes), M (megabytes), and G (gigabytes). If the "free -mh" command shows not enough RAM, contact your Cloud hosting provider to increase it

Exit mobile version