Bugs item #2859986, was opened at 2009-09-16 15:24 Message generated for change (Comment added) made by axelbel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2859986&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XML Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Axel Belinfante (axelbel) Assigned to: Nobody/Anonymous (nobody) Summary: xrpc use messes up mclient use Initial Comment: doing an xquery via mclient works immediately after starting Monetdb. doing then a couple of xrpc requests somehow messes up some state in the server, such that then doing the same xquery request via mclient once more yields an ERROR result, or an empty result. I have seen cases where at some point mclient continuously returns ERROR for all xquery queries, even for simple ones like <p>aap</p> . in other cases I just get an empty result. it is easy to reproduce on our system. but turned out to be harder to isolate such that it still is reproducable. I hope I succeeded in that. server: Aug2009 Monetdb release, running on (uname -a output): Linux ewi865 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux ---------------------------------------------------------------------- Comment By: Axel Belinfante (axelbel) Date: 2009-09-17 10:11 Message: I wrote: "however, if I then do the same request via xrpc, by repeating the third xrpc request, I do get a correct result..." this is not always the case. sometimes then such xrpc request returns an empty result ( <div><div class="items"/></div> ). Sometimes when the mclient request fails, it returns 'ERROR', together with almost the correct result: the result is correct, but the first couple of characters are missing (overwritten by the ERROR?). Finally, I don't know whether it is related to this issue, it happens that the server gets into a state where a pf:add-doc that is done via mclient just hangs, forever, until I kill the server to restart it. This issue was already present in the May-2009 release, and is still present in the Aug-2009 release. ---------------------------------------------------------------------- Comment By: Axel Belinfante (axelbel) Date: 2009-09-16 15:42 Message: I atdded the files that I used to set up the database at http://library.cs.utwente.nl/ecv/files-for-bugreport-2859986.tgz (size: 22861872 bytes) the file start-mxq-test.mil in the .tgz shows how I initialized the database. I invoked the xrpc commands by using telnet from within an xterm, and pasting the contents of the attached files. I invoked mclient as: mclient -lx -p myportnumber mclient-query06 so, when I cleanup the database 'var' directory, and restart it the mclient query works fine after I have done the first xrpc query, the mclient query still works fine after I have done the second xrpc query, the mclient query still works fine after I have done the third xrpc query, the mclient query returns an 'empty' result ( <div><div class="items"/></div> ) however, if I then do the same request via xrpc, by repeating the third xrpc request, I do get a correct result... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2859986&group_id=56967 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
