PHP-FPM 8.1 high memory usage with Pro 6.x?

I recently updated a number of sites on my server to Pro version 6.0 (I believe that most sites are running 6.0.3, but some are running 6.0.4 and some are running 6.0.5). Around the time of those updates, PHP-FPM’s memory usage has been increasing, and after about 16 hours, it will completely choke out my server unless PHP-FPM or the entire server are restarted.

While I’m investigating this with tech support on my server, they are saying that a wayward PHP script is causing the issue, and have specifically called out Cornerstone. Are there any known bugs with the newest version of Pro that could be causing this?

With the migrations it might run a little slowly at first. There are no specific memory issues currently in our attention. How much RAM are you dedicating towards PHP? Are you getting any warnings in the logs?

If they have a stack trace of their valgrind/webgrind that would be great at determining a potential issue. WooCommerce is usually the bottleneck in my sites and after a few hours it clears up.

Interestingly, the updates were applied early on the 9th, and the error didn’t start occurring until the 10th, after I would have expected migrations to have completed. I’ve been basically using PHP (or Plesk’s) defaults for PHP: 128M memory_limit, 10 max_children, and unlimited max_requests. I’ve since been upping max_children and lowering max_requests per site, but to little effect We don’t have valgrind/webgrind installed, but we are seeing a ton of errors in the logs.

Although some of the sites on my server do run WooCommerce, it’s only a couple, while most sites run X/Pro/Cornerstone. Also, WooCommerce didn’t have any recent updates applied.

I suspect that this is a Plesk issue, but I want to cover all of my bases since this is regularly taking my server offline. Thank you for your time.

Hey @andylinde,

You’re welcome and thank you for your detailed explanation.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.