On Thu, Dec 08, 2005 at 04:23:23PM +0100, Markus Wernig wrote:
> 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).

You did complete the request, I presume? Something along the lines of

"GET / HTTP/1.0
User-Agent: wetware/1.0
Host: www.example.com

"

(yes, press enter twice after .com) should work.

> 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?)

Apache has multiple processes and threads. You are looking at some
synchronization, IIRC.

                Joachim

Reply via email to