Hi all I'm trying apache 2.2 on obsd3.8/sparc64 -release. Compiles, installs and starts fine (obviously not chrooted).
When connecting to port 80, I get a socket connect. GET / (...) results in an entry in logs/access.log (... "GET / HTTP/1.0" 200 44), but no data is transmitted over the wire. Tcpdump shows a sequence of: SYN, SYN-ACK, ACK, PSH, ACK, then the connection stalls (or rather hangs in ESTABLISHED according to netstat). Ktrace shows (...) 1305 httpd CALL mprotect(0x4c0000,0xa000,0x5) 1305 httpd RET mprotect 0 1305 httpd CALL sigprocmask(0x3,0) 1305 httpd RET sigprocmask -65793/0xfffefeff 1305 httpd CALL semop(0x50003,0x456c6f36,0x1) 1305 httpd RET semop 0 1305 httpd CALL semop(0x50003,0x456c6f30,0x1) (which I do not really understand. Is sigprocmask returning -65793/0xfffefeff the problem or the second semop call never returning or are both ir/relevant?) Now if I kill apache at this state, the missing packets (the file, FIN etc.) are sent out. It seems that the process is locked when trying to send out stuff over the socket. I haven't found this in google or the archives, so I assume it's some flaw in my setup. Does anybody have an idea how to research (and eventually fix) this? FWIW here's the output from httpd -V: # /usr/local/apache2/bin/httpd -V Server version: Apache/2.2.0 Server built: Dec 8 2005 12:36:28 Server's Module Magic Number: 20051115:0 Architecture: 64-bit Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/worker" -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" krgds /markus