Question abou PHP 8.2/8.3 in Kubernetes/OpenShift
| From: | Alex | Date: | Tue, 08 Oct 2024 10:29:12 +0000 |
| Subject: | Question abou PHP 8.2/8.3 in Kubernetes/OpenShift | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-328551@lists.php.net to get a copy of this message | ||
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.
Attachment: [text/html] Dev-PHP 8.2.24-phpinfo.html
[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=onThanks for any help. Regards Alex
Attachment: [text/html] Dev-PHP 8.2.24-phpinfo.html