Re: High CPU after loading 15K documents

2015-07-21 Thread Alexander Shorin
Hi Kiril, It's hard to say for sure, but worth to take a step into Erlang land and do the following actions: 1. Enable Erlang node by adding -name couchdb -cookie monster to ERL_START_OPTIONS in /usr/bin/couchdb like: ERL_START_OPTIONS=$ERL_OS_MON_OPTIONS -sasl errlog_type error +K true +A 4

Re: High CPU after loading 15K documents

2015-07-21 Thread Kiril Stankov
It is constantly high, not some peak moments. I am monitoring htop with interval 1 sec and the CPU is above 12-15% with most of this taken by erlang. *With best regards,* Kiril Stankov, CEO This Email

Re: High CPU after loading 15K documents

2015-07-21 Thread Alexander Shorin
On Tue, Jul 21, 2015 at 1:36 PM, Alexander Shorin kxe...@gmail.com wrote: 1. Enable Erlang node by adding -name couchdb@localhost -setcookie monster to ERL_START_OPTIONS in /usr/bin/couchdb like: ERL_START_OPTIONS=$ERL_OS_MON_OPTIONS -sasl errlog_type error +K true +A 4 -name

Re: High CPU after loading 15K documents

2015-07-21 Thread Jan Lehnardt
Do you see anything in /_active_tasks? On 21 Jul 2015, at 12:37, Kiril Stankov ki...@open-net.biz wrote: It is constantly high, not some peak moments. I am monitoring htop with interval 1 sec and the CPU is above 12-15% with most of this taken by erlang.

Re: High CPU after loading 15K documents

2015-07-21 Thread Jan Lehnardt
Do you see anything in /_active_tasks while the CPU is up? Best Jan -- On 21 Jul 2015, at 10:36, Kiril Stankov ki...@open-net.biz wrote: Hi, I am monitoring CouchDB all the time and the CPU keeps around 10-12% all the time from the erlang processes. I do not think this is normal. A

Re: High CPU after loading 15K documents

2015-07-21 Thread Kiril Stankov
Hi, I am monitoring CouchDB all the time and the CPU keeps around 10-12% all the time from the erlang processes. I do not think this is normal. A new document is added to the DB each 5-6 minutes, but what takes CPU time when the DB is idle? There are very few read requests, may be 1 each 1-2