[MarkLogic Dev General] Premature End of Stream on Read: How to
Fix?
Ron Hitchens
ron.hitchens at marklogic.com
Thu Nov 15 23:12:45 PST 2007
Usually a premature EOS on an XCC/XDBC read means
that the socket closed unexpectedly. It's possible that
the server is crashing and restarting. Check the server
log (Logs/ErrorLog.txt) to see if there are startup messages
at the time one of these queries threw this exception.
Which version of the server are you running? Are you
using XCC or XDBC?
On Nov 15, 2007, at 7:45 PM, Eliot Kimber wrote:
> I have a query that can involve a number of documents and that then
> returns what could be a large result (it's building a tree of
> "node" elements representing a hierarchical structure composed from
> multiple documents). It is being applied via an XDBC connection.
>
> The query is recursive and I can control the recursion depth as a
> parameter to the top-level query function.
>
> The problem I'm running into is that for some data sets, when my
> recursion depth exceeds a certain value, the query fails with a
> "Premature end of stream on read" exception from MarkLogic.
>
> I suspect that this requires adjusting some setting on the server
> but I have no idea what that might be.
>
> Is this error symptomatic of a problem that can be corrected by
> adjusting the server configuration? My current setup uses all the
> defaults.
>
> Thanks,
>
> Eliot
>
> --
> Eliot Kimber
> Senior Solutions Architect
> "Bringing Strategy, Content, and Technology Together"
> Main: 610.631.6770
> www.reallysi.com
> www.rsuitecms.com
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general
---
Ron Hitchens {ron.hitchens at marklogic.com} 650-655-2351
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
Url : http://xqzone.marklogic.com/pipermail/general/attachments/20071115/c2df8a36/smime.bin
More information about the General
mailing list