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

p.a.boncz p.a.boncz at chello.nl
Thu Jan 18 17:55:23 CET 2007


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 at lists.sourceforge.net
[mailto:monetdb-checkins-bounces at lists.sourceforge.net] On Behalf Of Ying
Zhang
Sent: Thursday, January 18, 2007 4:50 PM
To: monetdb-developers at lists.sourceforge.net
Cc: monetdb-checkins at 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 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-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