Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8970A17B1F for ; Fri, 10 Apr 2015 19:33:37 +0000 (UTC) Received: (qmail 81469 invoked by uid 500); 10 Apr 2015 19:33:32 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 81423 invoked by uid 500); 10 Apr 2015 19:33:32 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 81409 invoked by uid 99); 10 Apr 2015 19:33:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2015 19:33:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martin.nylin@gmail.com designates 209.85.213.181 as permitted sender) Received: from [209.85.213.181] (HELO mail-ig0-f181.google.com) (209.85.213.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2015 19:33:26 +0000 Received: by iget9 with SMTP id t9so20157519ige.1 for ; Fri, 10 Apr 2015 12:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=MpDwpvVnb8vTrH3fIqkQgZw1Xz6q3WI1yzx2r9c0nWM=; b=auxU/KNb8BGvBVGekX+D9ipgWVl6sFhI/u8G0a/e4gCLh3pxuum9obcPeDYg/W49uw Idb+tkWcfVr9nKzy7LetxoOx0HwC7Mc4PZlOZEQ0Bqq0+XgHuI0fxnmm05XB7Hf2mdy3 PTZA94oDyqKTbA8fiif6wUxLx/cPCkqUPpSIzWfoFFGEmiwwOl3eK8prS6mwoI9FlD0g 4RBiDDCikJo7yViWBedBWTmZUMyi08xmp3ubwkav5RDase/6FoQ/TOweSmkdK9p3grbT 1sSsivHbugZzAMi8JXNDrqqMHH30JKgDb+AV/8opH2NsKVu5lA/mM+lUBRuQu+WHza2g d0MQ== MIME-Version: 1.0 X-Received: by 10.107.11.81 with SMTP id v78mr5247655ioi.66.1428694386351; Fri, 10 Apr 2015 12:33:06 -0700 (PDT) Received: by 10.64.57.107 with HTTP; Fri, 10 Apr 2015 12:33:06 -0700 (PDT) Date: Fri, 10 Apr 2015 21:33:06 +0200 Message-ID: Subject: initiating graceful restart from child process From: Martin Nylin To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org hi is there a way to trigger a graceful restart from a child process? i tried kill(getppid(), SIGUSR1); but then it doesn't work if the worker process runs as www-data and the master as root. i'm writing a module for apache 2.4.10, mpm_event on linux regards martin