How to know the use of memory php-fpm pool (VM)

SYSTEM INFORMATION
OS type and version ALMALINUX 9.2
Webmin version 2.021
Virtualmin version 7.7 Pro
Related packages SUGGESTED

(1) Does each website use multiple IDs to stay online?
(2) What do so many uses mean?
(3) How many users can each VM call?

(1) Each Virtualmin server has its own unique number, the sub servers also have their own number
(2) Each “pool” you see is a fpm server child process and the amount of these is according to the PHP FPM config in Virtualmin. Each child process is using the shown amount of memory.
(3) According to what is configured as “pm.max_requests” in the config

Anyone correct me if I am wrong :slight_smile:

Each website has a user, and everything runs as that user.

ID is not a user ID, it is the process ID (pid). There will always be several PHP-FPM processes, in a default configuration. That’s normal. It is difficult to say exactly how much memory they are using, as most of the memory used by a process will be shared by other identical processes. The application code being run is, of course, different, and so is the data for each running process, but it’s hard to say how much that is with precision, without digging down into a specific process.

I don’t know what you mean by this question. I think maybe you’re confusing PID with UID, though (each process is not a user, though each user will have several processes).

I found in the URLs below information to complement my inquiries.
https://medium.com/@sbuckpesch/apache2-and-php-fpm-performance-optimization-step-by-step-guide-1bfecf161534

https://absam.io/blog/melhor-performance-com-php-fpm/

https://sempreupdate.com.br/configure-o-php-fpm-para-utilizar-pouca-memoria-ram/
Thank you for your comments.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.