Do you see anything in /_active_tasks?

> On 21 Jul 2015, at 12:37, Kiril Stankov <[email protected]> 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.
> ------------------------------------------------------------------------
> *With best regards,*
> Kiril Stankov,
> CEO
> 
> 
>           This Email disclaimer
>           <http://open-net.biz/emailsignature.html> is integral part
>           of this message.
> 
> On 21-Jul-15 12:49 PM, Jan Lehnardt wrote:
>> Do you see anything in /_active_tasks while the CPU is up?
>> 
>> Best
>> Jan
>> --
>> 
>>> On 21 Jul 2015, at 10:36, Kiril Stankov <[email protected]> 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 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 minutes or so.
>>> 
>>> Here is a screenshot from htop:
>>> http://pho.to/9aTTK
>>> 
>>> Any ideas how can I understand what goes on?
>>> ------------------------------------------------------------------------
>>> *With best regards,*
>>> Kiril Stankov,
>>> CEO
>>> 
>>> 
>>>           This Email disclaimer
>>>           <http://open-net.biz/emailsignature.html> is integral part
>>>           of this message.
>>> 
>>> On 08-Jul-15 12:35 AM, Kiril Stankov wrote:
>>>> Hi,
>>>> 
>>>> sorry, I saw the couchdb user, mistaking it for a process. Actually what 
>>>> takes most of the cpu is beam.smp.
>>>> Yes, I do have some reduce functions, 90% of them are simply _count.
>>>> On the Futon status screen I see only replication jobs, which are 100% 
>>>> completed.
>>>> There is nothing special in the couch.log, either.
>>>> Database sizes are very small, few Mb.
>>>> Now, it's midnight here, there is no activity whatsoever in the 
>>>> application and beam.smp swings between 3 and 15% cpu.
>>>> For the last 10 hours it has 8+ hours TIME in 'top'.
>>>> Host is latest Ubuntu, Couch version is 1.6.1.
>>>> 
>>>> On 07-Jul-15 10:08 PM, Adam Kocoloski wrote:
>>>>> Hi Kiril, no it’s not normal. Did you mean `couchjs` when you said 
>>>>> `couchdb`? If so it’s likely related to indexing. Do your views have 
>>>>> custom reduce functions? A poorly-behaved custom reduce function (e.g. 
>>>>> one that doesn’t really “reduce” its output) could yield very slow 
>>>>> indexing. Does the dashboard indicate any indexing jobs ongoing?
>>>>> 
>>>>> Adam
>>>>> 
>>>>>> On Jul 7, 2015, at 1:42 PM, Kiril Stankov <[email protected]> wrote:
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I've loaded 15K docs to a single DB, with 7 views, which do not emit 
>>>>>> docs (just id's).
>>>>>> Since then (4 hours now) the CPU is constantly high (~15-20%) with most 
>>>>>> of it divided between couchdb and beam.smp.
>>>>>> In addition couch became significantly slower than before (when there 
>>>>>> were ~ 3K docs).
>>>>>> Is that normal? Can it be related to indexing? How long can it take?
>>>>>> 
>>>>>> Thanks in advance.
>>>>>> 
>>>>>> Kiril.
>>>>>> 
> 

-- 
Professional Support for Apache CouchDB:
http://www.neighbourhood.ie/couchdb-support/

Reply via email to