Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 11:50:32 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        <deischen@freebsd.org>, <perky@fallin.lv>
Cc:        <ports@freebsd.org>
Subject:   apache2.0.35 STABLE and FreeBSD 4.5 STABLE WITH_MPM=perchild
Message-ID:  <20020415113851.U20461-100000@levais.imp.ch>

next in thread | raw e-mail | index | archive | help

Hi Dan,  perky, maybe you can help me ? I cc'd the ports
list if someone else can help me ...

Apache 2.0.35 is now STABLE. And it has some neat features ... :)

http://httpd.apache.org/docs-2.0/mod/perchild.html

# cd /usr/ports/www/apache2
# make install WITH_THREADS=YES WITH_MPM=perchild

# ps -aux | grep httpd
root 63653  0.0  0.3  4552 3408  ??  Ss   11:38AM   0:00.01 httpd
www  63654  0.0  0.3  4552 3408  ??  S    11:38AM   0:00.00 httpd

But unfortuntly only the startup works. And then it hangs ... Both
processes do not respond to requests ...

Seems like we have some threads issue here. I can get the apache port
running, but then it is locked somewhere ...

  5345 httpd    RET   close 0
  5345 httpd    CALL  setgroups(0x2,0xbfbff9d0)
  5345 httpd    RET   setgroups 0
  5345 httpd    CALL  geteuid
  5345 httpd    RET   geteuid 0
  5345 httpd    CALL  setuid(0x50)
  5345 httpd    RET   setuid 0
  5345 httpd    CALL  accept(0xe,0xbfbffad4,0xbfbffacc)
  5345 httpd    RET   accept -1 errno 35 Resource temporarily unavailable
  5345 httpd    CALL  poll(0x80b4000,0x1,0)
  5345 httpd    RET   poll 0
  5345 httpd    CALL  poll(0x80b4000,0x2,0xffffffff)

and there is the end. I cannot connect to the webserver, and truss does
not show anything anymoe then ... just nothing.

Do you have an idea how I can trace this down ?

apachectl shutdown and then apachectl start (again) does not work at all :-(

If I kill the server with (killall httpd) I get:

  5345 httpd    PSIG  SIGTERM SIG_DFL
  5344 httpd    PSIG  SIGCHLD caught handler=0x28269750 mask=0x0 code=0x0
  5344 httpd    RET   poll -1 errno 4 Interrupted system call
  5344 httpd    CALL  write(0x4,0x80a4e5f,0x1)
  5344 httpd    GIO   fd 4 wrote 1 byte
       "\^T"
  5344 httpd    RET   write 1
  5344 httpd    CALL  sigreturn(0x80a4e7c)
  5344 httpd    RET   sigreturn JUSTRETURN
  5344 httpd    CALL  read(0x3,0x809aed8,0x80)
  5344 httpd    GIO   fd 3 read 1 byte
       "\^T"
  5344 httpd    RET   read 1
  5344 httpd    CALL  read(0x3,0x809aed8,0x80)
  5344 httpd    RET   read -1 errno 35 Resource temporarily unavailable
  5344 httpd    CALL  fcntl(0,0x4,0x4)
  5344 httpd    RET   fcntl -1 errno 19 Operation not supported by device
  5344 httpd    CALL  fcntl(0x1,0x4,0x5)
  5344 httpd    RET   fcntl -1 errno 19 Operation not supported by device
  5344 httpd    CALL  fcntl(0x2,0x4,0xe)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0x5,0x4,0x6)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0x6,0x4,0x6)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0x7,0x4,0x6)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0x8,0x4,0x6)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0x9,0x4,0x6)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0xa,0x4,0xe)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0xb,0x4,0xd)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0xc,0x4,0x6)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0xd,0x4,0x6)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0xe,0x4,0x6)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  fcntl(0x11,0x4,0x4)
  5344 httpd    RET   fcntl 0
  5344 httpd    CALL  gettimeofday(0x282b278c,0)
  5344 httpd    RET   gettimeofday 0
  5344 httpd    CALL  poll(0x80b4000,0x2,0xffffffff)
  5344 httpd    PSIG  SIGTERM SIG_DFL


Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020415113851.U20461-100000>