search for: make_db

Displaying 2 results from an estimated 2 matches for "make_db".

Did you mean: mail_db
2013 Jul 03
2
Potential memory leak when assigning MSetItem values
...after deleting objects and running garbage collection. I think the MSetItems are preserved in memory and are not being garbage collected correctly, possibly from a lingering reference to the MSet or MSetIterator. import os import simplejson as json import xapian as x import shutil import gc def make_db(path, num_docs=100000): try: shutil.rmtree(path) except OSError, e: if e.errno != 2: raise db = x.WritableDatabase(path, x.DB_CREATE) for i in xrange(1, num_docs): doc = x.Document() doc.set_data(json.dumps({ 'id': i, 'enabled...
2002 Sep 06
2
samba domeinlogon
Hi, I'm using Unix now for the last 2 years, so I'm learning everyday new things. Now I'm trying to configure Samba 2.2.5 (on Freebsd 4.4) so that w2k machines can logon to the domain. I added several users to smbpasswd (which are real users on the server. I would like to have "virtual users" which don't have a real account but that's an other problem) In several