couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Merrells <j...@merrells.com>
Subject Re: write to compacting database
Date Tue, 18 May 2010 06:14:32 GMT

On May 16, 2010, at 4:37 PM, Randall Leeds wrote:

> On Sun, May 16, 2010 at 14:44, John Merrells <john@merrells.com> wrote:
>> In the couch log I see patches where it's returning 500 for PUTs and GETs... e.g.
> 
> ...snip...
> 
>> But there's nothing there to suggest why it's happening. The same documents will
work fine later when the client retries.
> 
> You could try debug logging.

With debugging on... 

[Tue, 18 May 2010 06:08:53 GMT] [debug] [<0.12523.115>] httpd 500 error response:
 {"error":"timeout","reason":"{gen_server,call,[<0.13110.110>,{open_ref_count,<0.12523.115>}]}"}


[Tue, 18 May 2010 06:08:53 GMT] [debug] [<0.12575.115>] httpd 500 error response:
 {"error":"timeout","reason":"{gen_server,call,\n    [couch_server,\n     {open,<<\"articles-2\">>,\n
        [{user_ctx,\n              {user_ctx,<<\"admin\">>,\n                
 [<<\"_admin\">>],\n                  <<\"{couch_httpd_auth, default_authentication_handler}\">>}}]}]}"}

...so it's timing out.

> 
>> My only other theory is that I have more open databases than the configuration allows
for.
> 
> Seems possible.
> 
>> 
>> max_dbs_open = 100
>> 
>> and I have ~130 databases. Could that explain it?
> 
> Easy way to test :)

Yeah, I'll bump it up and see if the badness goes away.

John

-- 
John Merrells
http://johnmerrells.com
+1.415.244.5808







Mime
View raw message