On Fri, Nov 30, 2007 at 12:37:28AM -0700, m h wrote:
On Nov 30, 2007 12:25 AM, Niels Nes
wrote: On Thu, Nov 29, 2007 at 05:43:44PM -0700, m h wrote:
What can I do to help this situation? Run with valgrind? Explain howto run the SQLAlchemy test suite? I guess that would help most.
I'm off to bed now, but hopefully this will get you started.
*pull the svn of SQLAlchemy and don't install, but just unzip
My code is attached to this bug: http://www.sqlalchemy.org/trac/ticket/874
put the monetdb.py in the sqlalchemy/lib/sqlalchemy/databases/ directory.
add 'dialect.monetdb', to modules_to_test in sqlalchemy/test/dialect/alltests.py
I have a script that runs the test, here it is:
#!/bin/sh
pushd sqlalchemy PYTHONPATH=./lib:./test; python -tt test/sql/alltests.py --db monetdb --verbose --log-debug=sqlalchemy.engine #PYTHONPATH=./lib:./test; python -t test/orm/alltests.py --db monetdb --verbose --log-debug=sqlalchemy.engine popd
#end script
Uncomment the test/orm/alltests.py to crash the server. Repeatedly I my fresh check out of alchemy it isn't commented. I didn't see crashes. I did have restart problems which are now fixed.
Niels
running the normal test will show that there appears to be a memory leak in the server, as the memory grows by some 10-20 Megs after each run.
thanks much,
-matt
Attached is the valgrind output of the ORM crash (took some 15 minutes+ to run on my laptop). I guess you forgot to attach it as the attachment is missing.
Sorry, here it is
-matt
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Niels Nes, Centre for Mathematics and Computer Science (CWI) Kruislaan 413, 1098 SJ Amsterdam, The Netherlands room C0.02, phone ++31 20 592-4098, fax ++31 20 592-4312 url: http://www.cwi.nl/~niels e-mail: Niels.Nes@cwi.nl