From owner-freebsd-stable@FreeBSD.ORG Mon Jun 13 16:06:12 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36A3C16A41C for ; Mon, 13 Jun 2005 16:06:12 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E163A43D49 for ; Mon, 13 Jun 2005 16:06:11 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.4/8.13.4/NETPLEX) with ESMTP id j5DG6AIM002195; Mon, 13 Jun 2005 12:06:10 -0400 (EDT) Date: Mon, 13 Jun 2005 12:06:10 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Pete French In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD MySQL still WAY slower than Linux X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 16:06:12 -0000 On Mon, 13 Jun 2005, Pete French wrote: > > Reread the above for the answer to your last question. > > Sorry, rephrased - 'How can I set that environment variable for all processes?' login.conf perhaps? > I'm kind of embarassed to have to ask, as this should surely be very simple, > but I cant think of anywhere to set system-wide environment variables which > all processes will have. I've only ever done this in shell profiles before > and I cant think of anywhere global to set something like this. I tried > 'man environ' and similar but it doesnt help The answer to your question was in parenthesis (rebuild libpthread with SYSTEM_SCOPE_ONLY defined). -- DE