[root@centos-standard-2-4-10gb ~]# ps aux | grep fpm
root 2708 0.0 0.2 208348 8732 ? Ss 10:44 0:00 php-fpm: master process (/opt/php73/etc/php-fpm.conf)
www-root 2709 0.6 4.8 390620 188216 ? S 10:44 0:00 php-fpm: pool 213.219.212.93
www-root 2710 0.6 4.8 390620 188216 ? S 10:44 0:00 php-fpm: pool 213.219.212.93
www-root 2711 0.6 4.8 390620 188216 ? S 10:44 0:00 php-fpm: pool 213.219.212.93
www-root 2712 0.6 4.8 390620 188220 ? S 10:44 0:00 php-fpm: pool 213.219.212.93
www-root 2713 0.6 4.8 390620 188220 ? S 10:44 0:00 php-fpm: pool 213.219.212.93
root 2766 0.0 0.0 112808 972 pts/1 S+ 10:44 0:00 grep --color=auto fpm
[root@centos-standard-2-4-10gb ~]# /opt/php73/bin/php-cgi -m
[PHP Modules]
bz2
calendar
cgi-fcgi
Core
ctype
date
exif
fileinfo
filter
ftp
gettext
gmp
hash
iconv
libxml
openssl
pcntl
pcre
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
xml
zlib
/opt/php73/bin/php -a
php > while(true){ $data = array(); for($i = 0; $i<2000000; $i++) { $data[] = array( 'id' => $i ); } var_dump(memory_get_usa
ge(true)); unset($data); var_dump(memory_get_usage(true)); }
nt(822087680)
int(754974720)
int(822087680)
int(754974720)
int(822087680)
int(754974720)
int(822087680)
int(754974720)
int(822087680)
int(754974720)
int(824184832)
int(757071872)
int(824184832)