delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/27/09:50:28

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=msdhdfXCJJUqnRjh
He5KXzl4oTWT/zJgnYCp+SYsfnxBQNr2nSoFtpIgvWd0A7kbXKlsp+Rc1aBtd0UR
NzAIJqDOXn9uuDShjHG92kq/JXOWC6MRqL5V+upQ8haDUxeGWenYKOYh6WZgiAE9
5pZJMLErkiqGvshMTDfU2h3KcAY=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=2xZ2JL7kLnagSwAJBAte8R
K90g8=; b=v/U2EWQv6XKgrEx8snu0DdgTZp446Z+AWoOgJEma1rUKH88j69HAY3
Ni4I78nC/LDLNMDR0XyBPGn5t/9q/vhSz8HK+WyWDTsMELluGy0GNOY3lkchfnaL
oqiBCt8zTjzK3fY7Hbtx9XDNvqJk0qJ0qz+CZXJxg98q6LsiNR7+Q=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Mon, 27 Oct 2014 16:37:16 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <233270457.20141027163716@yandex.ru>
To: "Gery ." <gamejihou AT hotmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: 6 times httpd2 & 6 times postgres
In-Reply-To: <DUB124-W25112CC3A5C217D635FB87B09E0@phx.gbl>
References: <DUB124-W25112CC3A5C217D635FB87B09E0 AT phx DOT gbl>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id s9RDoO43017071

Greetings, Gery .!

> 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

> 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?

Yes, it represent a problem. Either in signal handling or the application
itself.

> 2. Why ps -a displays 6 times a similar call with httpd2 and postgres? is that the normal behavior?

That's how Apache works in prefork mode. No idea about postgres, but likely
the case is the same.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 27.10.2014, <16:36>

Sorry for my terrible english...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019