Franco
Regular Pleskian
- Server operating system version
- Almalinux 8.1
- Plesk version and microupdate number
- 18.0.65 #2
Hello,
I had a very stable system with CentOs 8, but since I have migrated to Almalinux 8 I have had several crashes (average 1-2/month) with php-fpm (8.3) trying to kill itself with OOM signals. I then followed some advice to set vm.overcommit_memory = 2 and a couple of other minor changes such as disabling all website optimizations in the Plesk Perfomance Booster panel, etc., to be on the safe side.
However, things have gone worse, with virtually all my websites issuing errors such as:
FastCGI sent in stderr: "PHP message: PHP Fatal error: Out of memory (allocated 98566144 bytes) (tried to allocate 65536 bytes)
altough that particular website limit is 264MB and there's plenty of memory on the server (8GB total.
In some cases I see:
PHP message: PHP Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0
Btw, how do I grant that permission? Could not find it.
I am getting desperate and need some serious help to get out of this hole, please.
Of course, I have the latest Plesk version and all is up to date.
I had a very stable system with CentOs 8, but since I have migrated to Almalinux 8 I have had several crashes (average 1-2/month) with php-fpm (8.3) trying to kill itself with OOM signals. I then followed some advice to set vm.overcommit_memory = 2 and a couple of other minor changes such as disabling all website optimizations in the Plesk Perfomance Booster panel, etc., to be on the safe side.
However, things have gone worse, with virtually all my websites issuing errors such as:
FastCGI sent in stderr: "PHP message: PHP Fatal error: Out of memory (allocated 98566144 bytes) (tried to allocate 65536 bytes)
altough that particular website limit is 264MB and there's plenty of memory on the server (8GB total.
In some cases I see:
PHP message: PHP Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0
Btw, how do I grant that permission? Could not find it.
I am getting desperate and need some serious help to get out of this hole, please.
Of course, I have the latest Plesk version and all is up to date.