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 2011/12/27 11:22:18 UTC
DO NOT REPLY [Bug 52388] New: OpenBSD and worker mode
https://issues.apache.org/bugzilla/show_bug.cgi?id=52388
Bug #: 52388
Summary: OpenBSD and worker mode
Product: Apache httpd-2
Version: 2.2.21
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: worker
AssignedTo: bugs@httpd.apache.org
ReportedBy: ju.vignolles@gmail.com
Classification: Unclassified
--
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
DO NOT REPLY [Bug 52388] OpenBSD and worker mode
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52388
Eric Garreau <eg...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |REMIND
--- Comment #3 from Eric Garreau <eg...@gmail.com> 2012-01-27 08:24:06 UTC ---
thanks a lot Stefan for this workaround. I'm working with Julien, and we still
don't understand why the event mode works although the worker mode doesn't (we
played with gdb and setup parameters a lot, but the root cause was not clear).
after some googling, we had concluded that pthread support in OpenBSD was poor,
- bad surprise -, ... and we have switched our minds to FreeBSD.
cheers,
eric
--
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
DO NOT REPLY [Bug 52388] OpenBSD and worker mode
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52388
--- Comment #1 from julien <ju...@gmail.com> 2011-12-27 10:27:14 UTC ---
I downloaded the Apache 2.2.21 source tarball from
apache.org, built it on my OpenBSD 4.9 box with
./configure --prefix=/usr/local/apache2 --with-mpm=worker
--with-included-apr && make && sudo make install
and ran it with
cd /usr/local/apache2/bin; ./apachectl start
Strange thing is that any client I pointed to my test instance would
connect and then hang. When I stopped apache with
./apachectl stop
then, a few seconds later, all the waiting clients would show "It worked!"
It's important for me to have the worker mode. Therefore, the event mode works
fine.
--
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
DO NOT REPLY [Bug 52388] OpenBSD and worker mode
Posted by bu...@apache.org.
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
DO NOT REPLY [Bug 52388] OpenBSD and worker mode
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52388
julien <ju...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
--
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
DO NOT REPLY [Bug 52388] OpenBSD and worker mode
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52388
julien <ju...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|Linux |OpenBSD
--
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