Description
Description
My ubuntu 22.04 server has installed php8.2-fpm (8.2.19) and apache 2.4.52.
Server configuration: 4 core CPU, 16GB RAM, Swap : 0
I have 72 websites with each have own pool with below same config.
group = site1
listen = /run/php/site1.sock
listen.owner = site1
listen.group = site1
listen.mode = 0666
pm = ondemand
pm.max_children = 10
pm.start_servers = 0
pm.min_spare_servers = 1
pm.max_spare_servers = 5
pm.process_idle_timeout = 10;
pm.max_requests = 50
security.limit_extensions = .php
php_admin_flag[allow_url_fopen] = on
php_admin_flag[log_errors] = on
php_admin_value[short_open_tag] = on
php_value[error_log] = /home/site1/logs/fpm.error.log
php_value[upload_max_filesize]=50M
php_value[post_max_size]=60M
php_value[max_input_vars]=20000
php_value[max_execution_time]=4500
php_value[session.cookie_lifetime]=0
php_value[memory_limit]=1024M
php_value[session.gc_maxlifetime]=3600
php_value[error_reporting]=85
request_slowlog_timeout = 60
slowlog = /home/$pool/logs/fpm.error.log.slow
With php modules enabled as below
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
imagick
imap
intl
ionCube Loader
json
ldap
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDFlib
PDO
pdo_mysql
Phar
posix
random
readline
redis
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
ssh2
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
vips
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
the ionCube PHP Loader
We are facing blank white page randomly with php8.2-fpm, sites are down , when I check service php8.2-fpm status, it was active.
Memory consumption at that time was also not much, 80% RAM was available almost.
I also tried to coredump , but no crash at all, what I have in logs are as below, error code 70.
/var/log/php8.2-fpm.log have below logs when white page
[19-Jun-2024 10:20:43] WARNING: [pool site1] child 1895425 exited with code 70 after 1.518009 seconds from start
[19-Jun-2024 10:20:43] WARNING: [pool site2] child 1895426 exited with code 70 after 1.567505 seconds from start
[19-Jun-2024 10:20:44] WARNING: [pool site3] child 1895440 exited with code 70 after 0.020172 seconds from start
[19-Jun-2024 10:20:44] WARNING: [pool site4] child 1895419 exited with code 70 after 3.510533 seconds from start
Not able to find out the root cause of this, can you help me with this please ?
Also please let me know what more information required to find out this issue.
PHP Version
PHP 8.2.19
Operating System
Ubuntu 22.04