# I'm getting a DK0029 Error on Devkinsta

**URL:** <https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512>\
**Category:** Application Support\
**Created:** [September 13, 2023, 7:27am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512 "2023-09-13T07:27:59Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [September 18, 2023, 4:38am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/21 "2023-09-18T04:38:01Z")

</div>

Hi there 🙂

Thank you for your updates! Glad to hear that you were able to fix that previous issue (with WSL 2 thing).

About the `max_execution_time` , if you create a simple php script in your site’s folder (which contains: `<?php phpinfo(); ?>` code) and load / call that PHP file on your browser, it will show the value of the `max_execution_time` variable as **300** by default.

If you want to increase that more than 300 (e.g.: to double it or more), you could go to your _DevKinsta → Sites → site name in question → click the wrench icon (on the left side) → scroll down and locate the “PHP.ini Editor”_ .  
There you can add this line in that editor, for example: `max_execution_time=600` (and click the “Save changes” button)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/4/430f052123a4a2eb81792f83c51f0f9b24f49d88.png)

Then if you refresh your browser for that phpinfo() page, that variable should now have increased to that new value you set. Like the following for example:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/b/bada90afebd5ee003a948c8f72a9acd0a68cced9.png)

As for the PHP Workers, in order to change/increase that value you can do the following:

1. Go to your Docker Desktop, and click on the “Containers” section, and click the container name “devkinsta\_fpm” (in the Name column)

2. In that “dev\_kinstafpm” container page, click on the “Terminal tab”.  
Then type the following commands (1 by 1):

- `sudo apt-get update`
- `sudo apt-get install nano`
- `nano /etc/php/8.0/fpm/pool.d/www.conf`  
(replace the `8.0` with the actual PHP version you use for this local site in DevKinsta)  
it will show something like this:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/c/cf508a3d60a2da97846f62da67eaba8264413eac.png)

1. You may want to update that `pm.max_children` higher than the current number shows there (as per my example above it’s currently set to `8` )

2. Once you change that with new number, save it by pressing _ **Control O** _ (in that nano editor)

3. Then exit the nano editor by pressing _ **Control X** _  
Still in that devkinsta\_fpm container’s terminal, you can type this command to make sure that has been saved/changed properly:  
`grep "max_children" /etc/php/8.0/fpm/pool.d/www.conf`  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/846126fca5ec71ab6ce75e52fe1496615132f934.png)

4. After that, you just need to restart that devkinsta\_fpm container.  
Still on that same page, click on the “refresh” icon/button to restart that container  

Done, the PHP Workers for that specific PHP version should now have been increased already.

You may then try to access the site again and see if it’s no longer showing 504 gateway timeout. If it’s still timing out (504), you may want to try to increase more (with the above steps and try again).

Regards,  
Agus

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 1, 2023, 7:50am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/22 "2023-10-01T07:50:32Z")

</div>

So I decided to change it over to hyper-v because the server was extremely slow, it would take 20-30 seconds per page load. I understand that’s a common workaround for this software. I have tried my best and I’m currently stuck.

I upgraded my computer from windows 11 home to the pro version, and I activated hyper-v and then reinstalled docker and devkinsta.

I’m waiting for the website to download, but it’s only at 7.6gb out of 20gb, and that’s about 6 hours of progress.

Last time I downloaded a site, it was much faster, like 30 minutes for complete download.

This is my second time trying to download the site, last time it got stuck on 20gb/20gb for hours and it wasn’t progressing. I did see a note in the logs mentioning a pipe broken about that time, but I don’t know if the abnormally slow download could be due to something else.

Here’s a screenshot and some logs.

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 1, 2023, 7:53am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/23 "2023-10-01T07:53:34Z")

</div>

