You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 1999/07/03 18:40:57 UTC

Questions: apache-pthreads, apache-mpm

Just two quick questions:

1. apache-pthread:
   I've today tried to fire up an apache-pthread for testing purposes but I
   recognized that it has problems under FreeBSD 3.1: Per default it complains
   that poll(2) is missing.  I've not investigated too much why this isn't
   provided by the libc_r, but when I link additionally via libc to solve this
   it coredumps heavily.  And when I try -Dpoll=_thread_sys_poll to solve it,
   the beast hangs forever on connections. So my question is: Was FreeBSD ever
   tried successfully for apache-pthread and I just miss something or I'm the
   first guy who tried it under this platform and I should investigate more?

2. apache-mpm:
   Additionally I today also tried Dean's MPM, but the source tree seems to be
   not in a useable state. I just got: 
      | <=== src/modules/standard
      | ===> src/modules/mpm/
      | make: don't know how to make all. Stop
      | *** Error code 1
   Dean, is just some stuff in your work tree still not comitted which fixes
   the source tree, or how else can one try it out? I wanted to look how much
   work it is to provide a native MPM module for NPS (my threading library)
   and how much work it is to port the MPM pthread module to NPS' pthread
   wrapper library.
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Re: Questions: apache-pthreads, apache-mpm

Posted by Manoj Kasichainula <ma...@io.com>.
Just back from sunny Pittsburgh...

On Sat, Jul 03, 1999 at 06:40:57PM +0200, Ralf S. Engelschall wrote:
>    I've today tried to fire up an apache-pthread for testing
>    purposes but I recognized that it has problems under FreeBSD 3.1:
>    Per default it complains that poll(2) is missing.

You're not the first to try it under FreeBSD; I think Jim tried it a
while back, but that was before use of poll was added. I don't think
anyone has run it on FreeBSD since then.

I'm surprised that FreeBSD 3.1 doesn't have poll in libc_r. If so, I
think it's the only barrier I can think of to running the hybrid
server on FreeBSD, but I personally haven't tried the code on that
platform yet.

No one has talked about implementing select in the hybrid server, but
APR emulates (or will emulate) the poll call with select().

-- 
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/
"Anybody who says 'disk is cheap' deserves to be shot." - Linus Torvalds

Re: Questions: apache-pthreads, apache-mpm

Posted by Dean Gaudet <dg...@arctic.org>.

On Sat, 3 Jul 1999, Ralf S. Engelschall wrote:

> 2. apache-mpm:
>    Additionally I today also tried Dean's MPM, but the source tree seems to be
>    not in a useable state. I just got: 
>       | <=== src/modules/standard
>       | ===> src/modules/mpm/
>       | make: don't know how to make all. Stop
>       | *** Error code 1
>    Dean, is just some stuff in your work tree still not comitted which fixes
>    the source tree, or how else can one try it out? I wanted to look how much
>    work it is to provide a native MPM module for NPS (my threading library)
>    and how much work it is to port the MPM pthread module to NPS' pthread
>    wrapper library.

You probably need to use the Configuration.mpm file directly rather than
using the configure above src ... or something along those lines? 

the tree should be useable though.  It just needs a "Rule
MPM_METHOD=default"  maybe ? 

Dean