# Incredibly slow response times

**URL:** <https://forum.mautic.org/t/incredibly-slow-response-times/1547>\
**Category:** Product Support\
**Created:** [February 15, 2015, 9:02pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547 "2015-02-15T21:02:49Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![brendan](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@brendan](https://forum.mautic.org/u/brendan)\
**Post date:** [February 15, 2015, 9:02pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/1 "2015-02-15T21:02:49Z")

</div>

Hello!  
  
  
  
I am currently hosting on MediaTemple’s grid service, and I installed Mautic. The installation went well and everything is complete, however I am getting ridiculous load times (like 30+ seconds). Toggling a field, for example, takes 30-40 seconds. I’ve looked for performance tips for Symfony and have made the following changes to my php.ini, but I haven’t noticed any kind of an improvement:

Code:

realpath\_cache\_size = 4096k realpath\_cache\_ttl=7200 open\_basedir = none

  
I also don't have safemode on or xdebug installed.  
  
Any thoughts? I'm excited to experiment with the software, but waiting 30 seconds between clicks is starting to make me pace around my office.  
  
Thanks.

---

<div class="post-metadata">

**Author:** ![brendan](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@brendan](https://forum.mautic.org/u/brendan)\
**Post date:** [February 15, 2015, 9:02pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/2 "2015-02-15T21:02:49Z")

</div>

Hello!

I am currently hosting on MediaTemple’s grid service, and I installed Mautic. The installation went well and everything is complete, however I am getting ridiculous load times (like 30+ seconds). Toggling a field, for example, takes 30-40 seconds. I’ve looked for performance tips for Symfony and have made the following changes to my php.ini, but I haven’t noticed any kind of an improvement:

`realpath_cache_size = 4096k
realpath_cache_ttl=7200
open_basedir = none`

I also don’t have safemode on or xdebug installed.

Any thoughts? I’m excited to experiment with the software, but waiting 30 seconds between clicks is starting to make me pace around my office.

Thanks.

---

<div class="post-metadata">

**Author:** ![dbhurley](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dbhurley/32/2_2.png) [@dbhurley](https://forum.mautic.org/u/dbhurley)\
**Post date:** [February 15, 2015, 9:57pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/3 "2015-02-15T21:57:38Z")

</div>

Yeah, there’s no way I would use anything with that kind of delay! 🙂 I haven’t heard of anyone else with these 30 second plus between clicks so there is definitely something “erroring” out along the way. We may need to hear more about your server setup and also check your app error logs to see what might be going on.

I doubt that your server is not powerful enough. We’ve written Mautic to run on minimal server settings and shared hosting environments without any issues. My guess is there is an error that is being thrown or a resource not loading and thus causing a delay in the request processing.

Are you comfortable looking at your server’s error logs?

Thanks,  
David

---

<div class="post-metadata">

**Author:** ![brendan](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@brendan](https://forum.mautic.org/u/brendan)\
**Post date:** [February 16, 2015, 1:24am UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/4 "2015-02-16T01:24:45Z")

</div>

Of course. How would you like me to get those to you?

---

<div class="post-metadata">

**Author:** ![brendan](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@brendan](https://forum.mautic.org/u/brendan)\
**Post date:** [February 16, 2015, 6:35pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/5 "2015-02-16T18:35:12Z")

</div>

And what logs would be helpful? Can I email them?

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [February 17, 2015, 12:50am UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/6 "2015-02-17T00:50:48Z")

</div>

Hi Brendan,

You can email them to me at alan.hartless@{this-site}.org or join us on Slack ([https://www.mautic.org/get-involved/group-chats](https://www.mautic.org/get-involved/group-chats)) then you can PM us.

Are all pages having that kind of response or only certain ones or after certain actions (like submitting a form)?

Thanks!  
Alan

---

<div class="post-metadata">

**Author:** ![0xff](https://avatars.discourse-cdn.com/v4/letter/0/5fc32e/32.png) [@0xff](https://forum.mautic.org/u/0xff)\
**Post date:** [February 7, 2016, 5:04pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/7 "2016-02-07T17:04:37Z")

</div>

Private support is fine, but it would be interesting for the community to know why it was slow too. Could you report us the final point please?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [February 2, 2017, 1:42pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/8 "2017-02-02T13:42:48Z")

</div>

cool @zenzozen 😉

---

<div class="post-metadata">

**Author:** ![zenzozen](https://avatars.discourse-cdn.com/v4/letter/z/0ea827/32.png) [@zenzozen](https://forum.mautic.org/u/zenzozen)\
**Post date:** [February 1, 2017, 8:53pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/9 "2017-02-01T20:53:33Z")

</div>

Im experiencing this for a long time, but now i cant use mautic anymore. Any request is having a delay ( using dashboard, creatinh forms, campaigns, loading a mautic form on a landing page, preview email, etc)

Im using self hosted, on a very good dedicated server

- we have 220.000 contacts
- integrated via API (made a RoR library version) so when people sign in in our site, its two-way synchronized
- 1000 contacts added or updated by API per day
- have few active campaigns with simple triggers only for subscriptions and very specific segments
- cron jobs are setup by recommendations of mautic support / docs / forum
- mautic comes and go, specially after campaign sendind emails

---

<div class="post-metadata">

**Author:** ![zenzozen](https://avatars.discourse-cdn.com/v4/letter/z/0ea827/32.png) [@zenzozen](https://forum.mautic.org/u/zenzozen)\
**Post date:** [February 1, 2017, 9:52pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/10 "2017-02-01T21:52:03Z")

</div>

Update: we were using 1 core - 1gb RAM server for the database and upgraded to a better one.  
Its solved, but we will try some optimal config for the reason of costs.

---

<div class="post-metadata">

**Author:** ![outhousetickets](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@outhousetickets](https://forum.mautic.org/u/outhousetickets)\
**Post date:** [April 4, 2017, 8:49pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/11 "2017-04-04T20:49:57Z")

</div>

I have the same issue. Takes 30 plus seconds simply to get to the Channels\>Emails screen and I usually have to click it 3-4 times to even get this kind of response. I’m on a very powerful server with lots of RAM so this can’t be it. It is on a Windows server - could this be the issue?

---

<div class="post-metadata">

**Author:** ![LeniNeto](https://avatars.discourse-cdn.com/v4/letter/l/d78d45/32.png) [@LeniNeto](https://forum.mautic.org/u/LeniNeto)\
**Post date:** [June 6, 2017, 8:14am UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/12 "2017-06-06T08:14:00Z")

</div>

I’m also experiencing some serious slowness with Mautic. I’ve managed to somehow fix the problem with the web interface, its very snappy (most of the time) . I had to remove the cache folder several times during the process and I also don’t use .htaccess files (apache is known to slow down due to the them). I’ve moved the rules to my apache config file.

Despite that, mautic campaign processing is slow to the point of being useless. Processing a campaign with only 85,000 contacts on it will take way over 4 hours.  
I saw other people relating the same. Someone with over 1mil contacts took 2.5 days to finish processing the campaign trigger.  
Are we all doing something wrong?

---

<div class="post-metadata">

**Author:** ![LeniNeto](https://avatars.discourse-cdn.com/v4/letter/l/d78d45/32.png) [@LeniNeto](https://forum.mautic.org/u/LeniNeto)\
**Post date:** [June 11, 2017, 9:26am UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/13 "2017-06-11T09:26:26Z")

</div>

@MxyzptlkFishStix  
Its not a matter of list size. The thing is we’re trying to replace our current marketing tools with Mautic, so we have to import our own lists. I could import just a part of the list to make it smaller but I don’t see the point.

---

<div class="post-metadata">

**Author:** ![redneckbob](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@redneckbob](https://forum.mautic.org/u/redneckbob)\
**Post date:** [June 13, 2017, 3:03am UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/14 "2017-06-13T03:03:50Z")

</div>

Can you tell us more about the hardware? How much memory is in the server? Do you have access to any performance analysis tools? Is it swapping to disk? Disk drive errors? You on a shared host or have your own server?

The more information you can provide us about the setup the better.

Also, have you setup the slow query log on MySQL? If not, you should. Check out the Percona toolkit, specifically pt-query-digest.

- [https://www.dreamhost.com/blog/mysql-checking-the-slow-query-log-and-simple-indexing/](https://www.dreamhost.com/blog/mysql-checking-the-slow-query-log-and-simple-indexing/)
- [https://www.percona.com/software/database-tools/percona-toolkit](https://www.percona.com/software/database-tools/percona-toolkit)

---

<div class="post-metadata">

**Author:** ![wittwerch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/wittwerch/32/88_2.png) [@wittwerch](https://forum.mautic.org/u/wittwerch)\
**Post date:** [June 22, 2017, 4:38am UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/15 "2017-06-22T04:38:06Z")

</div>

Sometimes OPcache is disabled on the cli, you should check that.  
Beside that Mautic has that weird concept of sleep times built in: [https://github.com/mautic/mautic/blob/556f4e4969ad9124106dcb9535a5704d863665fc/app/bundles/CampaignBundle/Model/EventModel.php#L618](https://github.com/mautic/mautic/blob/556f4e4969ad9124106dcb9535a5704d863665fc/app/bundles/CampaignBundle/Model/EventModel.php#L618)  
That will basically introduce artificial wait time into your process, so I would recommend to set that to zero so you make use of all the CPU power you have.

app/config/parameters\_local.php

```auto
<?php
$parameters = array(
    'batch_sleep_time' => 0,
);
```

---

<div class="post-metadata">

**Author:** ![martinstrom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/martinstrom/32/433_2.png) [@martinstrom](https://forum.mautic.org/u/martinstrom)\
**Post date:** [August 3, 2017, 3:18pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/16 "2017-08-03T15:18:54Z")

</div>

Do you mean creating a file in app/config/parameters\_local.php with that parameters? Or change it in /app/bundles/CampaignBundle/Model/EventModel.php ?

[quote=23894:@wittwerch]  
That will basically introduce artificial wait time into your process, so I would recommend to set that to zero so you make use of all the CPU power you have.

app/config/parameters\_local.php

[code]

\<?php $parameters = array( 'batch\_sleep\_time' =\> 0, ); [/code][/quote]

---

<div class="post-metadata">

**Author:** ![martinstrom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/martinstrom/32/433_2.png) [@martinstrom](https://forum.mautic.org/u/martinstrom)\
**Post date:** [August 3, 2017, 3:38pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/17 "2017-08-03T15:38:23Z")

</div>

I have one Mautic Installation now for a client and it is super slow to browse into /s/emails takes like 3-5minutes

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 11:00pm UTC](https://forum.mautic.org/t/incredibly-slow-response-times/1547/18 "2020-02-02T23:00:42Z")

</div>


