On Wed, Jan 20, 1999 at 04:53:02PM +0100, [EMAIL PROTECTED] wrote:
> On Thu, Jan 07, 1999, [EMAIL PROTECTED] wrote:
> > Full_Name: Jake Buchholz
> > Version: mod_ssl 2.1.6
> > OS: linux 2.0.36 glibc
> > Submission from: windowpane.execpc.com (169.207.1.11)
> >
> > httpd -DSSL -DPHP3
> >
> > ...the process locks up. strace reveals that it's stuck in a loop:
> >
> > sched_yield(0x31f7e0, 0x11c000, 0, 0x80b2ce0, 0) = 0
> > sched_yield(0x31f7e0, 0x11c000, 0, 0x80b2ce0, 0) = 0
> > sched_yield(0x31f7e0, 0x11c000, 0, 0x80b2ce0, 0) = 0
> > ...
> >
> > This happens after the initial process forks a child, but before it
> > gets around to forking any more children.
> >
> > I've tried adjusting the order of libssl and libphp3 LoadModule and
> > AddModule directives, with no change in effect.
> >
> > An earlier version of mod_ssl (2.1.2) works fine.
> >
> > I'll also be submitting this to PHP3's bug database, just in case
> > the problem's there.
>
> I think it's related to the DSO problems and that the above looping is just a
> side-effect of dangling references. I've now tried to fix these problems for
> mod_ssl 2.1.8. When this version is available the next days please try it out.
> I think the problem is then fixed. If not, please complain again.
Well, I can now get PHP3 to work as a module (via apxs) with an EAPI-ized
Apache, but still not if I add the -DSSL. It's forking children, but
they're all stuck before they setuid in a new loop:
# strace -p 16049
select(0, NULL, NULL, NULL, {0, 190000}) = 0 (Timeout)
time(NULL) = 917244632
wait4(-1, 0xbffffc94, WNOHANG, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL) = 917244633
wait4(-1, 0xbffffc94, WNOHANG, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL) = 917244634
wait4(-1, 0xbffffc94, WNOHANG, NULL) = 0
...
Here's my httpd.conf, FWIW:
##### httpd.conf
#
# Main configuration for Apache
#
### Load DSO Modules
#
<IfDefine SSL>
LoadModule ssl_module libexec/libssl.so
</IfDefine>
<IfDefine PERL>
LoadModule perl_module libexec/libperl.so
</IfDefine>
<IfDefine PHP3>
LoadModule php3_module libexec/libphp3.so
</IfDefine>
### Reconstruct Module List Order
#
ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_auth_dbm.c
AddModule mod_auth_db.c
AddModule mod_expires.c
AddModule mod_headers.c
AddModule mod_so.c
AddModule mod_setenvif.c
<IfDefine PHP3>
AddModule mod_php3.c
</IfDefine>
<IfDefine PERL>
AddModule mod_perl.c
</IfDefine>
<IfDefine SSL>
AddModule mod_ssl.c
</IfDefine>
### Configuration Common to HTTP and SSL
#
Include etc/common.conf
### Configuration for HTTP Only
#
<IfDefine !SSL>
Include etc/web.conf
</IfDefine>
### Configuration for SSL Only
#
<IfDefine SSL>
Include etc/ssl.conf
</IfDefine>
--
Jake Buchholz, ExecPC Sr. Systems Administrator : /~\
[EMAIL PROTECTED] -- http://www.execpc.com/~jake : ASCII \ / Against
Fngrpt PGP262: 29f3322af2da07994dc03fdf1f50aed2 : Ribbon X HTML
GnuPG: 53d97ab3d279f731e7d2fc1197ca38544423882b : Campaign / \ Mail
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]