This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 6 times httpd2 & 6 times postgres
- From: "Gery ." <gamejihou at hotmail dot com>
- To: Marco Atzeri <marco dot atzeri at gmail dot com>
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 27 Oct 2014 16:01:07 +0100
- Subject: Re: 6 times httpd2 & 6 times postgres
- Authentication-results: sourceware.org; auth=none
- References: <DUB124-W25112CC3A5C217D635FB87B09E0 at phx dot gbl> <544E4AA0 dot 7000806 at gmail dot com>
Thanks Andrey and Marco, how can I solve "seg fault or similar nasty error detected in the parent process" error?
Sent from my iRon
On Oct 27, 2014, at 14:38, "Marco Atzeri" <marco.atzeri@gmail.com> wrote:
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
--
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