MacOs Super Slow

Q: Date/Time this occurred (Provide your time zone also)
A: Always slow, sometimes 500 timeout error

Q: DevKinsta Version
A: 2.13.2

Q: OS Version
A: MacOs 14.4.1 (23E224) / on Intel hardware / 32gb ram / 16 cores

Q: Docker Desktop Version
A: 4.3.0

Q: Were any error codes or messages observed? If so, what were they?
A: Sometimes 500 error codes

Q: Detailed Description of the Problem
A:

Well I thought I would follow this up, despite reading tons of threads, I cannot see any that are in 2024.

The Virtios file system speed improvement is built into docker now and enable by default it seems.

In docker I’ve give it access to all 16 cores and 7.9gb of ram.

The site is a hefty site, it has tons of plugins and is woocommerce based, so I kind of expect it to be taxing on my system.

My complaint though is that it is not:

It just creaks along taking multiple minutes to load pages, and sometimes erroring out with 500 timeouts.

As you can see in the screenshot above, its barely taking up 1 cpu of use.

Why isn’t it using anything near the amount of resources that are available to it?

Hey @rtpHarry :wave:
Have you tried increasing the number of max_children yet?
To do so:

  1. Open Docker and move into the devkinsta_fpm container
  2. Select Terminal (or Exec)
  3. Install an editor like nano:
  • sudo apt-get update
  • sudo apt-get install nano
  1. Edit the conf file of the PHP version your site is using, for example
  • nano /etc/php/8.3/fpm/pool.d/www.conf
  1. Edit the number of the pm.max_children value, if I am not mistaken the default is 8 but you can double it
  2. Press CTRL X, type y and press enter
  3. Restart the devkinsta_fpm container

Regards,
Alessandro

Thanks, I’ve just tried that but still seeing 30s page loads for the site, and it doesn’t seem to be using much of the resources available to it:

@rtpHarry

Hmm, can you also check if the current set PHP Wokers (pm.max_children) has any indication of getting maxed out in /var/log/php8.3-fpm.log inside the devkinsta_fpm container when navigating through your local site?