![Screenshot 2023-10-01 00.42.35](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/b/b4376e242610ab9cb15aa201e10a0d732a8020a2.png)  
[main.old.log](https://community.kinsta.com/uploads/short-url/btpxXBWoHLeXdwTHqqgfcCVEvG0.log) (1.0 MB)  
[main.log](https://community.kinsta.com/uploads/short-url/snqh5A3Yr0FISjOZPNTTRX3x6ko.log) (557.9 KB)

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [October 2, 2023, 3:23am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/24 "2023-10-02T03:23:18Z")

</div>

Hi there, thank you for your reply and update! 🙂

I’ve checked those 2 main log files you provided, but yeah I didn’t see any “Broken pipe” or “rsync” error messages logged in those log files this time. I’m still not sure what’s causing this slow download process (and that it just stuck/stayed at 7.63GiB out of ~20GiB for hours) as there’s no other useful information in those 2 main log files.

Since you’re now using Hyper-V (no longer using WSL2 base engine), could you please try to temporarily increase the Docker resources (in your Docker Desktop → Settings → Resources → Advanced section), and on that page try to raise the amount of CPU, Memory & Swap that the Docker will be able to use (and then Apply the changes and restart). See if that will make any improvement/difference if you can try to import the site again? 🤞

If you have tried above but still getting the same issue (always stuck with the download process - and still no _broken pipe_ or _rysnc_ error in the main.log file), you may want to consider an alternative method to import the site manually from the backup - with the step-by-step mentioned on our [documentation here](https://kinsta.com/knowledgebase/devkinsta/import-an-external-backup/).  
Hopefully with that manual method, you will be able to import your site successfully to your DevKinsta on your local computer.

regards,  
Agus

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 3, 2023, 8:22am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/25 "2023-10-03T08:22:32Z")

</div>

I was able to get it running, but it’s still really slow, like 20-30 second page load times. Is there anything that would cause this. It’s running hyper-v, but it’s extremely slow. I think it got slower when I did hyper v, some of the things im running take 5 minutes to complete.

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 3, 2023, 8:31am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/26 "2023-10-03T08:31:00Z")

</div>

I added 2 cpu’s, 12gb memory, and a 4gb swap, thats and the docker is only showing use of about 2-3gb memory consistently, and occasional spikes of 100% cpu.

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [October 3, 2023, 8:32am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/27 "2023-10-03T08:32:01Z")

</div>

Hi @Bilt_Pros,  
If you have already increased both the Resources in Docker and the PHP workers number, I am afraid there isn’t much else you can increase.  
Can you just confirm what Docker and DevKinsta version you are using?

Regards,  
Alessandro

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 3, 2023, 8:32am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/28 "2023-10-03T08:32:51Z")

</div>

This is my current specs while loading the page, it isn’t utilizing the resources.

 ![Screenshot 2023-10-03 01.31.57](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/3/3091556901b57a9b64542cd7aefcc0df559656af.png)

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [October 3, 2023, 8:40am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/29 "2023-10-03T08:40:47Z")

</div>

Thank you for the screenshot @Bilt_Pros, it looks like you are one version behind in Docker 🤔 perhaps you can try to update it.  
Also, what version of DevKinsta are you using?

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 3, 2023, 8:44am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/30 "2023-10-03T08:44:57Z")

</div>

Im running the latest version of devkinsta 2.11, and the docker is about a month old. I’m installing the update now.

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 3, 2023, 8:55am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/31 "2023-10-03T08:55:49Z")

</div>

im getting an antimalware service executable that’s running high when I’m loading the website.

 ![Screenshot 2023-10-03 01.33.27](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/0/04053aa0c0ec5ea26818e89dd670f96919a703de.png)

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 3, 2023, 8:56am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/32 "2023-10-03T08:56:11Z")

</div>

sometimes up to 40 or 50% cpu.

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [October 3, 2023, 9:00am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/33 "2023-10-03T09:00:50Z")

</div>

The site hosted here doesn’t seem to be affected by malware.  
If you suspend in DevKinsta the current site and create a new Vanilla WordPress site, does that run smoothly?

---

<div class="post-metadata">

**Author:** ![Bilt\_Pros](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/bilt_pros/32/2388_2.png) [@Bilt\_Pros](https://community.kinsta.com/u/Bilt_Pros)\
**Post date:** [October 3, 2023, 9:18am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/34 "2023-10-03T09:18:32Z")

</div>

If I do the test site through vanilla it’s really fast.

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [October 3, 2023, 9:53am UTC](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512/35 "2023-10-03T09:53:53Z")

</div>

🤔 maybe some plugin is causing the site to be more laggy than it should be. It would probably help to disable all plugins and enable one by one to see which is causing the issue (unless the problem is the theme, of course). If that doesn’t help, it might be something in the database. Do you see any specific row being bigger than what it should be?

[Previous page](https://community.kinsta.com/t/im-getting-a-dk0029-error-on-devkinsta/2512.md?page=1)
