Bug#203095: Please compile apache with -pthread
Package: apache
Version: 1.3.27.0-2
Severity: important
http://www.omniorb-support.com/pipermail/omniorb-list/2001-December/019820.html
pointed me to the solution to a problem I was having:
mod_python and apache1 seem to interact in a way that makes omniorb
not work. Add the -pthread flag to:
CONFLAGS = -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread
Seems to solve the problem. This does not appear to affect the ABI
(php4 and mod_python still run without recompiling)
Note that this likely points to a deeper issue. Without doing this, I
don't see the hang when running with apache -X, but do in the regular
mode. However, when I use apache2 which appears to be already
compiled with -pthread, I see the same thing (failure in regular mode,
but not in -X mode)
I have marked this at important because it causes that child to hang
even after the server disconnects and could result in lost resources.
Tks,
Jeff Bailey
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux outpost 2.4.20-1-k7 #1 Sat Mar 22 15:17:52 EST 2003 i686
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8
Versions of packages apache depends on:
ii apache-common 1.3.27.0-2 Support files for all Apache webse
ii debconf 1.3.6 Debian configuration management sy
ii dpkg 1.10.10 Package maintenance system for Deb
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-5 Berkeley v4.1 Database Libraries [
ii libexpat1 1.95.6-4 XML parsing C library - runtime li
ii libmagic1 4.02-4 File type determination library us
ii logrotate 3.6.5-2 Log rotation utility
ii mime-support 3.23-1 MIME files 'mime.types' & 'mailcap
ii perl [perl5] 5.8.0-18 Larry Wall's Practical Extraction
-- debconf information:
* apache/enable-suexec: false
Reply to: