Le 17/05/2013 18:44, Remi Collet a écrit :
> I plan to allow php-fpm to be aware of systemd and so, use the
> type=notify mode.
Just to be clear on the goal, this allow systemd to display some
information about the health of the service (Status line)
# systemctl php-fpm.service status
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled)
Active: active (running) since Fri, 17 May 2013 18:57:43 +0200; 981ms ago
Status: "Processes active: 1, idle: 5, Requests: 656, slow: 2, Traffic:
33.5req/sec"
Main PID: 6670 (php-fpm)
CGroup: name=systemd:/system/php-fpm.service
├ 6670 php-fpm: master process (/etc/php-fpm.conf)
├ 6671 php-fpm: pool www
├ 6672 php-fpm: pool www
├ 6673 php-fpm: pool www
├ 6674 php-fpm: pool www
└ 6675 php-fpm: pool www
Like for apache (with mod_systemd), this information is updated every 10".
Remi.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php