couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirill Pertsev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2203) Hang when uploading a JSON document
Date Sun, 16 Mar 2014 09:23:42 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937049#comment-13937049
] 

Kirill Pertsev commented on COUCHDB-2203:
-----------------------------------------

Solved with
 curl -XPUT http://localhost:5984/_config/httpd/socket_options -d '"[{recbuf, 262144}, {sndbuf,
262144}, {nodelay, true}]"' 
(c)Kxepal on #couchdb

Should be the default probably?

> Hang when uploading a JSON document
> -----------------------------------
>
>                 Key: COUCHDB-2203
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2203
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>    Affects Versions: 1.5.0
>            Reporter: Kirill Pertsev
>         Attachments: body.debug
>
>
> CouchDB 1.5.0 MacOS/X build from the website. OS/X is 10.9.2
> I'm building a couchapp using node.couchapp.js. The size of the couchapp is about 4MB,
and I can not upload it to the Couch. I've dumped the JSON itself and tried to PUT it with
CURL, without any luck either.
> JSON is attached.
> Upload with
> curl -XPUT http://root:root123@localhost:5984/rmaze2/_design/rmaze-kanso -H "Content-Type:
application/json" -d @body.debug



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message