Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DBCA5200C14 for ; Tue, 24 Jan 2017 02:38:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DA6E7160B53; Tue, 24 Jan 2017 01:38:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2FBA4160B49 for ; Tue, 24 Jan 2017 02:38:48 +0100 (CET) Received: (qmail 62027 invoked by uid 500); 24 Jan 2017 01:38:46 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 62017 invoked by uid 99); 24 Jan 2017 01:38:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2017 01:38:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 645B6188889 for ; Tue, 24 Jan 2017 01:38:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.379 X-Spam-Level: *** X-Spam-Status: No, score=3.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id VjIqbNqAgJud for ; Tue, 24 Jan 2017 01:38:45 +0000 (UTC) Received: from mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.193]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1562F5F397 for ; Tue, 24 Jan 2017 01:38:45 +0000 (UTC) Received: by mail-qt0-f193.google.com with SMTP id n13so21564885qtc.0 for ; Mon, 23 Jan 2017 17:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=SV+FBkIfau7DrIlK5QST7WiQ6lfsk6+WzB6mE2Zv74Q=; b=E4t17kFcNr2MZB6KeIf6sCsKlWlXZp6aAo/CgVWoKF4xxioQ5gM6IEagHKMvyjMF8C npbPBTW3SDisRWjrCxHaIjisFuC9it5ogqvaq8bPHWxOL8sBCY2DW9VEPSB2lt/Uqrza Iy+3a4/uZJjAGJJ3/I2AELVTVBRq7ynEZUP9T4y6W2WpgfXUrtF3W1m5CALcWpXbz/qX QJ4uV78iXnXy+ytOrDxasbbHpAncV1PEaS5aFsxh/jhGePpXi4R84Xnxx6RiGPy0wPIj WXNc3AGzbfqdmiArh0b1A+pdjI+Bb/MSjqPhtiaYVHFO245/4r0fpFXGfhTPJU3mTCFe 1itw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=SV+FBkIfau7DrIlK5QST7WiQ6lfsk6+WzB6mE2Zv74Q=; b=oaX+V23rJRaNBZLRgz1/KTf7lulgvJ3yXtp/kC+imsP5ujA1Syb7lobGf9mgoX75ku CxibeTR8sg62UlwC1Vq06axAlJCBPx8/kXIYmxM5wvNu/xCyUexGlEV7w7cx9M18Q1cr nHbm81muPox/hJHC9cppkr1U8D9BH31PMyRzoisdo6m8+WWvHX3uKKsj3J5zo3gGfHig Pdctt7uaY09KTCbAgU7X7rsxIbhVs/KT2AYwe013V2hXA3mQ6X43TbEaHKPnlxsv8RHR tTeDVXbCQv7WiP5yy3hG6oQ8SFkO582njzpwZEQxCqaanW7DPzrj/EKIA4Pyzf+rPJOD +N6w== X-Gm-Message-State: AIkVDXLLEe/lY+K3/V+oCMomBf4Jh3+Cce440n29VnXojUvjro5OybGoPUwUCDaY40X+ezDNJNWyStZ48ehtBw== X-Received: by 10.55.98.194 with SMTP id w185mr27932043qkb.41.1485221924688; Mon, 23 Jan 2017 17:38:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.34.226 with HTTP; Mon, 23 Jan 2017 17:38:44 -0800 (PST) In-Reply-To: References: From: Milind Vaidya Date: Mon, 23 Jan 2017 17:38:44 -0800 Message-ID: To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001a11482b543bdd440546cd2d1e Subject: Re: [users@httpd] Piping logs to a java process : creates multiple processes archived-at: Tue, 24 Jan 2017 01:38:49 -0000 --001a11482b543bdd440546cd2d1e Content-Type: text/plain; charset=UTF-8 Thanks for prompt reply Eric. Adding relevant code resolved, the issue of 2 processes at the beginning. Let me wait for logrotate to kick in and see over few hours how it behaves. On Mon, Jan 23, 2017 at 4:41 PM, Eric Covener wrote: > On Mon, Jan 23, 2017 at 7:36 PM, Milind Vaidya wrote: > > When httpd is started it spawns 2 processes and adds one every one hour, > > keeping all alive > > > Your java program needs to exit when stdin returns EOF. > > -- > Eric Covener > covener@gmail.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --001a11482b543bdd440546cd2d1e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for prompt reply Eric.

Adding re= levant code resolved, the issue of 2 processes at the beginning. Let me wai= t for logrotate to kick in and see over few hours how it behaves.=C2=A0



On Mon, Jan 23, 2017 at 4:41 PM, Eric Covener <covener@gm= ail.com> wrote:
On Mon, Jan 23, 2017 at 7:36 PM, Milind Vaidya <kavadsa@gmail.com> wrote:
> When httpd is started it spawns 2 processes and adds one every one hou= r,
> keeping all alive


Your java program needs to exit when stdin returns EOF.

--
Eric Covener
covener@gmail.com

-----------------------------------------------------------------= ----
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


--001a11482b543bdd440546cd2d1e--