incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <robert.new...@gmail.com>
Subject Re: external limits
Date Fri, 20 Nov 2009 10:42:17 GMT
Well, we know for sure that an external can output a very large
response, so I suggest comparing couchdb-lucene's code to your own and
see what's different.

If you hop on #couchdb sometime, I'm sure we could track the bug down.

B.

On Fri, Nov 20, 2009 at 3:02 AM, Jim Woodgate <jdwoody@gmail.com> wrote:
> On Thu, Nov 19, 2009 at 5:10 PM, Robert Newson <robert.newson@gmail.com> wrote:
>> Did you emit your JSON response on a single line?
>
> Yes it's all one line.
>
>
>> On Thu, Nov 19, 2009 at 10:42 PM, Jim Woodgate <jdwoody@gmail.com> wrote:
>>> I finally have a basic external program running, but I find that if I
>>> return 57 ids it works, but if I return 58 ids or more I get an error.
>>>  Is there a way to tell what the actual error is?  The text that comes
>>> back says:
>>>
>>> {error_info,
>>>  {exit,
>>>    {exit_status,0},
>>>    [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}
>>>
>>> but then it just repeats what my original request looked like.  I
>>> looked at ids 57 and 58 and nothing jumps out and I even tried
>>> skipping the first 4 ids which also worked so it's not the actual data
>>> but the size of it somehow.
>>>
>>> I tried returning a couple hundred results using couchdb-lucene and it
>>> worked fine (and was 14k vs my 3k).
>>>
>>> The only header I set is Content-Type: text/plain and my json is
>>> attached to the "json" key.  I don't believe it's a timing issue, when
>>> I run the program by hand the output looks fine and it only takes a
>>> couple hundred milliseconds
>>>
>>> --
>>> Jim Woodgate
>>> jdwoody@gmail.com
>>>
>>
>
>
>
> --
> Jim Woodgate
> jdwoody@gmail.com
>

Mime
View raw message