Quantcast
Channel: PHP – Linux T&T
Viewing all articles
Browse latest Browse all 11

Seperate php pool restart

$
0
0

root@wild# ps a | grep fpm
26028 pts/3 S+ 0:00 php-fpm: master process
(/usr/local/php-trunk/etc/php-fpm.conf)
26030 pts/3 S+ 0:00 php-fpm: pool www_direct
26031 pts/3 S+ 0:00 php-fpm: pool www_direct
26032 pts/3 S+ 0:00 php-fpm: pool www_direct
26067 pts/3 S+ 0:00 php-fpm: pool www_chroot
26068 pts/3 S+ 0:00 php-fpm: pool www_chroot
26069 pts/3 S+ 0:00 php-fpm: pool www_chroot

# gracefull restart a pool
root@wild# pkill -QUIT -f "php-fpm: pool www_chroot"

# hard restart a pool
root@wild# pkill -f "php-fpm: pool www_chroot"

source


Viewing all articles
Browse latest Browse all 11

Trending Articles