Home  >  Article  >  Operation and Maintenance  >  How to release nginx php-fpm process

How to release nginx php-fpm process

王林
王林Original
2019-10-21 15:54:193547browse

How to release nginx php-fpm process

1. Nginx uses Unix domain Socket for communication. Because Unix domain Socket does not go through the network, it can indeed improve the performance of Nginx and php-fpm communication, but it will occur when concurrency is high. Unstable problem

How to release nginx php-fpm process

#2. Improve stable performance through the following two methods

How to release nginx php-fpm process

3. Use php-fpm The parameter tuning method is as follows

How to release nginx php-fpm process

4. The command to troubleshoot high CPU usage using php-fpm is as follows

How to release nginx php-fpm process

5. Use nohup to convert strace to background execution until the php-fpm process on attach dies. The command is as follows

How to release nginx php-fpm process

#6. Monitor php-fpm thread status: nginx configuration The method is as follows

How to release nginx php-fpm process

7. The php-fpm configuration command is as follows

How to release nginx php-fpm process

Recommended tutorial:Nginx tutorial

The above is the detailed content of How to release nginx php-fpm process. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn