Re: A night with threads and gdb
On Tue, Mar 30, 2004 at 05:42:41PM +0100, Andrea Venturoli wrote: > To make it clear: with nss_ldap enabled, everything that accessed the > user database would crash: so "ls -l", > "id" and so on (but not, e.g., "ls" without "-l"). I spoke to nectar@ about this. CVSup to that latest OpenLDAP21 and then recompile :) -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: A night with threads and gdb
--On 30. mars 2004 17:42 +0100 Andrea Venturoli <[EMAIL PROTECTED]> wrote: _ apache 2.0 with default prefork MPM will start, but will chew up all cpu time after a while; using "httpd -DSSL -X" shows that the server dies when nocc is used to forward a mail; no need to say that it's a problem with threads, the exact message being Fatal error 'Unable to read from thread kernel pipe' at line 1100 in file /usr/src/lib/libc_r/uthread/uthread_kern.c (errno = 0) I saw the same problem with Apache 2.0.49 + PHP 4.3.5 on FreeBSD 5.2.1-p4. I posted on freebsd-current about the same "Unable to read from thread kernel pipe" but didn't get any response (apart from being told to not run PHP + Apache2 together). When I recompiled the kernel using SCHED_ULE instead of the default SCHED_4BSD this fault message went away (I can't say if it was _caused_ by the change in scheduler since I also tried some other things to fix this at the time) but Apache still hangs / starts consuming all the CPU now and then. I've now been running Apache 2.0.49 + PHP 4.3.5 for nearly two hours without any obvious problems, but it might be too early to say if this is working stable or not. If we assume that things finally are stable here, these are the changes I've done locally to get to this point. I don't know which (if any...) of these really helped or not as that requires more testing. - I'm using a more or less plain GENERIC kernel but now with SCHED_ULE instead of SCHED_BSD (other changes are to include IPFILTER in kernel) - PHP 4.3.5 is using PCRE from PHP 4.3.4 - PHP is now compiled without support for LDAP and DOMXML Apache is (and always was) running in prefork-mode. -- Regards / Hilsen Eivind Olsen <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"