• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Question About Setting Systemctl Limits

Ladylinux

Basic 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