- Server operating system version
- Debian 11
- Plesk version and microupdate number
- 18.0.62 #1
Hi,
I did a search here but really did not find anything.
We have a AWS Plesk Debian server and we are at version 18.0.60 Patch 1
Load is typically under 0.25 and memory is hardly used at all except the following
So we have a small WordPress site that if we switch it to PHP 8.2 almost immediately runs out of memory despite CGroups being set rather low
My best couple guesses is that Cgroups can't react as the load happens within 30 seconds
We debugged the issue to some poorly configured plugins and yay the load seems to have gone.
However this still left a nagging suspicion that for FPM cgroups are useless or just don't react fast enough
So I tried this just looking at memory usage via systemctl
So should I even try to limit this ??
Something like
systemctl set-property php8.2-fpm MemoryLimit=128M
And others ??
As .ini does not seem to affect this
Or am I just looking at this wrong ??
Thanks!!
Ladylinux
I did a search here but really did not find anything.
We have a AWS Plesk Debian server and we are at version 18.0.60 Patch 1
Load is typically under 0.25 and memory is hardly used at all except the following
So we have a small WordPress site that if we switch it to PHP 8.2 almost immediately runs out of memory despite CGroups being set rather low
My best couple guesses is that Cgroups can't react as the load happens within 30 seconds
We debugged the issue to some poorly configured plugins and yay the load seems to have gone.
However this still left a nagging suspicion that for FPM cgroups are useless or just don't react fast enough
So I tried this just looking at memory usage via systemctl
systemctl show php-fpm | grep -i memory
MemoryCurrent=[not set]
EffectiveMemoryNodes=
AllowedMemoryNodes=
MemoryAccounting=yes
DefaultMemoryLow=0
DefaultMemoryMin=0
MemoryMin=0
MemoryLow=0
MemoryHigh=infinity
MemoryMax=infinity
MemorySwapMax=infinity
MemoryLimit=infinity
ManagedOOMMemoryPressure=auto
ManagedOOMMemoryPressureLimitPercent=0%
MemoryDenyWriteExecute=no
So should I even try to limit this ??
Something like
systemctl set-property php8.2-fpm MemoryLimit=128M
And others ??
As .ini does not seem to affect this
Or am I just looking at this wrong ??
Thanks!!
Ladylinux