couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor Mac Aoidh <conormacao...@gmail.com>
Subject View Hanging
Date Tue, 10 Feb 2015 16:00:09 GMT
Hi All,

Been experiencing a strange issue where a couchdb view hangs repeatedly 
and does not stop hanging until the couch service is restarted. It seems 
to be happening on all databases (with the same view/design function) 
simultaneously, ie. once its triggered, it happens everywhere where that 
design doc is used.

Stranger still, in some of the databases that are hanging, there are 
only 1 or 2 documents to index, so it does not appear to be a load 
issue. I have debug mode enabled and all I get in the logs for each 
request is:
/
//[Tue, 10 Feb 2015 15:33:41 GMT] [debug] [<0.1620.0>] 'GET' 
/ie_conormacaoidh_gmail_com/_design/proj//ects/_view/projects/all {1,//
//1} from//
// "193.1.208.99"//
//Headers: [{'Accept',"*/*"},//
//          {'Authorization',"Basic YWRtaW46UVlIOHdFcGZLQXZzUFBu"},//
//          {'Host',"mysite.com:5984"},//
//          {'User-Agent',"curl/7.32.0"}]//
//[Tue, 10 Feb 2015 15:33:41 GMT] [debug] [<0.1620.0>] OAuth Params: []/


And the view function:
/
//function (doc) {//
//           if(doc.type === 'project' && doc.status !== 'deleted') {//
//                emit(doc.created, doc);//
//           }//
//}/

Anyone have any ideas what is causing this or how to debug it further?

P.S. I'm using couchdb 1.6.1

Thanks

Conor

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