Base de conhecimento
1000 perguntas frequentes, 500 tutoriais e vídeos explicativos. Aqui, você encontra apenas soluções!
Troubleshooting resource limit errors
This guide details the resource limit errors that can occur when managing and visiting a website.
Introduction
- Resource limits are put in place to maintain the integrity, stability, and performance of the shared server, while ensuring a fair experience for all users.
- If a website or application requires significantly more resources, it may be necessary to switch to a Cloud Server or another type of virtual hosting where resources are allocated more flexibly.
Error Origin
Fatal error: Maximum execution time of 30 seconds exceeded
This error occurs when the server sets a time limit for script execution, usually to prevent tasks from taking too long. For example, if a script attempts to resize many large images in a single operation, it may exceed the allowed execution time limit. The server imposes this limit to ensure a quick response to user requests. The path often mentioned in the error can indicate a more precise origin (e.g., Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/1234567abc/web/wp-includes/media.php on line 123).
memory_limit exceeded
This error occurs when a script or application uses more memory than it is allocated. This can happen when a script processes a large volume of data or when there is a memory leak. For example, an image management script may consume more memory than allowed, resulting in this error.
Troubleshooting steps
Here are some suggestions for resolving these errors:
- Check the scripts that make multiple connections to the server to display data.
- Optimize the script(s) in question so that they require fewer resources.
- Increase the limits for the site in question to allow the script to perform all its functions and/or limit the number of simultaneous connections (especially on a Cloud Server where the limits (RAM, execution time, simultaneous connections) can be significantly increased).
- Migrate your hosting to a Cloud Server.
Also, please refer to this other guide.
Link para esta FAQ: https://faq.infomaniak.com/2828
Esta seção de perguntas frequentes foi útil?