How many php7-fpm does the cloud host of 8CPU 16GB open?

generally speaking, according to memory calculation, each php-fpm takes up 30MB, and the system also takes up some memory, but each php-fpm needs to consume cpu, so it is impossible to open so many values calculated by memory at all

.
Apr.03,2021

you still have to adjust it according to the actual situation of the website.

you first take a look at the number of cores on your server. Assuming that it is 4 cores, there will be at most 4 processes processing at the same time

.

re-analyze the bottleneck of the website. If it is related to the database, upgrade the server of the database. Too much php-fpm will not achieve the desired results

assume that the website io is infrequent. Of course, the more memory you have, the more php-fpm you have, the better.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e43175-44a09.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e43175-44a09.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?