* 6 times httpd2 & 6 times postgres
@ 2014-10-27 11:45 Gery .
2014-10-27 13:38 ` Marco Atzeri
2014-10-27 13:50 ` Andrey Repin
0 siblings, 2 replies; 4+ messages in thread
From: Gery . @ 2014-10-27 11:45 UTC (permalink / raw)
To: cygwin
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
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 6 times httpd2 & 6 times postgres
2014-10-27 11:45 6 times httpd2 & 6 times postgres Gery .
@ 2014-10-27 13:38 ` Marco Atzeri
2014-10-27 15:01 ` Gery .
2014-10-27 13:50 ` Andrey Repin
1 sibling, 1 reply; 4+ messages in thread
From: Marco Atzeri @ 2014-10-27 13:38 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 6 times httpd2 & 6 times postgres
2014-10-27 11:45 6 times httpd2 & 6 times postgres Gery .
2014-10-27 13:38 ` Marco Atzeri
@ 2014-10-27 13:50 ` Andrey Repin
1 sibling, 0 replies; 4+ messages in thread
From: Andrey Repin @ 2014-10-27 13:50 UTC (permalink / raw)
To: Gery ., cygwin
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@yandex.ru) 27.10.2014, <16:36>
Sorry for my terrible english...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 6 times httpd2 & 6 times postgres
2014-10-27 13:38 ` Marco Atzeri
@ 2014-10-27 15:01 ` Gery .
0 siblings, 0 replies; 4+ messages in thread
From: Gery . @ 2014-10-27 15:01 UTC (permalink / raw)
To: Marco Atzeri; +Cc: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-27 15:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-27 11:45 6 times httpd2 & 6 times postgres Gery .
2014-10-27 13:38 ` Marco Atzeri
2014-10-27 15:01 ` Gery .
2014-10-27 13:50 ` Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).