Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2003 14:30:02 +0100
From:      =?ISO-8859-1?Q?=22Branko_F=2E_Grac=28nar=22?= <bfg@noviforum.si>
To:        David Xu <davidxu@freebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: FreeBSD 5.1-p10 reproducible crash with Apache2
Message-ID:  <3FAA4CDA.8030008@noviforum.si>
In-Reply-To: <3FAA411C.6050209@freebsd.org>
References:  <3F9F9884.3020309@noviforum.si> <20031030050540.GA25906@rot13.obsecurity.org> <20031103140413.GG18358@pixies.tirloni.org>    <3FA667F4.7060003@noviforum.si> <20031103230152.F99573@odysseus.silby.com> <3FA95893.1060208@noviforum.si> <20031106005009.D1561@odysseus.silby.com> <3FAA35E2.1090703@noviforum.si> <3FAA411C.6050209@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Please tell us your Apache configuration, are you using
| prefork or worker or perchild mode ?
| If you are using worker mode,  which thread library are you
| using ? this would help us to narrow down problem scope.
|

I'm using prefork mpm. worker mpm doesn't even work with under SSL
(httpd accepts connection but never answers).

Apache config (without non-relevant directives):

ServerRoot "/export/software/freebsd/httpd"


=== snip ===

<IfModule !mpm_winnt.c>
~        <IfModule !mpm_netware.c>
~                LockFile /var/run/httpd.accept.lock
~        </IfModule>
</IfModule>

<IfModule !mpm_netware.c>
~        PidFile /var/run/httpd.pid
</IfModule>

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
~        StartServers            15
~        MinSpareServers         10
~        MaxSpareServers         15
~        MaxClients              150
~        MaxRequestsPerChild     0
</IfModule>

Listen 0.0.0.0:80

LoadModule access_module modules/mod_access.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule setenvif_module modules/mod_setenvif.so
<IfDefine SSL>
~        LoadModule ssl_module modules/mod_ssl.so
</IfDefine>
LoadModule mime_module modules/mod_mime.so
LoadModule status_module modules/mod_status.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule include_module modules/mod_include.so
LoadModule php4_module  modules/libphp4.so

ExtendedStatus Off

<IfModule !mpm_winnt.c>
~        <IfModule !mpm_netware.c>
~                User www
~                Group www
~        </IfModule>
</IfModule>

UseCanonicalName Off

TypesConfig conf/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
~        MIMEMagicFile conf/magic
</IfModule>

HostnameLookups Off
EnableMMAP On
EnableSendfile On

ServerTokens Full
ServerSignature Off

NameVirtualHost *:80

<VirtualHost *:80>
~        ServerName mysite.org

~        DocumentRoot "/some/where"
</VirtualHost>

<IfModule mod_ssl.c>
~        Listen 443
~        AddType application/x-x509-ca-cert .crt
~        AddType application/x-pkcs7-crl .crl
~        SSLPassPhraseDialog  builtin

	# WARNING !!!!
	# THE FOLLOWING OPTIONS RESULT IN MACHINE LOCKUP
	# SSLMutex sem
	# SSLSessionCache shm:/some/file(1048576)
~ 	#

	# With these options everything is okay.
~        SSLMutex file:/var/run/httpd_ssl_mutex
~        SSLSessionCache dbm:/var/run/httpd_ssl_scache


~        SSLSessionCacheTimeout  300
~        SSLRandomSeed startup builtin
~        SSLRandomSeed connect builtin

~        SSLCipherSuite HIGH
~        SSLCertificateFile /etc/ssl/server.crt
~        SSLCertificateKeyFile /etc/ssl/server.key

~        <Files ~ "\.(cgi|shtml|phtml|php?)$">
~                SSLOptions +StdEnvVars
~        </Files>

~        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0


~        NameVirtualHost *:443

~        <VirtualHost *:443>
~                ServerName mysite.org
	        DocumentRoot "/some/where"
~                SSLEngine on
~        </VirtualHost>
</IfModule>

=== snip ===

Best regards, Brane


-----BEGIN PGP SIGNATURE-----

iD8DBQE/qkzafiC/E+t8hPcRAlcaAJ45rx2MZiFJmkBh83rgTiLQ3b0VQACfSeEM
GByh+n1DbliHKRnVEQEArZE=
=eUeq
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FAA4CDA.8030008>