incubator-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 Sun, 16 May 2010 21:44:40 GMT

On May 15, 2010, at 5:30 PM, Randall Leeds wrote:

> On Sat, May 15, 2010 at 16:27, John Merrells <john@merrells.com> wrote:
>> Hmm.... I get 500's back quite often... only ever from put's... was wondering if
that was it. Must be something else. Are there any common cases where a 500 comes back?
> 
> Not off the top of my head.
> If you can find any relevant log lines or documents that reproduce the
> problem you should start a thread about it or maybe ask around in
> #couchdb on freenode and people might have ideas.

In the couch log I see patches where it's returning 500 for PUTs and GETs... e.g.

[Sun, 25 Apr 2010 19:20:59 GMT] [info] [<0.29954.5>] 192.168.130.122 - - 'PUT' /images/http%3a%2f%2fexternal.ak.fbcdn.net%2fsa
fe_image.php%3fd%3de9dfe1296dd93b9677bb6ce281aaf500%26w%3d130%26h%3d130%26url%3dhttp%253A%252F%252Fcdn.picapp.com%252Fftp%252FImages%252F9%252F0%252F3%252F0%252FSOCCER_2010_0af0.jpg%253FadImageId%253D12422580%2526imageId%253D7985100
409
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29961.5>] 192.168.130.122 - - 'GET' /pages-27/http%3a%2f%2fnats320.blogspot.com%2ffeeds%2fposts%2fdefault
500
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29973.5>] 192.168.130.122 - - 'GET' /pages-45/http%3a%2f%2ffeeds2.feedburner.com%2fmadridgalacticos
500
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29935.5>] 192.168.130.122 - - 'PUT' /pages-52/http%3a%2f%2fmlb-vids.com%2ffeed
500
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29938.5>] 192.168.130.122 - - 'GET' /pages-46/http%3a%2f%2fpoeticfootball.blogspot.com%2ffeeds%2fposts%2fdefault
500
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29943.5>] 192.168.130.122 - - 'PUT' /pages-8/http%3a%2f%2fwww.soccerjones.com%2f%3ffeed%3drss2
500
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29932.5>] 192.168.130.122 - - 'GET' /pages-17/http%3a%2f%2fnineguysshort.blogspot.c
om%2ffeeds%2fposts%2fdefault 500
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29986.5>] 192.168.130.122 - - 'PUT' /pages-36/http%3a%2f%2foutonpenalties.blogspot.com%2ffeeds%2fposts%2fdefault/page?rev=963-b9053ca84ca6af969f531bd4a90a0608
500
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29985.5>] 192.168.130.122 - - 'PUT' /pages-61/http%3a%2f%2flyon.theoffside.com%2ffeed
500
[Sun, 25 Apr 2010 19:21:00 GMT] [info] [<0.29958.5>] 192.168.130.122 - - 'PUT' /pages-31/http%3a%2f%2fsoccerfansintheusa.blogspot.com%2ffeeds%2fposts%2fdefault/page?rev=861-974ee7587021a145626d68e538f6cbd7
500
[Sun, 25 Apr 2010 19:21:06 GMT] [info] [<0.30213.5>] 192.168.130.122 - - 'PUT' /pages-31/http%3a%2f%2frevolution.theoffside.com%2ffeed/page?rev=950-f511675e78e2d806c49f9773439f56f7
500
[Sun, 25 Apr 2010 19:21:06 GMT] [info] [<0.30141.5>] 192.168.130.122 - - 'PUT' /pages-34/http%3a%2f%2fwww.pinstripealley.com%2frss%2ffanposts
500
[Sun, 25 Apr 2010 19:21:06 GMT] [info] [<0.30141.5>] 192.168.130.122 - - 'PUT' /pages-34/http%3a%2f%2fwww.pinstripealley.com%2frss%2ffanposts
500
[Sun, 25 Apr 2010 19:21:06 GMT] [info] [<0.29948.5>] 192.168.130.122 - - 'PUT' /pages-44/http%3a%2f%2ffeeds.feedburner.com%2fSoccerblogger
500
[Sun, 25 Apr 2010 19:21:06 GMT] [info] [<0.30148.5>] 192.168.130.122 - - 'PUT' /images/http%3a%2f%2fexternal.ak.fbcdn.net%2fsafe_image.php%3fd%3d53c0fea305b8e711032701da46c02591%26w%3d130%26h%3d130%26url%3dhttp%253A%252F%252Fcdn.picapp.com%252Fftp%252FImages%252Fe%252F1%252Fe%252Fa%252FBarcelona_vs_Arsenal_eaf7.jpg%253FadImageId%253D12407869%2526imageId%253D8445390
500
[Sun, 25 Apr 2010 19:21:06 GMT] [info] [<0.29961.5>] 192.168.130.122 - - 'PUT' /pages-45/http%3a%2f%2fdodgers.gearupforsports.com%2fblog%2ffeed%2f/page?rev=654-d7d4432f117d3fbad2dea35859e999dc
500
[Sun, 25 Apr 2010 19:21:06 GMT] [info] [<0.29930.5>] 192.168.130.122 - - 'PUT' /pages-3/http%3a%2f%2fwww.mlsenespanol.net%2ffeeds%2fposts%2fdefault
500
[Sun, 25 Apr 2010 19:21:06 GMT] [info] [<0.29944.5>] 192.168.130.122 - - 'PUT' /pages-62/http%3a%2f%2fhastaelgolsiempre.com%2ffeed%2f
500
[Sun, 25 Apr 2010 19:21:07 GMT] [info] [<0.29932.5>] 192.168.130.122 - - 'PUT' /pages-17/http%3a%2f%2ffeeds.feedburner.com%2fworldcupcorner
500
[Sun, 25 Apr 2010 19:34:39 GMT] [info] [<0.30222.5>] 192.168.130.122 - - 'GET' /images/http%3a%2f%2fhits.guardian.co.uk%2fb%2fss%2fguardiangufeeds%2f1%2fH.20.3%2f66657%3fAQB%3d1%26pccr%3dtrue%26vidn%3d25E327C185010EA9-40000101A00007D9%26g%3dnone%26ns%3dguardian%26pageName%3dSouth%2bAfrica%2bracing%2bto%2bsell%2b500%252C000%2bWorld%2bCup%2btickets%253AArticle%253A1385557%26ch%3dFootball%26c3%3dGuardian%26c4%3dWorld%2b
200

But there's nothing there to suggest why it's happening. The same documents will work fine
later when the client retries. 

My only other theory is that I have more open databases than the configuration allows for.

max_dbs_open = 100

and I have ~130 databases. Could that explain it?

John 


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







Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message