You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/01/24 22:17:20 UTC

DO NOT REPLY [Bug 52388] OpenBSD and worker mode

https://issues.apache.org/bugzilla/show_bug.cgi?id=52388

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
           Severity|critical                    |normal

--- Comment #2 from Stefan Fritsch <sf...@sfritsch.de> 2012-01-24 21:17:20 UTC ---
First of all, OpenBSD's pthread library is rather limited. I don't think that
either MPM worker or MPM event work well with it. I recommend to use the
prefork MPM, instead. There is a replacement project "rthreads", but I don't
know its status. It's not included in OpenBSD 5.0.

Apart from that, a run of the apr test suite under OpenBSD shows that it hangs
when trying to use the proc mutex mechanism sysvsem. You could try if disabling
that one helps:

Try

ac_cv_func_semget=no ./configure ...

or 

apr_lock_method=USE_POSIXSEM_SERIALIZE ./configure ...

(not sure which one works). If it does, we could add that to the apr platform
hints. But in the end, the problem is that OpenBSD does not provide suitable
threading support.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org