I occasionally get a White Screen Of Death when connecting to a MediaWiki install running behind client-cert authentication. Once I get a WSoD, I get nothing but WSoD - that is restarting the browser, switching computers, etc. is to no avail. The WSoD state seems resolutely server inflicted.
I've done all the recommended php WSoD fixes I've found to no avail (memory limit, time zone set, error reporting on (no errors reported)). From the logs, the WSoD seems to be related to the client-cert authentication process. What is odd is that it works for a while after apachectl restart, sometimes for hours, sometimes for weeks. I could cron an hourly restart and probably have no issues, but it shouldn't require that kind of patch.
The WSoD Log is below, the full log, showing a successful connection after restart is attached.
white screen of death served
(attached file is the log with happy serving after restart)
I've done all the recommended php WSoD fixes I've found to no avail (memory limit, time zone set, error reporting on (no errors reported)). From the logs, the WSoD seems to be related to the client-cert authentication process. What is odd is that it works for a while after apachectl restart, sometimes for hours, sometimes for weeks. I could cron an hourly restart and probably have no issues, but it shouldn't require that kind of patch.
Code:
Apache/2.2.19 (FreeBSD 8.2-Release) mod_ssl/2.2.20 OpenSSL/0.9.8q DAV/2 PHP/5.3.8
The WSoD Log is below, the full log, showing a successful connection after restart is attached.
Code:
[Tue Sep 13 00:04:52 2011] [info] [client 12.23.45.78] Connection to child 12 established (server www.server.org:443)
[Tue Sep 13 00:04:52 2011] [info] Seeding PRNG with 144 bytes of entropy
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1866): OpenSSL: Handshake: start
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: before/accept initialization
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1897): OpenSSL: read 11/11 bytes from BIO#8068714e0 [mem: 80688e000] (BIO dump follows)
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1830): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1873): | 0011 - <SPACES/NULS>
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1875): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1897): OpenSSL: read 109/109 bytes from BIO#8068714e0 [mem: 80688e00b] (BIO dump follows)
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1830): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1873): | 0109 - <SPACES/NULS>
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1875): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_scache_shmcb.c(393): ssl_scache_shmcb_retrieve (0x49 -> subcache 9)
[Tue Sep 13 00:04:52 2011] [debug] ssl_scache_shmcb.c(680): possible match at idx=0, data=0
[Tue Sep 13 00:04:52 2011] [debug] ssl_scache_shmcb.c(697): shmcb_subcache_retrieve returning matching session
[Tue Sep 13 00:04:52 2011] [debug] ssl_scache_shmcb.c(408): leaving ssl_scache_shmcb_retrieve successfully
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1732): Inter-Process Session Cache: request=GET status=FOUND id=49DDbitsremoved1FA (session reuse)
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1987): [client 12.23.45.78] SSL virtual host for servername www.server.org found
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: SSLv3 read client hello A
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: SSLv3 write server hello A
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: SSLv3 write change cipher spec A
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: SSLv3 write finished A
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: SSLv3 flush data
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1897): OpenSSL: read 5/5 bytes from BIO#8068714e0 [mem: 80688e000] (BIO dump follows)
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1830): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1875): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1897): OpenSSL: read 1/1 bytes from BIO#8068714e0 [mem: 80688e005] (BIO dump follows)
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1830): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1875): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1897): OpenSSL: read 5/5 bytes from BIO#8068714e0 [mem: 80688e000] (BIO dump follows)
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1830): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1875): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1897): OpenSSL: read 64/64 bytes from BIO#8068714e0 [mem: 80688e005] (BIO dump follows)
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1830): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1869): | 0000: th is bi to fd at am ig-ht be ov er sh ar ei ng redacted........ |
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_io.c(1875): +-------------------------------------------------------------------------+
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: SSLv3 read finished A
[Tue Sep 13 00:04:52 2011] [debug] ssl_engine_kernel.c(1870): OpenSSL: Handshake: done
[Tue Sep 13 00:04:52 2011] [info] Connection: Client IP: 12.23.45.78, Protocol: SSLv3, Cipher: DHE-RSA-CAMELLIA256-SHA (256/256 bits)
[Tue Sep 13 00:04:52 2011] [info] [client 12.23.45.78] No acceptable peer certificate available
[Tue Sep 13 00:04:52 2011] [info] [client 12.23.45.78] Connection closed to child 12 with abortive shutdown (server www.server.org:443)
(attached file is the log with happy serving after restart)