> So if you're not seeing CPUs getting used, try recompiling erlang and > turning on smp support, etc. Oh, 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:[email protected] > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > -- ---------------- Best regards Elf mailto:[email protected]
