From owner-freebsd-threads@FreeBSD.ORG Mon Nov 3 11:02:04 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D414316A4CE for ; Mon, 3 Nov 2003 11:02:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9800543F75 for ; Mon, 3 Nov 2003 11:01:32 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA3J1WFY003826 for ; Mon, 3 Nov 2003 11:01:32 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hA3J1VEN003820 for freebsd-threads@freebsd.org; Mon, 3 Nov 2003 11:01:31 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 3 Nov 2003 11:01:31 -0800 (PST) Message-Id: <200311031901.hA3J1VEN003820@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 19:02:04 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/06/13] kern/19247 threads uthread_sigaction.c does not do anything o [2002/01/16] kern/33951 threads pthread_cancel is ignored 2 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/07/18] kern/20016 threads pthreads: Cannot set scheduling timer/Can o [2000/08/26] misc/20861 threads libc_r does not honor socket timeouts o [2001/01/19] bin/24472 threads libc_r does not honor SO_SNDTIMEO/SO_RCVT o [2001/01/25] bin/24632 threads libc_r delicate deviation from libc in ha o [2001/01/25] misc/24641 threads pthread_rwlock_rdlock can deadlock o [2001/04/02] bin/26307 threads libc_r aborts when using the KDE media pl o [2001/10/31] bin/31661 threads pthread_kill signal handler doesn't get s o [2001/11/26] bin/32295 threads pthread dont dequeue signals o [2002/02/01] i386/34536 threads accept() blocks other threads o [2002/03/07] bin/35622 threads sigaltstack is missing in libc_r o [2002/05/25] kern/38549 threads the procces compiled whith pthread stoppe o [2002/06/27] bin/39922 threads [PATCH?] Threaded applications executed w o [2002/08/04] misc/41331 threads Pthread library open sets O_NONBLOCK flag o [2002/10/10] kern/43887 threads abnormal CPU useage when use pthread_mute o [2003/03/02] bin/48856 threads Setting SIGCHLD to SIG_IGN still leaves z o [2003/03/10] bin/49087 threads Signals lost in programs linked with libc a [2003/04/08] bin/50733 threads buildworld won't build, because of linkin o [2003/05/07] bin/51949 threads thread in accept cannot be cancelled o [2003/05/30] kern/52817 threads top(1) shows garbage for threaded process 19 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/05/25] misc/18824 threads gethostbyname is not thread safe o [2000/10/21] misc/22190 threads A threaded read(2) from a socketpair(2) f o [2001/09/09] bin/30464 threads pthread mutex attributes -- pshared o [2002/05/02] bin/37676 threads libc_r: msgsnd(), msgrcv(), pread(), pwri o [2002/07/16] misc/40671 threads pthread_cancel doesn't remove thread from 5 problems total. From owner-freebsd-threads@FreeBSD.ORG Tue Nov 4 20:22:39 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF7AD16A4CE for ; Tue, 4 Nov 2003 20:22:39 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [66.31.45.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0A5343FE0 for ; Tue, 4 Nov 2003 20:22:38 -0800 (PST) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])hA54ONA5002849 for ; Tue, 4 Nov 2003 23:24:24 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)hA54ONAN002848 for freebsd-threads@freebsd.org; Tue, 4 Nov 2003 23:24:23 -0500 (EST) (envelope-from rodrigc) Date: Tue, 4 Nov 2003 23:24:23 -0500 From: Craig Rodrigues To: freebsd-threads@freebsd.org Message-ID: <20031105042423.GA1527@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Why -D_THREAD_SAFE? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 04:22:39 -0000 Hi, In /usr/ports/Mk/bsd.port.mk there is this: .if ${OSVERSION} < 500016 PTHREAD_CFLAGS= -D_THREAD_SAFE PTHREAD_LIBS= -pthread .else PTHREAD_CFLAGS= -D_THREAD_SAFE PTHREAD_LIBS= -lc_r .endif I understand that -pthread has been deprecated in gcc in -CURRENT. Why is -D_THREAD_SAFE needed? I can't find it in any header files under /usr/include . I am using -CURRENT. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org From owner-freebsd-threads@FreeBSD.ORG Wed Nov 5 03:50:24 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B01616A4CE for ; Wed, 5 Nov 2003 03:50:24 -0800 (PST) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C76243F93 for ; Wed, 5 Nov 2003 03:50:23 -0800 (PST) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 648913ABB35; Wed, 5 Nov 2003 12:49:00 +0100 (CET) Date: Wed, 5 Nov 2003 12:49:00 +0100 From: Pawel Jakub Dawidek To: freebsd-threads@freebsd.org Message-ID: <20031105114900.GT84474@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="hgy5D1otryeNPdmY" Content-Disposition: inline X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE-p9 i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i Subject: Two functions. X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 11:50:24 -0000 --hgy5D1otryeNPdmY Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello. Are there plans to implement pthread_mutexattr_setpshared() and pthread_condattr_setpshared() functions? --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --hgy5D1otryeNPdmY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBP6jjrD/PhmMH/Mf1AQFzLwP/ZmWblXm0DB8zUN9+Gfuf8ZKn9gvFc27M 0Skd+WLdTZveSu/Q8020dCmZWuklhee6+MbgoKmTklg+8h8aHK81OWYsGl0Obu+F oB3HixVOqFqBMRlbmwy9tFLqGru4ADqUCNVxOTDO6qes9iktlm0kD9Er21aXw486 63eTtxlaYMA= =lfgd -----END PGP SIGNATURE----- --hgy5D1otryeNPdmY-- From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 03:52:08 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6356716A4CE; Thu, 6 Nov 2003 03:52:08 -0800 (PST) Received: from frost.ath.cx (BSN-95-242-77.dsl.siol.net [193.95.242.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 951A643FE5; Thu, 6 Nov 2003 03:52:06 -0800 (PST) (envelope-from bfg@noviforum.si) Received: from noviforum.si (mordor.lucky.si [192.168.200.250]) by frost.ath.cx (ESMTP) with ESMTP id E53677B; Thu, 6 Nov 2003 12:52:01 +0100 (CET) Message-ID: <3FAA35E2.1090703@noviforum.si> Date: Thu, 06 Nov 2003 12:52:02 +0100 From: =?ISO-8859-1?Q?=22Branko_F=2E_Grac=28nar=22?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Silbersack References: <3F9F9884.3020309@noviforum.si> <20031030050540.GA25906@rot13.obsecurity.org> <20031103140413.GG18358@pixies.tirloni.org> <3FA667F4.7060003@noviforum.si> <20031103230152.F99573@odysseus.silby.com> <3FA95893.1060208@noviforum.si> <20031106005009.D1561@odysseus.silby.com> In-Reply-To: <20031106005009.D1561@odysseus.silby.com> X-Enigmail-Version: 0.81.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: freebsd-current@freebsd.org cc: "Giovanni P. Tirloni" cc: freebsd-threads@freebsd.org Subject: Re: FreeBSD 5.1-p10 reproducible crash with Apache2 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 11:52:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Silbersack wrote: | On Wed, 5 Nov 2003, [ISO-8859-1] "Branko F. Grac(nar" wrote: | | |>-----BEGIN PGP SIGNED MESSAGE----- |>Hash: SHA1 |> |>Mike Silbersack wrote: |> |>| Can you try updating to 5.1-current and see if the situation changes at |>| all? A lot has changed since 5.1-release. If it's still broken in |>| 5.1-current, we can take a look into it. |>| |>| Thanks, |> |>I tried today with yesterday's -CURRENT. Same symptoms. No kernel panic, |>just lockup. |> |>Brane | | | Ok, submit a PR with clear details on how to recreate the problem, and | we'll see if someone can take a look into it. I'm too busy to look at it, | but at least putting it in a PR will ensure that it doesn't get too lost. | Once the PR is filed, you might want to try asking on the freebsd-threads | list; it sounds like the issue might be thread-related. | | (Note that your original e-mail might contain enough detail, I'm not | certain; I just skimmed it. Filing a good PR is important either way, | mailing list messages get easily lost.) | Thanks. I already sent pr at 29.10.2003, which is identified by id 'kern/58677'. PR can be viewed at the following url address: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/58677 I think, that this really serious issue, concerning operating system stability. best regards, Brane -----BEGIN PGP SIGNATURE----- iD8DBQE/qjXifiC/E+t8hPcRAlUUAJ9PsqYXoh6lty2USRISPRyilOJIxwCcCyLr J//Y0OU7K0ODV4n99sMPfzE= =LByr -----END PGP SIGNATURE----- From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 04:28:53 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB51A16A4CE; Thu, 6 Nov 2003 04:28:53 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19BEA43FA3; Thu, 6 Nov 2003 04:28:53 -0800 (PST) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA6CSnFY023632; Thu, 6 Nov 2003 04:28:50 -0800 (PST) (envelope-from davidxu@freebsd.org) Message-ID: <3FAA411C.6050209@freebsd.org> Date: Thu, 06 Nov 2003 20:39:56 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031025 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Branko@FreeBSD.org, "F."@FreeBSD.org, Grac@FreeBSD.org References: <3F9F9884.3020309@noviforum.si> <20031030050540.GA25906@rot13.obsecurity.org> <20031103140413.GG18358@pixies.tirloni.org> <3FA667F4.7060003@noviforum.si> <20031103230152.F99573@odysseus.silby.com> <3FA95893.1060208@noviforum.si> <20031106005009.D1561@odysseus.silby.com> <3FAA35E2.1090703@noviforum.si> In-Reply-To: <3FAA35E2.1090703@noviforum.si> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: Mike Silbersack cc: freebsd-current@freebsd.org cc: "Giovanni P. Tirloni" cc: freebsd-threads@freebsd.org Subject: Re: FreeBSD 5.1-p10 reproducible crash with Apache2 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 12:28:54 -0000 Branko F. Grac(nar wrote: > > Thanks. I already sent pr at 29.10.2003, which is identified by id > 'kern/58677'. > > PR can be viewed at the following url address: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/58677 > > I think, that this really serious issue, concerning operating system > stability. > > best regards, Brane > > Please tell us your Apache configuration, are you using prefork or worker or perchild mode ? If you are using worker mode, which thread library are you using ? this would help us to narrow down problem scope. --- David Xu From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 05:30:09 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F81216A4CE; Thu, 6 Nov 2003 05:30:09 -0800 (PST) Received: from frost.ath.cx (BSN-95-242-77.dsl.siol.net [193.95.242.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id A984C4400B; Thu, 6 Nov 2003 05:30:05 -0800 (PST) (envelope-from bfg@noviforum.si) Received: from noviforum.si (mordor.lucky.si [192.168.200.250]) by frost.ath.cx (ESMTP) with ESMTP id 0EC7D7B; Thu, 6 Nov 2003 14:30:01 +0100 (CET) Message-ID: <3FAA4CDA.8030008@noviforum.si> Date: Thu, 06 Nov 2003 14:30:02 +0100 From: =?ISO-8859-1?Q?=22Branko_F=2E_Grac=28nar=22?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Xu References: <3F9F9884.3020309@noviforum.si> <20031030050540.GA25906@rot13.obsecurity.org> <20031103140413.GG18358@pixies.tirloni.org> <3FA667F4.7060003@noviforum.si> <20031103230152.F99573@odysseus.silby.com> <3FA95893.1060208@noviforum.si> <20031106005009.D1561@odysseus.silby.com> <3FAA35E2.1090703@noviforum.si> <3FAA411C.6050209@freebsd.org> In-Reply-To: <3FAA411C.6050209@freebsd.org> X-Enigmail-Version: 0.81.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: FreeBSD 5.1-p10 reproducible crash with Apache2 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 13:30:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | Please tell us your Apache configuration, are you using | prefork or worker or perchild mode ? | If you are using worker mode, which thread library are you | using ? this would help us to narrow down problem scope. | I'm using prefork mpm. worker mpm doesn't even work with under SSL (httpd accepts connection but never answers). Apache config (without non-relevant directives): ServerRoot "/export/software/freebsd/httpd" === snip === ~ ~ LockFile /var/run/httpd.accept.lock ~ ~ PidFile /var/run/httpd.pid Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 ~ StartServers 15 ~ MinSpareServers 10 ~ MaxSpareServers 15 ~ MaxClients 150 ~ MaxRequestsPerChild 0 Listen 0.0.0.0:80 LoadModule access_module modules/mod_access.so LoadModule deflate_module modules/mod_deflate.so LoadModule log_config_module modules/mod_log_config.so LoadModule env_module modules/mod_env.so LoadModule setenvif_module modules/mod_setenvif.so ~ LoadModule ssl_module modules/mod_ssl.so LoadModule mime_module modules/mod_mime.so LoadModule status_module modules/mod_status.so LoadModule cgi_module modules/mod_cgi.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule dir_module modules/mod_dir.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule include_module modules/mod_include.so LoadModule php4_module modules/libphp4.so ExtendedStatus Off ~ ~ User www ~ Group www ~ UseCanonicalName Off TypesConfig conf/mime.types DefaultType text/plain ~ MIMEMagicFile conf/magic HostnameLookups Off EnableMMAP On EnableSendfile On ServerTokens Full ServerSignature Off NameVirtualHost *:80 ~ ServerName mysite.org ~ DocumentRoot "/some/where" ~ Listen 443 ~ AddType application/x-x509-ca-cert .crt ~ AddType application/x-pkcs7-crl .crl ~ SSLPassPhraseDialog builtin # WARNING !!!! # THE FOLLOWING OPTIONS RESULT IN MACHINE LOCKUP # SSLMutex sem # SSLSessionCache shm:/some/file(1048576) ~ # # With these options everything is okay. ~ SSLMutex file:/var/run/httpd_ssl_mutex ~ SSLSessionCache dbm:/var/run/httpd_ssl_scache ~ SSLSessionCacheTimeout 300 ~ SSLRandomSeed startup builtin ~ SSLRandomSeed connect builtin ~ SSLCipherSuite HIGH ~ SSLCertificateFile /etc/ssl/server.crt ~ SSLCertificateKeyFile /etc/ssl/server.key ~ ~ SSLOptions +StdEnvVars ~ ~ SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 ~ NameVirtualHost *:443 ~ ~ ServerName mysite.org DocumentRoot "/some/where" ~ SSLEngine on ~ === snip === Best regards, Brane -----BEGIN PGP SIGNATURE----- iD8DBQE/qkzafiC/E+t8hPcRAlcaAJ45rx2MZiFJmkBh83rgTiLQ3b0VQACfSeEM GByh+n1DbliHKRnVEQEArZE= =eUeq -----END PGP SIGNATURE----- From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 06:05:31 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C967D16A4CE; Thu, 6 Nov 2003 06:05:31 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05F3343FE5; Thu, 6 Nov 2003 06:05:31 -0800 (PST) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA6E5TFY070979; Thu, 6 Nov 2003 06:05:29 -0800 (PST) (envelope-from davidxu@freebsd.org) Message-ID: <3FAA57C3.2020400@freebsd.org> Date: Thu, 06 Nov 2003 22:16:35 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031025 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Branko@FreeBSD.org, "F."@FreeBSD.org, Grac@FreeBSD.org References: <3F9F9884.3020309@noviforum.si> <20031030050540.GA25906@rot13.obsecurity.org> <20031103140413.GG18358@pixies.tirloni.org> <3FA667F4.7060003@noviforum.si> <20031103230152.F99573@odysseus.silby.com> <3FA95893.1060208@noviforum.si> <20031106005009.D1561@odysseus.silby.com> <3FAA35E2.1090703@noviforum.si> <3FAA411C.6050209@freebsd.org> <3FAA4CDA.8030008@noviforum.si> In-Reply-To: <3FAA4CDA.8030008@noviforum.si> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: FreeBSD 5.1-p10 reproducible crash with Apache2 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 14:05:31 -0000 Branko F. Grac(nar wrote: > I'm using prefork mpm. worker mpm doesn't even work with under SSL > (httpd accepts connection but never answers). > > Apache config (without non-relevant directives): > > ServerRoot "/export/software/freebsd/httpd" > Are you using SYSV Semaphore IPC ? On my machine, default mutex type for "sem" config will be SYSV. > > === snip === From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 07:16:41 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA11516A4CE for ; Thu, 6 Nov 2003 07:16:41 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEF8C43FAF for ; Thu, 6 Nov 2003 07:16:40 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id hA6FGe1G010769 for ; Thu, 6 Nov 2003 10:16:40 -0500 (EST) Date: Thu, 6 Nov 2003 10:16:40 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: threads@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Butenhof on Solaris 1:1 vs M:N X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 15:16:41 -0000 I found this interesting take by David Butenhof on Sun's choice of the 1:1 model over the M:N model: http://groups.google.com/groups?q=M+x+N+group:comp.programming.threads&hl=en&lr=&ie=UTF-8&oe=UTF-8&scoring=d&selm=3f1e86d9%40usenet01.boi.hp.com&rnum=3 "Yes, it is hard to get M:N working right, though there are real advantages. (System Software development is not generally dedicated to the principle of avoiding "hard" problems, after all.) But the history of Sun's trouble with M:N isn't nearly as much technical as political. Even when developers tried to address design problems, they weren't allowed. So, yes, giving up on M:N probably was the best course, for Sun. M:N isn't something that can be done halfway -- you either commit to the whole thing and follow through, or you're better off not trying. Unlike Solaris, the Tru64 UNIX M:N scheduling model was actually designed to work, and does. It (like all else) isn't perfect, but it scales, it supports detailed and effective debugging, and it's cleanly and deeply integrated with the kernel." -- Dan Eischen From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 12:30:26 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A4F916A4CE; Thu, 6 Nov 2003 12:30:26 -0800 (PST) Received: from frost.ath.cx (BSN-95-242-77.dsl.siol.net [193.95.242.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E8AB44005; Thu, 6 Nov 2003 12:30:24 -0800 (PST) (envelope-from bfg@noviforum.si) Received: from noviforum.si (mordor.lucky.si [192.168.200.250]) by frost.ath.cx (ESMTP) with ESMTP id 6F0DB11; Thu, 6 Nov 2003 21:30:22 +0100 (CET) Message-ID: <3FAAAF5B.4020307@noviforum.si> Date: Thu, 06 Nov 2003 21:30:19 +0100 From: =?ISO-8859-1?Q?=22Branko_F=2E_Grac=28nar=22?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Xu References: <3F9F9884.3020309@noviforum.si> <20031030050540.GA25906@rot13.obsecurity.org> <20031103140413.GG18358@pixies.tirloni.org> <3FA667F4.7060003@noviforum.si> <20031103230152.F99573@odysseus.silby.com> <3FA95893.1060208@noviforum.si> <20031106005009.D1561@odysseus.silby.com> <3FAA35E2.1090703@noviforum.si> <3FAA411C.6050209@freebsd.org> <3FAA4CDA.8030008@noviforum.si> <3FAA57C3.2020400@freebsd.org> In-Reply-To: <3FAA57C3.2020400@freebsd.org> X-Enigmail-Version: 0.81.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "F."@FreeBSD.org cc: Branko@FreeBSD.org cc: Grac@FreeBSD.org cc: freebsd-threads@freebsd.org Subject: Re: FreeBSD 5.1-p10 reproducible crash with Apache2 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 20:30:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Xu wrote: | Are you using SYSV Semaphore IPC ? | On my machine, default mutex type for "sem" config will | be SYSV. I don't know how to figure this out. Brane -----BEGIN PGP SIGNATURE----- iD8DBQE/qq9bfiC/E+t8hPcRAiA8AJ46pZqWCF4MadyU69fj2Z3S1XA+twCgjjnx R1OS1fVP53c7N1mM2nDOdEM= =AJ1y -----END PGP SIGNATURE----- From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 14:58:58 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93EE316A4CF; Thu, 6 Nov 2003 14:58:58 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 008FA43FB1; Thu, 6 Nov 2003 14:58:57 -0800 (PST) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA6MwsFY036014; Thu, 6 Nov 2003 14:58:55 -0800 (PST) (envelope-from davidxu@freebsd.org) Message-ID: <3FAAD4C9.5070704@freebsd.org> Date: Fri, 07 Nov 2003 07:10:01 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031025 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Branko@FreeBSD.org, "F."@FreeBSD.org, Grac@FreeBSD.org References: <3F9F9884.3020309@noviforum.si> <20031030050540.GA25906@rot13.obsecurity.org> <20031103140413.GG18358@pixies.tirloni.org> <3FA667F4.7060003@noviforum.si> <20031103230152.F99573@odysseus.silby.com> <3FA95893.1060208@noviforum.si> <20031106005009.D1561@odysseus.silby.com> <3FAA35E2.1090703@noviforum.si> <3FAA411C.6050209@freebsd.org> <3FAA4CDA.8030008@noviforum.si> <3FAA57C3.2020400@freebsd.org> <3FAAAF5B.4020307@noviforum.si> In-Reply-To: <3FAAAF5B.4020307@noviforum.si> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "F."@freebsd.org cc: Branko@freebsd.org cc: Grac@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: FreeBSD 5.1-p10 reproducible crash with Apache2 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 22:58:58 -0000 Branko F. Grac(nar wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > David Xu wrote: > > | Are you using SYSV Semaphore IPC ? > | On my machine, default mutex type for "sem" config will > | be SYSV. > > I don't know how to figure this out. > > Brane > > In its srclib/apr/include/apr.h, I have following lines: #define APR_HAS_FLOCK_SERIALIZE 1 #define APR_HAS_SYSVSEM_SERIALIZE 1 #define APR_HAS_POSIXSEM_SERIALIZE 0 #define APR_HAS_FCNTL_SERIALIZE 1 #define APR_HAS_PROC_PTHREAD_SERIALIZE 0 #define APR_HAS_RWLOCK_SERIALIZE 0 So if I config it to use sem, it must use SYSVSEM. From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 19:04:26 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84EF716A4CE for ; Thu, 6 Nov 2003 19:04:26 -0800 (PST) Received: from net1.gendyn.com (204.60.171.22.ded.snet.net [204.60.171.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 613B743FBF for ; Thu, 6 Nov 2003 19:04:25 -0800 (PST) (envelope-from deischen@freebsd.org) Received: from plunger.gdeb.com ([153.11.11.3] helo=ebnext01) by net1.gendyn.com with esmtp (Exim 2.12 #1) id 1AHwuw-000FvX-00 for threads@freebsd.org; Thu, 6 Nov 2003 22:04:10 -0500 Received: from clcrtr.gdeb.com ([153.11.109.11]) by ebnext01 with SMTP id hA7349M2021774; Thu, 6 Nov 2003 22:04:09 -0500 Received: from freebsd.org (gpz.clc.gdeb.com [192.168.3.12]) by clcrtr.gdeb.com (8.11.4/8.11.4) with ESMTP id hA7352h82479; Thu, 6 Nov 2003 22:05:03 -0500 (EST) (envelope-from deischen@freebsd.org) Message-ID: <3FAB0B57.6050001@freebsd.org> Date: Thu, 06 Nov 2003 22:02:47 -0500 From: Dan Eischen User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Craig Rodrigues References: <20031105042423.GA1527@crodrigues.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: threads@freebsd.org Subject: Re: Why -D_THREAD_SAFE? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 03:04:26 -0000 Craig Rodrigues wrote: > Hi, > > In /usr/ports/Mk/bsd.port.mk there is this: > > .if ${OSVERSION} < 500016 > PTHREAD_CFLAGS= -D_THREAD_SAFE > PTHREAD_LIBS= -pthread > .else > PTHREAD_CFLAGS= -D_THREAD_SAFE > PTHREAD_LIBS= -lc_r > .endif > > > I understand that -pthread has been deprecated > in gcc in -CURRENT. Why is -D_THREAD_SAFE > needed? It's not needed, but it isn't hurting anything either. The ports team should probably remove it. -- Dan Eischen From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 19:13:11 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26D0216A4CE for ; Thu, 6 Nov 2003 19:13:11 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A7F643F85 for ; Thu, 6 Nov 2003 19:13:10 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id hA73D61G021765; Thu, 6 Nov 2003 22:13:09 -0500 (EST) Date: Thu, 6 Nov 2003 22:13:06 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Pawel Jakub Dawidek In-Reply-To: <20031105114900.GT84474@garage.freebsd.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: Two functions. X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 03:13:11 -0000 On Wed, 5 Nov 2003, Pawel Jakub Dawidek wrote: > Hello. > > Are there plans to implement pthread_mutexattr_setpshared() and > pthread_condattr_setpshared() functions? Those require changes to our synchronization types (pthread_mutex_t, pthread_cond_t, etc) and would require a library version bump (libc & libpthread). I've got those earmarked for FreeBSD-6. -- Dan Eischen From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 22:52:17 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06FCD16A4CE for ; Thu, 6 Nov 2003 22:52:17 -0800 (PST) Received: from s122043.ap.plala.or.jp (s122043.ap.plala.or.jp [220.109.122.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 598C743FDD for ; Thu, 6 Nov 2003 22:52:16 -0800 (PST) (envelope-from sf@FreeBSD.org) Date: Fri, 07 Nov 2003 15:52:15 +0900 Message-ID: <86u15goelc.wl@gray.plala.or.jp> From: FUJISHIMA Satsuki To: threads@freebsd.org In-Reply-To: <3FAB0B57.6050001@freebsd.org> References: <20031105042423.GA1527@crodrigues.org> <3FAB0B57.6050001@freebsd.org> Mail-Followup-To: Dan Eischen , Craig Rodrigues , threads@freebsd.org User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Subject: Re: Why -D_THREAD_SAFE? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 06:52:17 -0000 At Thu, 06 Nov 2003 22:02:47 -0500, Dan Eischen wrote: > It's not needed, but it isn't hurting anything either. > The ports team should probably remove it. It has been added by ache with your request(as he wrote). http://docs.freebsd.org/cgi/getmsg.cgi?fetch=58870+0+archive/2002/cvs-all/20020303.cvs-all http://docs.freebsd.org/cgi/getmsg.cgi?fetch=576696+0+archive/2002/freebsd-ports/20020217.freebsd-ports I believe we can remove it now again. :-) From owner-freebsd-threads@FreeBSD.ORG Fri Nov 7 00:39:21 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3E0016A4CE; Fri, 7 Nov 2003 00:39:21 -0800 (PST) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2A7643FFD; Fri, 7 Nov 2003 00:39:20 -0800 (PST) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 119A13ABB2D; Fri, 7 Nov 2003 09:38:09 +0100 (CET) Date: Fri, 7 Nov 2003 09:38:09 +0100 From: Pawel Jakub Dawidek To: deischen@freebsd.org Message-ID: <20031107083808.GA84474@garage.freebsd.pl> References: <20031105114900.GT84474@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="o8DTQsiwS+K7TY1f" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE-p9 i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: freebsd-threads@freebsd.org Subject: Re: Two functions. X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 08:39:21 -0000 --o8DTQsiwS+K7TY1f Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 06, 2003 at 10:13:06PM -0500, Daniel Eischen wrote: +> > Are there plans to implement pthread_mutexattr_setpshared() and +> > pthread_condattr_setpshared() functions? +>=20 +> Those require changes to our synchronization types +> (pthread_mutex_t, pthread_cond_t, etc) and would require +> a library version bump (libc & libpthread). I've got +> those earmarked for FreeBSD-6. Do you have some patches already? --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --o8DTQsiwS+K7TY1f Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBP6tZ8D/PhmMH/Mf1AQEitwQApm+8HVs2dVxsXb7719lTP6qs6v3BxCcq mPqMQhQxwkarPkfrT0AnYCDJNE+/K5wpL5z9RRYoed5EsSV+ffsM6d0qUEU+cY7U YXBe9eDDtyNDG07A1USoVABjJyUeOeOkYdmxPubYM3N4RHYnYsNFaEkfRlXWW1F0 UW4Iy0e3j7s= =3UO9 -----END PGP SIGNATURE----- --o8DTQsiwS+K7TY1f-- From owner-freebsd-threads@FreeBSD.ORG Fri Nov 7 06:46:47 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA06A16A4CE for ; Fri, 7 Nov 2003 06:46:47 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB72D43FCB for ; Fri, 7 Nov 2003 06:46:46 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id hA7Ekj1G018684; Fri, 7 Nov 2003 09:46:46 -0500 (EST) Date: Fri, 7 Nov 2003 09:46:45 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Pawel Jakub Dawidek In-Reply-To: <20031107083808.GA84474@garage.freebsd.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: Two functions. X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 14:46:47 -0000 On Fri, 7 Nov 2003, Pawel Jakub Dawidek wrote: > On Thu, Nov 06, 2003 at 10:13:06PM -0500, Daniel Eischen wrote: > +> > Are there plans to implement pthread_mutexattr_setpshared() and > +> > pthread_condattr_setpshared() functions? > +> > +> Those require changes to our synchronization types > +> (pthread_mutex_t, pthread_cond_t, etc) and would require > +> a library version bump (libc & libpthread). I've got > +> those earmarked for FreeBSD-6. > > Do you have some patches already? No, I haven't. -- Dan Eischen From owner-freebsd-threads@FreeBSD.ORG Sat Nov 8 01:20:06 2003 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B675A16A4CE for ; Sat, 8 Nov 2003 01:20:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CE7D43F93 for ; Sat, 8 Nov 2003 01:20:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA89K3FY014018 for ; Sat, 8 Nov 2003 01:20:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hA89K3Pn014017; Sat, 8 Nov 2003 01:20:03 -0800 (PST) (envelope-from gnats) Date: Sat, 8 Nov 2003 01:20:03 -0800 (PST) Message-Id: <200311080920.hA89K3Pn014017@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: Andrew Belashov Subject: Re: bin/32295: pthread dont dequeue signals X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew Belashov List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 09:20:06 -0000 The following reply was made to PR bin/32295; it has been noted by GNATS. From: Andrew Belashov To: bel@orel.ru, freebsd-gnats-submit@FreeBSD.org, lwa@teaser.fr Cc: Subject: Re: bin/32295: pthread dont dequeue signals Date: Sat, 8 Nov 2003 12:17:02 +0300 Hi! I have a small patch for resolving this problem. Patch tested on heavy load MySQL server 4.0.16. ------------------------------------------------------ --- src/lib/libc_r/uthread/uthread_sig.c.orig Wed Mar 5 07:28:08 2003 +++ src/lib/libc_r/uthread/uthread_sig.c Thu Nov 6 17:16:13 2003 @@ -160,8 +160,10 @@ _thread_sigq[sig - 1].signo = sig; _sigq_check_reqd = 1; } - else + else { DBG_MSG("Got signal %d, ignored.\n", sig); + _sigq_check_reqd = 1; + } } /* * The signal handlers should have been installed so that they ------------------------------------------------------ With best regards, Andrew Belashov. From owner-freebsd-threads@FreeBSD.ORG Sat Nov 8 08:50:13 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF59B16A4CE for ; Sat, 8 Nov 2003 08:50:13 -0800 (PST) Received: from web13402.mail.yahoo.com (web13402.mail.yahoo.com [216.136.175.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 369A143F85 for ; Sat, 8 Nov 2003 08:50:13 -0800 (PST) (envelope-from giffunip@yahoo.com) Message-ID: <20031108165012.19170.qmail@web13402.mail.yahoo.com> Received: from [63.171.232.170] by web13402.mail.yahoo.com via HTTP; Sat, 08 Nov 2003 08:50:12 PST Date: Sat, 8 Nov 2003 08:50:12 -0800 (PST) From: "Pedro F. Giffuni" To: freebsd-threads@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Scheduler Activations on Linux X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: giffunip@asme.org List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 16:50:13 -0000 Hi; I was navigating and I found that some Linux guys discovered that they want (but haven't yet implemented) Scheduler Activations: http://people.redhat.com/drepper/glibcthreads.html It's nice to see that thanks to heroic efforts of the KSE guys we are so far ahead! It might be interesting to run the posix test suite with our current threads: http://posixtest.sourceforge.net/ Congratulations again to the select group of brilliant hackers involved in KSE! Pedro. __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree From owner-freebsd-threads@FreeBSD.ORG Sat Nov 8 13:20:05 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8392A16A4CE for ; Sat, 8 Nov 2003 13:20:05 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id D878D43FFB for ; Sat, 8 Nov 2003 13:20:04 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id C0EF42A8FF for ; Sat, 8 Nov 2003 13:20:04 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: threads@freebsd.org Date: Sat, 08 Nov 2003 13:20:04 -0800 From: Peter Wemm Message-Id: <20031108212004.C0EF42A8FF@canning.wemm.org> Subject: FYI, kse on amd64. X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 21:20:05 -0000 I thought I'd better give it a try. I've been running kde3's konquorer with libkse for a few hours now and its working nicely. JFYI. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 From owner-freebsd-threads@FreeBSD.ORG Sat Nov 8 15:33:12 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4478116A4CE for ; Sat, 8 Nov 2003 15:33:12 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 386EC43FD7 for ; Sat, 8 Nov 2003 15:33:11 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id hA8NX91G002941; Sat, 8 Nov 2003 18:33:10 -0500 (EST) Date: Sat, 8 Nov 2003 18:33:09 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Peter Wemm In-Reply-To: <20031108212004.C0EF42A8FF@canning.wemm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org Subject: Re: FYI, kse on amd64. X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 23:33:12 -0000 On Sat, 8 Nov 2003, Peter Wemm wrote: > I thought I'd better give it a try. I've been running kde3's konquorer > with libkse for a few hours now and its working nicely. JFYI. Excellent. When you get a chance, it'd be nice see if mozilla fares as well. -- Dan Eischen