• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Question About Setting Systemctl Limits

Ladylinux

New Pleskian
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

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
 
Back
Top