Re: [Monetdb-developers] [Monetdb-checkins] MonetDB/src/modules/plain/Tests bat.py, NONE, 1.1.2.1 bat2.py.src, NONE, 1.1.2.1
Hello, The log message gives me a hint I must set gdk_mem_pagebits to run XRPC server, otherwise I will get an error: $ Mserver --dbinit="module(xrpc_server);" # Monet Database Server V4.14.0 # ... !ERROR: Set gdk_mem_pagebits=16; please restart Mserver. But I don't need to set gdk_mem_pagebits to start Mserver as said in the log message: $ Mserver # Monet Database Server V4.14.0 # ... MonetDB> And I also don't need to set gdk_mem_pagebits to be able to run Mtest: MSERVER = "/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/bin/Mserver" : Mserver "--config=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/etc/MonetDB.conf" --debug=10 --set "monet_mod_path=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB/lib:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB/bin" --set "gdk_dbfarm=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/dbfarm" --set "sql_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/sql_logs" --set "xquery_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/xquery_logs" --set mapi_port=38869 --set monet_prompt= --trace Does anyone have an idea how this thing works? Jennie On Tue, Jan 16, 2007 at 10:18:18AM +0000, Stefan Manegold wrote:
Update of /cvsroot/monetdb/MonetDB/src/modules/plain/Tests In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2519
Added Files: Tag: MonetDB_4-14 bat.py bat2.py.src Log Message:
tests bat.milM and bat2.milM (now) require that Mserver is called with "--set gdk_mem_pagebits=16"
--- NEW FILE: bat.py --- import os MSERVER = os.environ['MSERVER'] TSTDB = os.environ['TSTDB'] TST = os.environ['TST'] os.system("%s --dbname=%s --set gdk_mem_pagebits=16 < %s.milM" % (MSERVER, TSTDB, TST))
--- NEW FILE: bat2.py.src --- $TSTSRCDIR/bat.py
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
Works fine for me: ======== $ Mserver -------- # Monet Database Server V4.14.0 # Copyright (c) 1993-2007, CWI. All rights reserved. # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. MonetDB>monet_environment.find("gdk_mem_pagebits").print(); [ "14" ] MonetDB>module(xrpc_server); MonetDB> ======== $ Mserver --dbinit='module(xrpc_server);' -------- # Monet Database Server V4.14.0 # Copyright (c) 1993-2007, CWI. All rights reserved. # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. MonetDB>monet_environment.find("gdk_mem_pagebits").print(); [ "14" ] MonetDB> ======== Jennie, what does monet_environment.find("gdk_mem_pagebits").print(); say in your case? Peter, do you have any idea? Stefan On Thu, Jan 18, 2007 at 04:49:46PM +0100, Ying Zhang wrote:
Hello,
The log message gives me a hint I must set gdk_mem_pagebits to run XRPC server, otherwise I will get an error:
$ Mserver --dbinit="module(xrpc_server);" # Monet Database Server V4.14.0 # ...
!ERROR: Set gdk_mem_pagebits=16; please restart Mserver.
But I don't need to set gdk_mem_pagebits to start Mserver as said in the log message:
$ Mserver # Monet Database Server V4.14.0 # ... MonetDB>
And I also don't need to set gdk_mem_pagebits to be able to run Mtest:
MSERVER = "/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/bin/Mserver" : Mserver "--config=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/etc/MonetDB.conf" --debug=10 --set "monet_mod_path=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB/lib:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB/bin" --set "gdk_dbfarm=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/dbfarm" --set "sql_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/sql_logs" --set "xquery_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/xquery_logs" --set mapi_port=38869 --set monet_prompt= --trace
Does anyone have an idea how this thing works?
Jennie
On Tue, Jan 16, 2007 at 10:18:18AM +0000, Stefan Manegold wrote:
Update of /cvsroot/monetdb/MonetDB/src/modules/plain/Tests In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2519
Added Files: Tag: MonetDB_4-14 bat.py bat2.py.src Log Message:
tests bat.milM and bat2.milM (now) require that Mserver is called with "--set gdk_mem_pagebits=16"
--- NEW FILE: bat.py --- import os MSERVER = os.environ['MSERVER'] TSTDB = os.environ['TSTDB'] TST = os.environ['TST'] os.system("%s --dbname=%s --set gdk_mem_pagebits=16 < %s.milM" % (MSERVER, TSTDB, TST))
--- NEW FILE: bat2.py.src --- $TSTSRCDIR/bat.py
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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 |
Hi Stefan, Thanks for your help! My gdk_mem_pagebits has the same value as yours, but I do get an error: $ Mserver # Monet Database Server V4.14.0 # ... MonetDB>monet_environment.find("gdk_mem_pagebits").print(); [ "14" ] MonetDB>module(xrpc_server); !ERROR: Set gdk_mem_pagebits=16; please restart Mserver. ========== $ Mserver --dbinit="module(xrpc_server);" # Monet Database Server V4.14.0 # ... !ERROR: Set gdk_mem_pagebits=16; please restart Mserver. I only have this problem in the stable branch, in the HEAD branch it works as expected (maybe because some changes haven't been propagated to the HEAD branch?). I believe that my stable install is clean, i.e. in a clean shell, checked-out from SF, build from scratch. Can you give a lesson on this gdk_mem_pagebits thingy? Jennie On Thu, Jan 18, 2007 at 05:03:00PM +0100, Stefan Manegold wrote:
Works fine for me:
======== $ Mserver -------- # Monet Database Server V4.14.0 # Copyright (c) 1993-2007, CWI. All rights reserved. # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. MonetDB>monet_environment.find("gdk_mem_pagebits").print(); [ "14" ] MonetDB>module(xrpc_server); MonetDB> ======== $ Mserver --dbinit='module(xrpc_server);' -------- # Monet Database Server V4.14.0 # Copyright (c) 1993-2007, CWI. All rights reserved. # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. MonetDB>monet_environment.find("gdk_mem_pagebits").print(); [ "14" ] MonetDB> ========
Jennie,
what does monet_environment.find("gdk_mem_pagebits").print(); say in your case?
Peter,
do you have any idea?
Stefan
On Thu, Jan 18, 2007 at 04:49:46PM +0100, Ying Zhang wrote:
Hello,
The log message gives me a hint I must set gdk_mem_pagebits to run XRPC server, otherwise I will get an error:
$ Mserver --dbinit="module(xrpc_server);" # Monet Database Server V4.14.0 # ...
!ERROR: Set gdk_mem_pagebits=16; please restart Mserver.
But I don't need to set gdk_mem_pagebits to start Mserver as said in the log message:
$ Mserver # Monet Database Server V4.14.0 # ... MonetDB>
And I also don't need to set gdk_mem_pagebits to be able to run Mtest:
MSERVER = "/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/bin/Mserver" : Mserver "--config=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/etc/MonetDB.conf" --debug=10 --set "monet_mod_path=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB/lib:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB/bin" --set "gdk_dbfarm=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/dbfarm" --set "sql_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/sql_logs" --set "xquery_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB/xquery_logs" --set mapi_port=38869 --set monet_prompt= --trace
Does anyone have an idea how this thing works?
Jennie
On Tue, Jan 16, 2007 at 10:18:18AM +0000, Stefan Manegold wrote:
Update of /cvsroot/monetdb/MonetDB/src/modules/plain/Tests In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2519
Added Files: Tag: MonetDB_4-14 bat.py bat2.py.src Log Message:
tests bat.milM and bat2.milM (now) require that Mserver is called with "--set gdk_mem_pagebits=16"
--- NEW FILE: bat.py --- import os MSERVER = os.environ['MSERVER'] TSTDB = os.environ['TSTDB'] TST = os.environ['TST'] os.system("%s --dbname=%s --set gdk_mem_pagebits=16 < %s.milM" % (MSERVER, TSTDB, TST))
--- NEW FILE: bat2.py.src --- $TSTSRCDIR/bat.py
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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 |
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
Hi Jennie, This is a symptom of old repositories. A new one would not give this error message (as in Mtest). The idea: now that people can configure their pagesize, they are warned when they run a repository that was created with a different pagesize. This would invariably lead to crashes (on updateable documents). Peter -----Original Message----- From: monetdb-checkins-bounces@lists.sourceforge.net [mailto:monetdb-checkins-bounces@lists.sourceforge.net] On Behalf Of Ying Zhang Sent: Thursday, January 18, 2007 4:50 PM To: monetdb-developers@lists.sourceforge.net Cc: monetdb-checkins@lists.sourceforge.net Subject: Re: [Monetdb-checkins] MonetDB/src/modules/plain/Tests bat.py, NONE,1.1.2.1 bat2.py.src, NONE, 1.1.2.1 Hello, The log message gives me a hint I must set gdk_mem_pagebits to run XRPC server, otherwise I will get an error: $ Mserver --dbinit="module(xrpc_server);" # Monet Database Server V4.14.0 # ... !ERROR: Set gdk_mem_pagebits=16; please restart Mserver. But I don't need to set gdk_mem_pagebits to start Mserver as said in the log message: $ Mserver # Monet Database Server V4.14.0 # ... MonetDB> And I also don't need to set gdk_mem_pagebits to be able to run Mtest: MSERVER = "/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/bin/Mserver" : Mserver "--config=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/etc/M onetDB.conf" --debug=10 --set "monet_mod_path=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug /lib/MonetDB:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/li b/MonetDB/lib:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/l ib/MonetDB/bin" --set "gdk_dbfarm=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var /MonetDB/dbfarm" --set "sql_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var /MonetDB/sql_logs" --set "xquery_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/ var/MonetDB/xquery_logs" --set mapi_port=38869 --set monet_prompt= --trace Does anyone have an idea how this thing works? Jennie On Tue, Jan 16, 2007 at 10:18:18AM +0000, Stefan Manegold wrote:
Update of /cvsroot/monetdb/MonetDB/src/modules/plain/Tests In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2519
Added Files: Tag: MonetDB_4-14 bat.py bat2.py.src Log Message:
tests bat.milM and bat2.milM (now) require that Mserver is called with "--set gdk_mem_pagebits=16"
--- NEW FILE: bat.py --- import os MSERVER = os.environ['MSERVER'] TSTDB = os.environ['TSTDB'] TST = os.environ['TST'] os.system("%s --dbname=%s --set gdk_mem_pagebits=16 < %s.milM" % (MSERVER, TSTDB, TST))
--- NEW FILE: bat2.py.src --- $TSTSRCDIR/bat.py
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
participants (3)
-
p.a.boncz
-
Stefan Manegold
-
Ying Zhang