[Monetdb-developers] communication problem between Mserver and mclient on OS X
Hi all,
can you tell me what I need to change to make Mserver communicate with mclient on OS X. All I get is silence...
$ Mserver --dbinit='module(pathfinder); mil_start();' # MonetDB Server v4.25.0 # based on GDK v1.25.0 # Copyright (c) 1993-July 2008, CWI. All rights reserved. # Copyright (c) August 2008-, MonetDB B.V.. All rights reserved. # Compiled for i686-apple-darwin9.5.0/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. # PF/Tijah module v0.9.0 loaded. http://dbappl.cs.utwente.nl/pftijah # MonetDB/XQuery module v0.25.0 loaded (default back-end is 'algebra') # XRPC administrative console at http://127.0.0.1:50001/admin MonetDB>
$ mclient -lx q01.xq ^C (after 2 minutes) $ mclient -lmil q01.mil ^C (after 2 minutes)
Running the same query through Mserver directly completes in under a second.
$ pf q01.xq > q01.mil $ Mserver q01.mil # MonetDB Server v4.25.0 # based on GDK v1.25.0 # Copyright (c) 1993-July 2008, CWI. All rights reserved. # Copyright (c) August 2008-, MonetDB B.V.. All rights reserved. # Compiled for i686-apple-darwin9.5.0/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. # PF/Tijah module v0.9.0 loaded. http://dbappl.cs.utwente.nl/pftijah # MonetDB/XQuery module v0.25.0 loaded (default back-end is 'algebra') # XRPC administrative console at http://127.0.0.1:50001/admin <?xml version="1.0" encoding="utf-8"?> <XQueryResult>Ayonca Vijaykrishnan</XQueryResult> MonetDB>
Thanks, Jan
Hi Jan et al,
this is a known problem: [ 1914463 ] Client hangs unless somebody presses enter at server prompt https://sourceforge.net/tracker/index.php?func=detail&aid=1914463&gr...
Unfortunately, we don't know, yet, what the actual reason is, let alone whether it can be fixed on the MonetDB side (i.e., in the MonetDB code as opposed to in BSD / MacOS X) ...
... any debugging help by BSD / MoacOS X experts/usrs is more than welcome!
Stefan
On Fri, Oct 31, 2008 at 10:03:49AM +0100, Jan Rittinger wrote:
Hi all,
can you tell me what I need to change to make Mserver communicate with mclient on OS X. All I get is silence...
$ Mserver --dbinit='module(pathfinder); mil_start();' # MonetDB Server v4.25.0 # based on GDK v1.25.0 # Copyright (c) 1993-July 2008, CWI. All rights reserved. # Copyright (c) August 2008-, MonetDB B.V.. All rights reserved. # Compiled for i686-apple-darwin9.5.0/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. # PF/Tijah module v0.9.0 loaded. http://dbappl.cs.utwente.nl/pftijah # MonetDB/XQuery module v0.25.0 loaded (default back-end is 'algebra') # XRPC administrative console at http://127.0.0.1:50001/admin MonetDB>
$ mclient -lx q01.xq ^C (after 2 minutes) $ mclient -lmil q01.mil ^C (after 2 minutes)
Running the same query through Mserver directly completes in under a second.
$ pf q01.xq > q01.mil $ Mserver q01.mil # MonetDB Server v4.25.0 # based on GDK v1.25.0 # Copyright (c) 1993-July 2008, CWI. All rights reserved. # Copyright (c) August 2008-, MonetDB B.V.. All rights reserved. # Compiled for i686-apple-darwin9.5.0/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. # PF/Tijah module v0.9.0 loaded. http://dbappl.cs.utwente.nl/pftijah # MonetDB/XQuery module v0.25.0 loaded (default back-end is 'algebra') # XRPC administrative console at http://127.0.0.1:50001/admin
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult>Ayonca Vijaykrishnan</XQueryResult> MonetDB>
Thanks, Jan
-- Jan Rittinger Lehrstuhl Datenbanken und Informationssysteme Wilhelm-Schickard-Institut für Informatik Eberhard-Karls-Universität Tübingen
http://www-db.informatik.uni-tuebingen.de/team/rittinger
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
OK,
hitting enter doesn't work for the testweb and I would hate to install parallels+ubuntu only to run the testweb! Instead I would love to have a pre-release solution :)
What is the difference in the thread handling of M5 and M4 -- is the client implemented in a different way?
On Oct 31, 2008, at 10:16, Stefan Manegold wrote:
Hi Jan et al,
this is a known problem: [ 1914463 ] Client hangs unless somebody presses enter at server prompt https://sourceforge.net/tracker/index.php?func=detail&aid=1914463&gr...
Unfortunately, we don't know, yet, what the actual reason is, let alone whether it can be fixed on the MonetDB side (i.e., in the MonetDB code as opposed to in BSD / MacOS X) ...
... any debugging help by BSD / MoacOS X experts/usrs is more than welcome!
On Fri, Oct 31, 2008 at 10:33:56AM +0100, Jan Rittinger wrote:
OK,
hitting enter doesn't work for the testweb
starting Mserver without console (--set monet_daemon=yes) does work interactively, but is not (yet?) supported by Mtest.py ...
and I would hate to install parallels+ubuntu only to run the testweb! Instead I would love to have a pre-release solution :)
... so do I / we ...
What is the difference in the thread handling of M5 and M4 -- is the client implemented in a different way?
I guess, it's not the client, but the server --- or the combination of both --- but as said, I don't know (yet) what might be the actual problem --- we thought it might be related to the fact that the mserver5 MAL console uses readline while the Mserver MIL console does not --- but then we do not use readline on Darwin since it does not provide rl_completion_matches ...
Stefan
On Oct 31, 2008, at 10:16, Stefan Manegold wrote:
Hi Jan et al,
this is a known problem: [ 1914463 ] Client hangs unless somebody presses enter at server prompt https://sourceforge.net/tracker/index.php?func=detail&aid=1914463&gr...
Unfortunately, we don't know, yet, what the actual reason is, let alone whether it can be fixed on the MonetDB side (i.e., in the MonetDB code as opposed to in BSD / MacOS X) ...
... any debugging help by BSD / MoacOS X experts/usrs is more than welcome!
-- Jan Rittinger Lehrstuhl Datenbanken und Informationssysteme Wilhelm-Schickard-Institut für Informatik Eberhard-Karls-Universität Tübingen
http://www-db.informatik.uni-tuebingen.de/team/rittinger
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
I tried to simplify the example. The problem is not related to pathfinder (as the bug report suggests) but already appears for a simpler query such as the MIL statement 'print(1);'.
Attached you find a trace of the server where mclient submits the 'print(1);'. (I will also attach it to the bug report.) Perhaps running the same trace on a Linux machine and compare the two outputs provides you with some more insight (as I'm lost in the code from the start :)).
On Oct 31, 2008, at 12:20, Stefan Manegold wrote:
On Fri, Oct 31, 2008 at 10:33:56AM +0100, Jan Rittinger wrote:
OK,
hitting enter doesn't work for the testweb
starting Mserver without console (--set monet_daemon=yes) does work interactively, but is not (yet?) supported by Mtest.py ...
and I would hate to install parallels+ubuntu only to run the testweb! Instead I would love to have a pre-release solution :)
... so do I / we ...
What is the difference in the thread handling of M5 and M4 -- is the client implemented in a different way?
I guess, it's not the client, but the server --- or the combination of both --- but as said, I don't know (yet) what might be the actual problem --- we thought it might be related to the fact that the mserver5 MAL console uses readline while the Mserver MIL console does not --- but then we do not use readline on Darwin since it does not provide rl_completion_matches ...
Stefan
On Oct 31, 2008, at 10:16, Stefan Manegold wrote:
Hi Jan et al,
this is a known problem: [ 1914463 ] Client hangs unless somebody presses enter at server prompt https://sourceforge.net/tracker/index.php?func=detail&aid=1914463&gr...
Unfortunately, we don't know, yet, what the actual reason is, let alone whether it can be fixed on the MonetDB side (i.e., in the MonetDB code as opposed to in BSD / MacOS X) ...
... any debugging help by BSD / MoacOS X experts/usrs is more than welcome!
-- Jan Rittinger Lehrstuhl Datenbanken und Informationssysteme Wilhelm-Schickard-Institut für Informatik Eberhard-Karls-Universität Tübingen
http://www-db.informatik.uni-tuebingen.de/team/rittinger
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
participants (2)
-
Jan Rittinger
-
Stefan Manegold