X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=Gd4dgAl9fiYhWmJSygMkjH5W033UgeLZvLeI3rg22CP TuCw0ZHc/0We/KD2gQqvzY1U39RMVK8HPEG8qXPmgNY2zrGIw7SlfO65G+Vl7Eak yy/ua6Mm6LrisD0PSGKYiuuBNvUnGsRPMxG3rLuY4AFv5dXHa/miOlWs7UxVq0HE = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=L0boxYwbism/hZMdt2X5uv+sMnY=; b=IcqNNGShsU5eI7/lm KC4pkkyGPs4XuPUmFXdiXoH4n+u2pl1lkJs50Fx4FjQczu5pOif6cte6pjA5Bm5A LhZIwSL9AX3KHKnW5o8cUqB1ZC+uh17zvCkMhXUFDrLW2beuZf+Oc69UKkfjBssg 2K+wtC3ZddSSvrJq2S+l1VDiFI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f177.google.com X-Received: by 10.180.87.73 with SMTP id v9mr21313867wiz.22.1414417066979; Mon, 27 Oct 2014 06:37:46 -0700 (PDT) Message-ID: <544E4AA0.7000806@gmail.com> Date: Mon, 27 Oct 2014 14:37:36 +0100 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 6 times httpd2 & 6 times postgres References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 10/27/2014 12:44 PM, Gery . wrote: > When I start apache2 ('apachectl2 start'), this appears in /var/log/apache2/error_log: > > [Mon Oct 27 12:28:26 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] > [Mon Oct 27 12:28:39 2014] [notice] Digest: generating secret for digest authentication ... > [Mon Oct 27 12:28:39 2014] [notice] Digest: done > [Mon Oct 27 12:28:41 2014] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1j DAV/2 PHP/5.5.18 configured -- resuming normal operations > > and 'ps -a | grep httpd2' gives (a similar call displayed 6 times): > > 5644 6064 6064 5644 ? 1001 12:31:13 /usr/sbin/httpd2 > 6064 1 6064 6064 ? 1001 12:31:11 /usr/sbin/httpd2 > 3084 6064 6064 3084 ? 1001 12:31:13 /usr/sbin/httpd2 > 5204 6064 6064 5204 ? 1001 12:31:12 /usr/sbin/httpd2 > 4088 6064 6064 4088 ? 1001 12:31:12 /usr/sbin/httpd2 > 4388 6064 6064 4388 ? 1001 12:31:13 /usr/sbin/httpd2 > > When I stop apache2 ('apachectl2 stop'), this appears in /var/log/apache2/error_log: > > [Mon Oct 27 12:29:24 2014] [notice] caught SIGTERM, shutting down > [Mon Oct 27 12:29:25 2014] [notice] seg fault or similar nasty error detected in the parent process > > Because I use postgresql, I get 6 similar calls once I start it ('pg_ctl start -D /usr/share/postgresql/data -l /usr/share/postgresql/data/pgsql.log'): > > $ ps -a | grep postgres > 4580 5064 4580 4580 ? 1001 12:31:31 /usr/sbin/postgres > 5064 1 5968 6056 pty0 1001 12:31:30 /usr/sbin/postgres > 3300 5064 3300 3300 ? 1001 12:31:31 /usr/sbin/postgres > 2480 5064 2480 2480 ? 1001 12:31:31 /usr/sbin/postgres > 4540 5064 4540 4540 ? 1001 12:31:31 /usr/sbin/postgres > 5552 5064 5552 5552 ? 1001 12:31:31 /usr/sbin/postgres > > I have two questions: > 1. The "seg fault or similar nasty error detected in the parent process" message represents a problem? if yes, how do I solve it? > 2. Why ps -a displays 6 times a similar call with httpd2 and postgres? is that the normal behavior? > > Thanks, > > Gery > > OS: win8.1 i5 (1.6GHz,8GB RAM), mapserver under cygwin > $ uname -a CYGWIN_NT-6.3-WOW64 gery 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin postgres (and I assume also apache) runs multiple instance of the demon to improve responsiveness to multiple requests Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple