[ https://issues.apache.org/jira/browse/COUCHDB-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594729#action_12594729
]
Robert Wojciechowski commented on COUCHDB-46:
---------------------------------------------
Is this with a custom view server or with couchjs?
I ask because I had a similar problem with a PHP view server based off Jan's original work
that was causing the same exact problem, a hang on the first load of a view but each subsequent
load working just fine. It had to do with a readline() clone I put in due to it not existing
in my PHP install.
I haven't seen this problem since then and never with the standard couchjs view server, though.
> Time out after saving a design document in Futon
> ------------------------------------------------
>
> Key: COUCHDB-46
> URL: https://issues.apache.org/jira/browse/COUCHDB-46
> Project: CouchDB
> Issue Type: Bug
> Components: Administration Console, JavaScript View Server
> Environment: Futon on Apache CouchDB 0.7.3a650295
> Linux nebula 2.6.22-14-server #1 SMP Tue Feb 12 03:10:53 UTC 2008 x86_64 GNU/Linux
> Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
> Reporter: Paul Joseph Davis
> Priority: Minor
>
> Occasionally, after saving a View in futon, I noticed that occasionally the first hit
to the view results in a timeout. It appears that its generally required to change the number
of documents in the view to cause a timeout. This only happens on the first request to the
view and subsequent request are all fine.
> Captured headers and output from a time out:
> Response Headers
> Transfer-Encoding chunked
> Server MochiWeb/1.0 (Any of you quaids got a smint?)
> Date Sun, 27 Apr 2008 18:38:44 GMT
> Content-Type text/plain;charset=utf-8
> Request Headers
> Host nebula:5984
> User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404
Firefox/2.0.0.14
> Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
> Accept-Language en-us,en;q=0.5
> Accept-Encoding gzip,deflate
> Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive 300
> Connection keep-alive
> Response:
> {"error":"error","reason":"wait_timeout"}
> CouchDB log:
> [info] [<0.227.0>] HTTP Error (code 500): wait_timeout
> [info] [<0.227.0>] 172.18.130.165 - - "GET /test/_view/all/tree" 500
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|