incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "william kinney" <william.kin...@gmail.com>
Subject view access keeps timing out
Date Thu, 11 Sep 2008 02:25:30 GMT
Hi,

I recently inserted a lot of new documents (10,000) into a database, and
accessing the view (which previously worked and was fine) keeps timing out:
# time curl <view http url>
curl: (52) Empty reply from server

real    79m35.706s
user    0m0.007s
sys     0m0.028s

I couldn't find any details in the logs, however it's only set at info.
would setting it to debug be any help? Has anyone else had any issues w/
accessing a view after inserting a lot of new documents?
the view map function:
function(doc) {
  if (doc.newsResultUrl == null) {
    emit(doc._id, doc);
  } else {
    emit(doc.newsResultUrl, doc);
  }
}

reduce function:
function(keys, values) {
 return values;
}

accessing all documents isn't a problem.

version 0.8.1, server is 2.6.22.14-72.fc6 SMP, Intel(R) Xeon(R) CPU X3210  @
2.13GHz x 2

Thanks for the help,
Will

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