Hi!
>>>>> "Jonathan" == Jonathan Roy <[EMAIL PROTECTED]> writes:
Jonathan> Hi all. I had the OpenBSD problems others have reported, with slow
Jonathan> response, high load/cpu usage, crashes, etc. Sinisa reported a month or
Jonathan> so ago it was a bug in the 2.8 threading library. I wrote to the OpenBSD
Jonathan> developers, and they had made changes to libc_r which solved mysql
Jonathan> problems for another user.
Jonathan> I updated my libc_r source code to -current, compiled and installed the
Jonathan> new libc_r* files into /usr/lib, and my mysql problems seem to have
Jonathan> disappeared. All problems we were having before have stopped, at least
Jonathan> for the most part.
Jonathan> I'd like to suggest two things are added to the FAQ. First, that
Jonathan> OpenBSD 2.8 has a threading bug that will cause various problems with
Jonathan> MySQL. That'd have saved me a lot of time. Secondly, also add that as of
Jonathan> today's date the -current branch of libc_r mostly or completely fixes the
Jonathan> problem for i386.
We will add this to the documentation.
Jonathan> A side note, when trying to work around this we were trying the
Jonathan> mit-pthreads version we had trouble with the alias ALIGN() which OpenBSD
Jonathan> also defines. The solution we used was just to add "#undef ALIGN" before
Jonathan> the ALIGN declaration in the 4-5 .h files where it is used. After this,
Jonathan> mit-pthreads compiled on 2.8 without any further problem. Considering
Jonathan> mit-pthreads will never want to use an OS ALIGN() instead of it's own,
Jonathan> perhaps add this #undef to the distribution, or add it conditional on
Jonathan> detecting OpenBSD.
Fixed.
Jonathan> Thanks,
Jonathan> -Jonathan
Thanks!
Regards,
Monty
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php