[Monetdb-developers] [Monetdb-checkins] MonetDB/src/modules/plain/Tests bat.py, NONE, 1.1.2.1 bat2.py.src, NONE, 1.1.2.1

Stefan Manegold Stefan.Manegold at cwi.nl
Thu Jan 18 17:03:00 CET 2007


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 at 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
> 

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at 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       |




More information about the developers-list mailing list