Bug#306101: apache-ssl: gcache mysteriously gets EOF on /var/run/gcache_port and dies
This is still happening on a nightly basis, apache-ssl dies after less than 24h. It is still accepting requests, but is returning zero-length pages, with no MIME type. I have tried increasing the SSLSessionCacheTimeout from 15 to 300, but that did not help. Nor did increasing MaxClients from 150 to 400. This bug has been outstanding for a year now, any idea when it will be fixed? Thanks, -Matthew Attached is an excerpt from /var/log/apache-ssl/error.log: Mon Mar 26 16:40:09 2007] /usr/lib/apache-ssl/gcache started [Mon Mar 26 16:40:09 2007] [notice] Apache/1.3.33 Ben-SSL/1.55 (Debian GNU/Linux) PHP/4.3.10-19 configured -- resuming normal operations [Mon Mar 26 16:40:09 2007] [notice] Accept mutex: sysvsem (Default: sysvsem) [Mon Mar 26 23:47:57 2007] [error] SSL_accept failed [Mon Mar 26 23:47:57 2007] [error] error:1408E0F4:SSL routines:SSL3_GET_MESSAGE:unexpected message EOF in saferead after 0 bytes gcache: gcachecommon.c:108: ReadThing: Assertion `nRead == sizeof usLength' failed. Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:38 2007] [notice] child pid 1855 exit signal Aborted (6) [Tue Mar 27 03:55:38 2007] [notice] child pid 3061 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:39 2007] [notice] child pid 3949 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:40 2007] [notice] child pid 1765 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:42 2007] [notice] child pid 2769 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:43 2007] [notice] child pid 2771 exit signal Aborted (6) [Tue Mar 27 03:55:43 2007] [notice] child pid 3950 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:46 2007] [notice] child pid 4055 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:47 2007] [notice] child pid 466 exit signal Aborted (6) [Tue Mar 27 03:55:47 2007] [notice] child pid 467 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:48 2007] [notice] child pid 4056 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socket' failed. [Tue Mar 27 03:55:49 2007] [notice] child pid 4057 exit signal Aborted (6) Failed to connect to socket: /var/run/gcache_port -- Matthew Manuel Network Engineer PEER 1 1000-555 West Hastings Street Vancouver, BC, Canada V6B 4N5 T: 604.683.7747 F: 604.683.4634 [EMAIL PROTECTED] www.peer1.com NETWORK | CO-LOCATION | DEDICATED HOSTING -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#306101: apache-ssl: gcache mysteriously gets EOF on /var/run/gcache_port and dies
Package: apache-ssl Version: 1.3.33-3 Severity: important Hello. I'm getting very strange behaviour out of my apache-ssl server. Without warning, I'm getting lines in /var/log/error.log like this: EOF in saferead after 0 bytes gcache: gcachecommon.c:108: ReadThing: Assertion `nRead == sizeof usLength' fail [Fri Apr 22 11:14:48 2005] [notice] child pid 1588 exit signal Aborted (6) [Fri Apr 22 11:14:48 2005] [warn] long lost child came home! (pid 1588) Failed to connect to socket: /var/run/gcache_port connect: Connection refused apache-ssl: gcacheclient.c:118: OpenServer: Assertion `!couldn't connect to socFailed to connect to socket: /var/run/gcache_port connect: Connection refused Of course, once the apache-ssl server starts giving the Assertion errors, it keeps getting them until I intervene. This means that my SSL pages are all busted. I have the following in my /etc/apache-ssl/httpd.conf: SSLCacheServerPath /usr/lib/apache-ssl/gcache SSLCacheServerPort /var/run/gcache_port Looking at gcachecommon.c in the apache-ssl patches for apache, it looks like the EOF in saferead error is generated by gcache itself, because it got a return of 0 from it's read() of /var/run/gcache_port. Then that makes the ReadThing assert fail, and so gcache bails. Without gcache running, apache-ssl can't do whatever it's supposed to do with gcache and so the SSL serving pukes. I don't know much more than this. In particular, I have no clue what could be making gcache get EOF on that file. Any help that can be given will be greatly appreciated. Joe Blaylock -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.29+20050329.00 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages apache-ssl depends on: ii apache-common 1.3.33-3 support files for all Apache webse ii debconf 1.4.30.11Debian configuration management sy ii dpkg1.10.26 Package maintenance system for Deb ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libdb4.24.2.52-18Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.8-1 XML parsing C library - runtime li ii libmagic1 4.12-1 File type determination library us ii libssl0.9.7 0.9.7e-2 SSL shared libraries ii logrotate 3.7-2Log rotation utility ii mime-support3.28-1 MIME files 'mime.types' 'mailcap ii openssl 0.9.7e-2 Secure Socket Layer (SSL) binary a ii perl5.8.4-6 Larry Wall's Practical Extraction ii ssl-cert1.0-11 Simple debconf wrapper for openssl -- debconf information: * apache-ssl/server-admin: [EMAIL PROTECTED] * apache-ssl/enable-suexec: true * apache-ssl/init: true * apache-ssl/server-name: kb-dev.indiana.edu * apache-ssl/document-root: /home/kb-dev/www -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]