From owner-freebsd-ports@FreeBSD.ORG Mon Feb 9 22:43:07 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79EB81065670 for ; Mon, 9 Feb 2009 22:43:07 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f163.google.com (mail-bw0-f163.google.com [209.85.218.163]) by mx1.freebsd.org (Postfix) with ESMTP id C9F878FC0A for ; Mon, 9 Feb 2009 22:43:06 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: by bwz7 with SMTP id 7so2215745bwz.19 for ; Mon, 09 Feb 2009 14:43:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=L4TIOqlky1KjYPXpwdc+tDXpp9OJ8oWxpWfvTW9YHzs=; b=XOMJQdYE1wKe4oX+tXYJ3esxPR3KXkou9SCCvSU96s6OMfKOT7okG4IZwrO0DzWxbN tf9MHI8rXymRF7rirQ7ENFOHyggadeunpL9lZpWtlA+xGADrJECjNflmFq2iyE72XAML VaJRNzddMLNo+kX+BWyRkNYZnlttfQPbNF7c8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=N7HMkJe5tv5mVX0ZiMjrbcSxqJUmZ5Czc12JkjBKqFbzISeJoKnaq4KffznoGsY+DL juP6832p4bq/kxtbCt9uyC18LnAy8TzSyhcYk6lqUwRpDZ0LnI2bMCLD5YxkdZJItEeR 8pHwjXtRG6ZMFWwtzUrZQ0sTA3A3hraJVXo38= MIME-Version: 1.0 Received: by 10.223.110.211 with SMTP id o19mr1368379fap.57.1234217433485; Mon, 09 Feb 2009 14:10:33 -0800 (PST) Date: Mon, 9 Feb 2009 23:10:33 +0100 Message-ID: From: David DEMELIER To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Lighttpd's initscript X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 22:43:07 -0000 Hi If you use php FastCGI module with lighttpd daemon, it will start some new process like that: www php-cgi 673 root / 2 drwxr-xr-x 512 r www php-cgi 673 wd /usr 1183830 drwxr-xr-x 21504 r www php-cgi 673 text /usr 1184503 -rwxr-xr-x 2521078 r These process are not killed when you try to restart lighttpd by running /usr/local/etc/rc.d/lighttpd restart, so I think maybe this would be a good idea to make kill all process launched by lighttpd in the initscript.