# Slow and 504 errors

**URL:** https://community.localwp.com/t/slow-and-504-errors/802
**Category:** Support
**Created:** [February 20, 2017, 3:00am UTC](https://community.localwp.com/t/slow-and-504-errors/802 "2017-02-20T03:00:45Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![bluedogdigital](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/bluedogdigital/32/199_2.png) [@bluedogdigital](https://community.localwp.com/u/bluedogdigital)
#### Post date: [February 20, 2017, 3:00am UTC](https://community.localwp.com/t/slow-and-504-errors/802/1 "2017-02-20T03:00:45Z")

</div>

I’m having speed problems with my Local install and seeing 504 errors. The sites are pretty much unusable it’s so slow. I tried disabled Xdebug which did not work. ☹

I have a brand new (2015 model) 16gb Macbook Pro.

Thanks  
Clark

---

<div class="post-metadata">

### Author: ![bluedogdigital](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/bluedogdigital/32/199_2.png) [@bluedogdigital](https://community.localwp.com/u/bluedogdigital)
#### Post date: [February 20, 2017, 3:58am UTC](https://community.localwp.com/t/slow-and-504-errors/802/2 "2017-02-20T03:58:54Z")

</div>

Here’s a screenshot of the 504 error.

[![](https://dl.dropboxusercontent.com/s/qipd6c6n1ig212f/Screenshot%202017-02-20%2013.58.22.png?dl=0) ](https://dl.dropboxusercontent.com/s/qipd6c6n1ig212f/Screenshot%202017-02-20%2013.58.22.png?dl=0)

---

<div class="post-metadata">

### Author: ![greggdavis](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/greggdavis/32/4437_2.png) [@greggdavis](https://community.localwp.com/u/greggdavis)
#### Post date: [February 22, 2017, 12:35am UTC](https://community.localwp.com/t/slow-and-504-errors/802/3 "2017-02-22T00:35:15Z")

</div>

Hey Clark,

This happened to me at first with my Windows version, and I just enabled Apache instead of Nginx, restarted the server and it worked.

Gregg

---

<div class="post-metadata">

### Author: ![bluedogdigital](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/bluedogdigital/32/199_2.png) [@bluedogdigital](https://community.localwp.com/u/bluedogdigital)
#### Post date: [February 22, 2017, 6:32am UTC](https://community.localwp.com/t/slow-and-504-errors/802/4 "2017-02-22T06:32:27Z")

</div>

Hi Greg

Thanks for taking the time to reply. I tried swapping to Apache and it seems to have fixed the 504 error but the site it still extremely slow.

Thanks  
Clark

---

<div class="post-metadata">

### Author: ![raison](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/raison/32/4445_2.png) [@raison](https://community.localwp.com/u/raison)
#### Post date: [April 7, 2017, 1:05pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/5 "2017-04-07T13:05:10Z")

</div>

Any updates on this? 504 and very slow. Any logs we can check to see what is happening?

---

<div class="post-metadata">

### Author: ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)
#### Post date: [April 11, 2017, 3:14pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/6 "2017-04-11T15:14:37Z")

</div>

Hi all,

Site speed is dramatically increasing in the next major update to Local.

Also, @bluedogdigital, did you restart the site after changing the php.ini file and then verify your phpinfo()?

---

<div class="post-metadata">

### Author: ![bluedogdigital](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/bluedogdigital/32/199_2.png) [@bluedogdigital](https://community.localwp.com/u/bluedogdigital)
#### Post date: [April 14, 2017, 5:24am UTC](https://community.localwp.com/t/slow-and-504-errors/802/7 "2017-04-14T05:24:04Z")

</div>

Hi Clay. I was unable to fix the issue, so I rebuilt my Mac and now it’s working OK. Thanks.

---

<div class="post-metadata">

### Author: ![jobthomas](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/jobthomas/32/4685_2.png) [@jobthomas](https://community.localwp.com/u/jobthomas)
#### Post date: [May 4, 2017, 12:08pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/8 "2017-05-04T12:08:57Z")

</div>

I’m experiencing the same problem @clay. The load time for my store.dev/wp-admin/network/plugin-install.php page was 54 seconds. The load time after editing the php.ini file was 1.4mins.

Any other suggestions?

---

<div class="post-metadata">

### Author: ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)
#### Post date: [May 4, 2017, 8:14pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/9 "2017-05-04T20:14:16Z")

</div>

Hi Job,

What change did you make to php.ini? Have you tried disabling the Xdebug extension?

---

<div class="post-metadata">

### Author: ![jobthomas](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/jobthomas/32/4685_2.png) [@jobthomas](https://community.localwp.com/u/jobthomas)
#### Post date: [May 5, 2017, 10:13am UTC](https://community.localwp.com/t/slow-and-504-errors/802/10 "2017-05-05T10:13:10Z")

</div>

You mean this? [Speed Issues on Local Machine](https://local.getflywheel.com/community/t/speed-issues-on-local-machine/360/7?u=jobthomas)

Yeah, I added the semicolon before the `zend_extension = /opt/php/7.0.3/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so` line

---

<div class="post-metadata">

### Author: ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)
#### Post date: [May 22, 2017, 3:02pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/11 "2017-05-22T15:02:11Z")

</div>

Hi all,

Be sure to check out Local 2.0. It has various site performance improvements.

For more info check out [Local by Flywheel 2.0.0 (Pre-release)](https://local.getflywheel.com/community/t/local-by-flywheel-2-0-0-pre-release/1466)

---

<div class="post-metadata">

### Author: ![jobthomas](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/jobthomas/32/4685_2.png) [@jobthomas](https://community.localwp.com/u/jobthomas)
#### Post date: [May 23, 2017, 12:46pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/12 "2017-05-23T12:46:08Z")

</div>

So I’ve found a way to solve it (temporarily) - as soon as I turn my internet off, suddenly the speed is amazing. I just can’t afford to have my internet off the whole time.

Busy downloading 2.0 and will see if that solves it. @clay

---

<div class="post-metadata">

### Author: ![jobthomas](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/jobthomas/32/4685_2.png) [@jobthomas](https://community.localwp.com/u/jobthomas)
#### Post date: [May 23, 2017, 1:46pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/13 "2017-05-23T13:46:25Z")

</div>

I’ve just set up a new local site with a different local URL and this one is working fine without problems. I’ve tried deleting the other one and reusing that old URL but it keeps being horrible. I can continue with the new site, but would be interested to see what is happening with the other one (config was exactly the same btw)

---

<div class="post-metadata">

### Author: ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)
#### Post date: [May 23, 2017, 2:49pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/14 "2017-05-23T14:49:48Z")

</div>

Job,

One thing you can try is the Airplane Mode plugin. This will disable outbound requests from WordPress entirely: [https://github.com/norcross/airplane-mode](https://github.com/norcross/airplane-mode)

If you want to dig deeper and find the slow request, you can use [https://wordpress.org/plugins/debug-bar/](https://wordpress.org/plugins/debug-bar/)

---

<div class="post-metadata">

### Author: ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)
#### Post date: [August 25, 2020, 6:31pm UTC](https://community.localwp.com/t/slow-and-504-errors/802/15 "2020-08-25T18:31:33Z")

</div>


