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

Ying Zhang Y.Zhang at cwi.nl
Thu Jan 18 16:49:46 CET 2007


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




More information about the developers-list mailing list