The pool of PHP-FPM1. View Files:[[email protected] ~]# cd /usr/local/php-fpm/etc[[email protected] etc]# lspear.conf php-fpm.conf php-fpm.conf.default[[email protected] etc]# cat php-fpm.conf[global]pid =
The pool of PHP-FPM
To avoid using the same pool for multiple sites, a separate pool for each site needs to be configured if one site's traffic is too large to cause problems with resource exhaustion, which in turn affects the normal operation
[TOC]PHP-FPM configuration related one, PHP-FPM configuration
Unlike lamp, in the LNMP architecture, PHP-FPM as a standalone service exists, and since it is a standalone service, it must have its own configuration file. The PHP-FPM
This article introduces the contents of the PHP-FPM pool, php slow execution log, Open_basedir, PHP-FPM process Management, has a certain reference value, now share to everyone, the need for friends can refer to
Pool configuration for
51, php-fpm Pool, php-fpm slow execution log, Open_basedir, PHP-FPM process ManagementFirst, the pool of PHP-FPMPool: Right. The right-most column of PS aux. It's the pond.# CD/USR/LOCAL/PHP-FPM/ETC# cat php-fpm.conf//supports defining multiple
First, the pool of PHP-FPM
The PHP-FPM configuration file php-fpm.conf can be set to multiple pool, where one pool resource is exhausted, causing other sites to be unable to access resources, reporting a 502 error. It is necessary to
The pool of PHP-FPMPHP-FPM configuration file php-fpm.conf can set multiple pool, in which one pool resource is exhausted, will cause other sites to not access resources, reported 502 error. It is necessary to separate the sites, using separate pool
PHP-FPM ConfigurationUnlike lamp, in the LNMP architecture, PHP-FPM exists as an independent service, and since it is an independent service, he has his own configuration file. The configuration file for PHP-FPM is/usr/local/php-fpm/etc/.Pool (pool)
12.21 PHP-FPM's PoolTo avoid the pool problem caused by one site failure due to multiple sites using the same pool, and to affect the normal operation of other sites using the same pool, configure a separate pool for each site.Add Pool to PHP-FPMTo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.