PHP-FPM Process Management

Source: Internet
Author: User

February 26, 2015 15:40:15

Find the PHP-FPM process number first

1 PS-ef |grepphp-FPM2Root the     1  0Feb12?xx:xx: thePhp-fpm:master Process (/usr/local/web/php/etc/php-fpm.conf)3Nobody901    the  0Feb12?xx:xx: -php-Fpm:pool www4Nobody902    the  0Feb12?xx:xx: -php-Fpm:pool www5Nobody1911    the  0Feb13?xx:xx: APhp-fpm:pool www

You can see that the PID of the main process is 900

Then use the KILL command to send a reboot signal to the process.

Kill  the

Other signals:

1 SIGINT, SIGTERM immediately terminate. 2 sigquit Smooth Termination 3 SIGUSR1 reopen log file 4 SIGUSR2 Smooth reload all worker processes and reload configuration and binary modules

PHP-FPM Process Management

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.