You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Anupam Chanda <ch...@rediffmail.com> on 2003/01/16 22:26:20 UTC

[users@httpd] apache 2/FreeBSD/worker mpm : urgent

Hello,

I installed apache 2.0.43 on a FreeBSD 4.7 box with MPM worker 
module. The options I used in configuring apache were 
"--enable-threads --with-mpm=worker" (plus one for PREFIX). Now 
when I start apache, and try to connect to it by a browser or 
telnet (and send a http request), I do not get any response back. 
The connection gets accepted at the server, but I do not get any 
response back, this causes the browser/telnet to stall waiting for 
the response.

Does anyone know if worker mpm works fine on FreeBSD?

Thanks, and regards,
Anupam




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache 2/FreeBSD/worker mpm : urgent

Posted by Jacob Coby <jc...@listingbook.com>.
> I installed apache 2.0.43 on a FreeBSD 4.7 box with MPM worker
> module. The options I used in configuring apache were
> "--enable-threads --with-mpm=worker" (plus one for PREFIX). Now
> when I start apache, and try to connect to it by a browser or
> telnet (and send a http request), I do not get any response back.
> The connection gets accepted at the server, but I do not get any
> response back, this causes the browser/telnet to stall waiting for
> the response.

Things to check:
- Is apache really running?  ps -ef | grep httpd
- Is apache listening?  netstat -an | grep LISTEN | grep 80
- Do you have a firewall blocking port 80?  Dunno how to check that on *BSD
:)
- Do you have a routing issue?  Do other web services work (FTP, SSH, etc)

-Jacob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache 2/FreeBSD/worker mpm : urgent

Posted by Zac Stevens <zt...@cryptocracy.com>.
On Thu, Jan 16, 2003 at 09:26:20PM -0000, Anupam  Chanda wrote:
> Does anyone know if worker mpm works fine on FreeBSD?

If you have a look at the INSTALL file in the root of the source tree, you
will find the following:

            * If you are building on FreeBSD, be aware that threads will
              be disabled and the prefork MPM will be used by default,
              as threads do not work well with Apache on FreeBSD.  If
              you wish to try a threaded Apache on FreeBSD anyway, use
              "./configure --enable-threads".

As far as I'm aware, threaded Apache MPM's are flakey (at best) on FreeBSD
prior to 5.0, where the threading model has undergone a significant
rewrite.

If you want a stable server on earlier versions of FreeBSD, you need to use
the prefork MPM.

Cheers,


Zac

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org