From user-return-4789-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sat May 09 18:52:18 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 45549 invoked from network); 9 May 2009 18:52:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 May 2009 18:52:18 -0000 Received: (qmail 23137 invoked by uid 500); 9 May 2009 18:52:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 23044 invoked by uid 500); 9 May 2009 18:52:17 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 23034 invoked by uid 99); 9 May 2009 18:52:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 May 2009 18:52:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elf2001@gmail.com designates 209.85.220.163 as permitted sender) Received: from [209.85.220.163] (HELO mail-fx0-f163.google.com) (209.85.220.163) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 May 2009 18:52:09 +0000 Received: by fxm7 with SMTP id 7so2327393fxm.11 for ; Sat, 09 May 2009 11:51:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rxicsjOJNoN+NVx1qNnEPZ78tZyUUpNzKGqUvvCFNXY=; b=sPiuiDXIKPVpcX8TmmsD+drbW5cXR58Uc+DsYkBsrMRVmco+MGxRMdGguoeMHkXTWy 36ne+vsKcWvn1Rk0m9f4cJ635mlf572egEbIXOwYcyuTqpgbIsGKwM7/fW6y45sBU5hH pG3bImvb0MhLaU5rJrWRduxABgI2D8aBR3VrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=PvmPC8M7b2lBSe88z7IUJYTNApIagObFV18ff3i2H9TEJnNbqLXfDbVMWX0fQ8S2m9 SRHm3OWmMVF4bhCShQP9Q4OJBSYicoco8OEIW9fwKIa1xtOjfOeZ1kgNOlXTQikKjU2b 1IJrHkEf8+d4QgnyjXVUxKl/t5JoFozm5q97g= MIME-Version: 1.0 Received: by 10.86.49.13 with SMTP id w13mr4864561fgw.38.1241895107793; Sat, 09 May 2009 11:51:47 -0700 (PDT) In-Reply-To: <20090508174718.GC2466@translab.its.uci.edu> References: <4a29064f0905040450j13b9ffedq505d0fc3e7ac1e5c@mail.gmail.com> <20090508174718.GC2466@translab.its.uci.edu> Date: Sat, 9 May 2009 21:51:47 +0300 Message-ID: <4a29064f0905091151n1200e39ehe639a83b882861af@mail.gmail.com> Subject: Re: couchdb on smp? From: Elf To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > So if you're not seeing CPUs getting used, try recompiling erlang and > turning on smp support, etc. =A0Oh, and I also had to recompile CouchDB > after upgrading erlang with smp kpoll and sctp. Oh sh*t, i have all of theese flags off... Thank, I'll try that. > > Cheers > James Marca > > On Mon, May 04, 2009 at 02:50:26PM +0300, Elf wrote: >> Hello. >> I'm using couchdb-0.9 (erlang 13.2) on my linux server with 4 CPUs >> (Core 2 Quad). >> Every time couchdb needs to reindex views, i see 2 serious processes >> in htop - beam and couchjs. Each of them eats < 100% of 1 cpu, and sum >> of their usage is about (but not greater) 100% of 1 cpu (80/20, 70/30 >> and so on). >> Can somebody explain, why that 2 different processes (they have >> differend PIDs) doesn't used different cpus - (one process for cpu)? >> >> >> -- >> ---------------- >> Best regards >> Elf >> mailto:elf2001@gmail.com > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > --=20 ---------------- Best regards Elf mailto:elf2001@gmail.com