Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67443 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47769 invoked from network); 17 May 2013 17:00:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2013 17:00:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 212.27.42.5 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 212.27.42.5 smtp5-g21.free.fr Linux 2.6 Received: from [212.27.42.5] ([212.27.42.5:47200] helo=smtp5-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/87-05661-63266915 for ; Fri, 17 May 2013 13:00:40 -0400 Received: from dixsept.famillecollet.com (unknown [82.241.130.121]) by smtp5-g21.free.fr (Postfix) with ESMTP id E2FF4D48084 for ; Fri, 17 May 2013 19:00:31 +0200 (CEST) Message-ID: <5196622E.9090503@fedoraproject.org> Date: Fri, 17 May 2013 19:00:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130515 Thunderbird/17.0.6 MIME-Version: 1.0 To: internals@lists.php.net References: <51965E51.80004@fedoraproject.org> In-Reply-To: <51965E51.80004@fedoraproject.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] php-fpm and systemd integration From: remi@fedoraproject.org (Remi Collet) 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.