Mautic performance - Timeout when accessing configuration

Your software
My Mautic version is: 4.4.5
My PHP version is: 7.4
My Database type and version is: MySQL 5.7
My OS: Centos 7

Your problem
My problem is: When i’m trying to access the configuration page, i get an error.


End users also report that mautic is very slow.

These errors are showing in the log: In the log, i can see :
mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Error: Maximum execution time of 30 seconds exceeded - in file /var/www/html/mautic/vendor/symfony/framework-bundle/Templating/Loader/FilesystemLoader.php - at line 44 [] {"hostname":"XXXXXXX","pid":XXXX}

Steps I have tried to fix the problem: No idea how to deal with.

I already have memcached install, the server as 6 CPUs and 12G of RAM.
I really don’t understand the slowness …

Can you please help ?

Cheers !

Hi, can you set longer execution time then 30 sec?
Try 300.

To do this edit your php.ini file.
It’s here probably (adjust the right path) if you use apache

/etc/php/7.4/apache2/php.ini

Apply the following settings:

memory_limit = 512M
max_execution_time = 300

I increase timeout to 60. Seems to work for that page.
I already have a memory limit of 512M.

But considering the performances, is there any other action to do to improve them?

That really depends HOW you use mautic. How many segmentsa you have, how often you import, etc.
Maybe let’s push you further when you ran into another issue :slight_smile: