the fault type quickly. OAMPDU(OAM Protocol Data Units,OAMProtocol Data Unit), the format of this thing, to use the time to check, do not have to memorize. InformationOAMPDU(Information OAMPDU)EFMPeer -to-peer discoveryEvent AnnouncementsOAMPDU(Event Notification OAMPDU), monitoringfar-back loopbackOAMPDU(Loopback Control OAMPDU)Connection ModeEFM There are two types of connection modes: Active mode and passive mode. CFMPrinciple DescriptionMEP-MIP-MEPCFMVersion InformationFollowieee802.1ag/dra
12.21 PHP-FPM's PoolPHP-FPM has a concept called pool, that is, the right side of the Psaux to see the column, that is, its pool,For example, here we define only a poolIn fact, he is supporting the definition of multiple pools, each pool we can listen to different sock, or different tcpip, so if our nginx has several sites each site can use a different pool, the advantage is one of the php502, other sites do not affect, (502 probably not enough PHP re
How to Use the supervisor to guard the main php-fpm process for Automatic Restart of php-fpm, supervisorphp-fpm
Recently, a colleague has a monitoring requirement for the php-fpm process, that is, if the master process of the php-fpm unexpectedly exits (may be crash or kill
First, the pool of PHP-FPMvim /usr/local/php-fpm/etc/php-fpm.conf //在[global]部分增加 include = etc/php-fpm.d/*.conf //类似nginx的vhost mkdir /usr/local/php-fpm/etc/php-fpm.d/ cd /usr/local/php-fpm/etc/php-fpm.d/ vim www.conf //内容如下[www]listen = /tmp/php-fcgi.socklisten.mode=666user = php-f
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 pools[Global]PID =/usr/local/php-fpm
The pool of PHP-FPMWhen a lot of PHP sites share a pool, if one of the sites affect the pool, will cause other sites also problems, in order to avoid this problem, need to create a new pool for each site, isolation, security services1, [[email protected] ~]# vim/usr/local/php-fpm/etc/php-fpm.confNew:[Test.com]Listen =/tmp/test.sockListen.mode = 666user = PHP-FPMGroup = PHP-FPMPM = dynamicPm.max_children = 50Pm.start_servers = 20Pm.min_spare_servers =
12.21 PHP-FPM's PoolCd/usr/local/php-fpm/etcVI php-fpm.confReload and view the service and find the aming.com on the rightcd/usr/local/nginx/conf/vhost/VI aaa.com.conf, content as followsIf the test.com process is very large, exhausted the process of php-fpm, then there is a new process will be the most time to sweep the wrong 502, because there is no unnecessary process to deal with it, and aming.com site
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 of other sites using the same pool. The way of implementation and Nginx Vhost almost
Edit the master configuration file[[emailprotected] aming.com]# vim /usr/local/php-
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) of PHP-FPMNginx support multiple virtual hosts, PHP-FMP also support t
One, PHP-FPM pool (configure multiple pools with multiple isolation sites)#cd/usr/local/php-fpm/etc/#vim php-fpm.conf//Add configuration file to the second site aming.com, [www] and [aming.com] in the configuration file are equivalent to two different pools#/usr/local/php-fpm/sbin/php-fpm-t//Check for grammatical error
The pool of PHP-FPMMethod 1: In a large configuration file unified implementationEditing a configuration fileReload ConfigurationMethod 2: The total number of methods, first in the large configuration file to set a large directory, and then add 2 pool in this directory1. Editing a large configuration file2. Configure 2 small configuration files in this directoryReload configuration, verify poolPHP-FPM Slow Execution LogConfiguration fileReloadVim/data
1, the pool of PHP-FPM Edit Profile vim/usr/local/php/etc/php-fpm.conf, at which point only one pool is defined, the WWWYou can define multiple pool, listen to different addresses or sockets, and if you have multiple sites, you can use multiple pool so that when one of the sites is 502, it does not affect the normal access of other sites.Add the following section to the configuration file, vim/usr/local/php/etc/php-fpm.conf[Aming.com]Listen =/tmp/ami
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 PHP-FPM
Nginx can open more than one virtual machine, they all need PHP to provide services, so in order to ensure the performan
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 edit the PHP-FPM configuration file:[Email protected] etc]# vim/usr/local/php-fpm/etc/php-fpm.conf......[Adai.com]Listen =/tmp/adai.sockListen.mode = 666user = P
1, php-fpm Poo Pond:Purpose: Can make different Web sites, for different PHP parsing, can be different sites to separate the parsing area.Editor:vim/usr/local/php5-fpm/etc/php-fpm.confJoin:[Test]Listen =/tmp/php-test.sockListen.mode = 666user = php-fpmGroup = php-fpmpm = DynamicPm.max_children =pm.start_servers =pm.min_spare_servers = 5pm.max_spare_servers =pm.max_requests =rlimit_files = 1024x768grammar ch
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.