Question abou PHP 8.2/8.3 in Kubernetes/OpenShift

Alex <[email protected]> Tue, 8 Oct 2024 12:29:12 +0200
Newsgroups gmane.comp.php.general
Message-ID <[email protected]>
Hi.

We run CraftCMS in OpenShift and have no limits defines, that means that PHP can 
use the whole 8 CPUs and 32 GB RAM.

The Problem is that we see that PHP only uses ~200M-500M.
The Image is based on ghcr.io/craftcms/image:8.2 ( 
https://github.com/craftcms/image )

Have anybody some tips how to check what's the limiting factor in PHP is so that 
we can tune it?

That's the /opt/etc/php-fpm.d/www.conf and attached the phpinfo() output.

```
[www]

; Note: This value is mandatory.
listen = 9000

pm = dynamic
pm.max_children = 50
pm.start_servers = 8
pm.min_spare_servers = 8
pm.max_spare_servers = 35
pm.process_idle_timeout = 30s
pm.max_requests = 500


pm.status_path = /fpm-status
ping.path = /fpm-ping

;request_terminate_timeout = 25s
request_terminate_timeout = 180s
request_slowlog_timeout = 3s
slowlog = /opt/log/php-fpm/www-slow.log
clear_env=off
catch_workers_output=on
```

Thanks for any help.

Regards
Alex
Dev-PHP 8.2.24-phpinfo.html (text/html, 107.4 KB) - not displayed