Is it normal for env open to take more than a minute?

I'm relatively newbie to bdb. I'm using the python bindings to the berkeley db, and the call to dbenv.open takes an inordinate amount of time (in the order of minutes). Granted, my program has very large transactions, but all have been committed in the previous invocation of the program.
Can it be something that I do incorrectly when shutting down the application? Or, if this is normal behavior, can I at least do something to move the delay from application starting to the (previous) application termination (which would be much more tolerable)?

I use it from python (i.e., through the bsddb library). Here's the code for opening:
self.dbenv = db.DBEnv()
self.dbenv.set_cachesize(0,100*1024*1024)
self.dbenv.set_lk_max_locks(20000)
self.dbenv.set_lk_max_objects(20000)
self.dbenv.set_lk_detect(db.DB_LOCK_DEFAULT)
self.dbenv.set_flags(db.DB_LOG_AUTOREMOVE, True)
self.dbenv.open(self.__dbenv_dir(), db.DB_RECOVER| db.DB_CREATE |db.DB_INIT_TXN| db.DB_INIT_MPOOL| db.DB_INIT_LOCK|db.DB_THREAD)
I thought that some of the parameters might be excessive. However, the problem does not occur with an empty db, only when it becomes very large (currently it takes 800M on the disk).
The closing is, I think, standard - I just call close on all the databases and on the dbenv. There are no error messages during the closing.

Similar Messages

  • Is it normal for the download to take more than a half hour?

    Funky things have been happening and we lost google as our web search engine, then internet explorer, the a "trovi" appeared!? I uninstalled Mozilla Firefox and am attempted to reinstall it, but it's taking soooo long :o(

    See also;
    *http://malwaretips.com/blogs/trovi-com-removal/
    You can find the full version of the current Firefox 33.1.1 release in all languages and for all Operating Systems here:
    *https://www.mozilla.org/en-US/firefox/all/
    You can also try the CDN server:
    *http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/latest/win32/
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • Is it normal for apple tv to take up to 90 minutes to restore to factory settings?

    Is it normal for apple tv to take up to 90 minutes to restore to factory settings?

    Welcome to the Apple Community.
    No, that's not normal, should be no more than a couple of minutes. Updating afterwards may take a little longer since it depends on your network speeds.

  • When I close my iPhone and I want to open it to use it again, the opening process takes more than an hour, I regretted to buy the iPhone because of this problem that you do not suffer at all with Nokia,how I can solve this problem?

    When I close my iPhone and I want to open it to use it again, the opening process takes more than an hour, I regretted to buy the iPhone because of this problem that you do not suffer at all with Nokia,how I can solve this problem?

    mostafa182 wrote:
    ... how I can solve this problem?
    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • When I restart my Mac, the grey screen appears like usual. But it takes more than 40 minutes (more) for it to load to finish restarting the Mac. What should I do?!

    When I restart my Mac, the grey screen appears like usual. But it takes more than 40 minutes (or more) for it to load to finish restarting the Mac. What should I do to fix it?!

    Disconnect all devices from your computer if you have not already done so.  Restart again.  If the problem has been resolved, you had a peripheral conflict.  You will then have to reconnect the devices one at time, restart,  to locate the culprit.
    Login Items is another culprit.  Check your login items.
    System Preferences>Accounts>Login Items
    Delete/disable all you do not need or want.

  • MacBook pro takes more than 10 minutes to start with ML ?

    My Macbook pro takes more than 10 minutes to start. I press Start and it takes more than 10 minutes before I can enter my password. Need your help !

    Sounds like time for a PRAM reset. Here's how:
    1. Power down the machine.
    2. Locate the following keys on your keyboard in preparation for Step 4:
    ‘command’ – ‘option’ – ‘P’ – ‘R’
    3. Press the ‘power on’ button.
    4. Immediately – and before the grey screen appears – hold down ‘command-option-P-R’ all together.
    5. Keep them held down until you’ve heard the start-up chime twice. After you release them you should hear it again, and hopefully your Mac will boot up as normal.

  • [OIM] Resources search takes more than 10 minutes

    Hi everyone,
    I have several resources (more than 6,000), and I have the following problem:
    1) I go to Request -> Resources
    2) select a user.
    3) in the notification screen, I left the send notification checked and click on next.
    After the last next, the resources screen should appear. It takes more than 10 minutes. I am uploading more resources and I see that as I add more, the time of searching the resources increases linearly with the ammount of resources.
    Is there a way of putting some filter for this search so it takes less time, or I have to make a custom app for requesting resources?
    Thanks!

    I think the application does too much validations in these kind of searches. I noticed that until 9.1.0, the Organization lookup in the Users -> Create User showed all possible results, but in 9.1.0.2 you will see that it shows nothing, you have to enter a search filter so organizations appears. Perhaps it's the solution to these problems, that all sarches show nothing at the first time and then you filter the results.
    I opened the war, but the code for searching appears to be generic to all search pages, so I think it's very dangerous to change the OIM core.

  • I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why?

    I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why the iTunes Scripting Brigde returned failed when it is actually success? It occurred exactly 2 minutes after submit the request to Scripting Brigde. Is this 2 minutes related to the Apple Event time out? if it does, how do I get around this problem? thx

    I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account?  I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.

  • I am having the  problem . it says it shouldnt take more than 3 minutes then i get this message Could not activate iphone. i have taken the sim card out and put it back in even then its of no use. if any one out there can help us it would be very nice

    i am having the  problem in my 3gs iphone. it says it shouldnt take more than 3 minutes then i get this message Could not activate iphone.
    i have taken the sim card out and put it back in even then its of no use.
    if any one out there can help us it would be very nice of them. thank you for your time.

    I can not get to iPhone screen, so no way to get to Settings. That is the problem. When I connect phone to iTunes I get screen asking to insert SIN card. On the phone I'm getting Cinfigure screen asking Launguage , Country or Region, Wi-Fi, ( I can connect to my home wi-fi), and last screen "Activating your iPhone". After two minutes of waiting IM getting message: Your iPhone could not be activated because the activation server in temporary unavailable. try connecting to iTunes or try later or contat apple.com/support.
    Like I mention, I went to Bell as well Rogers store and tried to insert active SIM card with no results.
    Yes, my friend unlock the phone to use with Rogers but I don't know where

  • QUERY TAKES MORE THAN 30 MINUTES AND IT'S CANCELED

    Hi
    I have one workbook and sometimes it takes more than 30 minutes to be executed, but Discoverer cancels it, Does anybody know how to alter this? I mean if the query takes more than 30 minutes i need it to be finished.
    Any help will be appreciated.
    Best Regards
    Yuri López

    Hi
    You need to alter the timeout settings and these are located in multiple places.
    Discoverer Plus / Viewer using this workflow:
    1. Edit the pref.txt file on the server located here: $ORACLE_HOME\discoverer\util
    2. Locate the preference called Timeout and change it to your desired value in seconds. The default is 1800 which means 30 minutes
    3. Save pref.txt
    4. Execute applypreferences.bat if running on Windows or applypreferences.sh if running on Linux or Unix
    5. Stop and restart the Discoverer server
    Discoverer Administrator using this workflow:
    1. Launch Discoverer Administrator
    2. From the menu bar, select Tools | Privileges
    3. Select the user
    4. Open the Query Governor tab
    5. If "Prevent queries from running longer than" is checked, increase the limit
    6. Click OK
    Note: if "Prevent queries from running longer than" is not checked then the Timout in the pref.txt controls how long before the queries stop. If it is checked and it is lower than Timeout you need to increase it.
    Let me know if this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Need to write a query that takes more than 2 minutes to execute

    Hi ,
    I am using Oracle 10g as my DataBase.
    I am writing a small program for Testing purpose , in that my requirement is to write a query that takes more than 2 minutes to execute .Right now i have only a small Table called as "Users" with very less data .
    Please let me know how can i achieve this thing ??
    Thanks .

    So please tell me , how can i achieve this . Thanks in advance .P. Forstman's example above will probably be more reliable, but here's an example of my idea - harder to control timing (untested)
    select count(*)
      from dba_objects o, dba_tables t, dba_tab_columns tc
    where o.object_name||'' = t.table_name||''
       and o.owner||'' = t.owner||''
      and t.table_name||'' = tc.table_name
      and t.owner||'' = tc.owner||''

  • Module ContrentSwitch 3 command takes more than a minute to respond

    I have two CAT 6509 switches with a CSM module in slot 3 in SW1 and a CSM module in slot 8 in SW2.
    From the router config when I type - module ContentSwitch 3 on MSFC in SW1 - it takes more than a minute to get the CSM config prompt.
    Then every command I type - eg, vlan 46 client - takes about a minute to respond.
    This happens only on CAT 6509 SW1. On the other CAT 6500 - SW2 - which has the CSM in slot 8 - when I say - at router config prompt - module ContentSwitch 8 - I get an immediate response with the csm config prompt and every command I type I get immediate response.
    One CAT 6500 number Sw1, I did a reset 3 at the CatOS prompt and tried again. Same problem, Could it be a H/W problem on this CSM in this CAT6509. The CSM versions of the two CSMs in the two CAT6509 are 4.1(3) and the MSFCs in the two CAT6509 are 12.1(2)E.
    It can't be version problem because the two CSMs and the two MSFCs in the two CAT 6509 have the same versions. Tomorrow I will replace the CSM in the problem CAT6509 and try again.
    I have configured one CSM and I need to configure this other CSM whick takes more than a minute to respond to commands and so I gave up after I typed 3 or 4 commands.
    Any suggestions please?

    I meant to type 12.1(22)E2. Please see below for the version and it is the same on the MSFC of both CAt6509 switches.
    IOS (tm) MSFC2 Software (C6MSFC2-JK2SV-M), Version 12.1(22)E2, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
    CSM is 4.1(3) - see below:
    HTCUITS1> (enable) show mod
    Mod Slot Ports Module-Type Model Sub Status
    1 1 2 1000BaseX Supervisor WS-X6K-SUP2-2GE yes standby
    15 1 1 Multilayer Switch Feature WS-F6K-MSFC2 no standby
    2 2 2 1000BaseX Supervisor WS-X6K-SUP2-2GE yes ok
    16 2 1 Multilayer Switch Feature WS-F6K-MSFC2 no ok
    3 3 4 Content Switching Module WS-X6066-SLB-APC no ok
    4 4 8 Intrusion Detection Mod WS-SVC-IDSM-2 yes ok
    5 5 8 1000BaseX Ethernet WS-X6408A-GBIC no ok
    6 6 48 10/100/1000BaseT Ethernet WS-X6548-GE-TX no ok
    7 7 48 10/100BaseTX Ethernet WS-X6348-RJ-45 no ok
    Mod Module-Name Serial-Num
    1 SAD051905VW
    15 SAD0518057D
    2 SAL085286E3
    16 SAL09020C29
    3 SAD0825082B
    4 SAD091208RC
    5 SAL06110XWG
    6 SAL091389PP
    7 SAL05052SZ5
    --More--
    Mod MAC-Address(es) Hw Fw Sw
    1 00-01-64-76-08-3e to 00-01-64-76-08-3f 2.2 7.1(1) 8.3(7)
    00-01-64-76-08-3c to 00-01-64-76-08-3d
    15 00-06-28-75-f1-00 to 00-06-28-75-f1-3f 1.2 12.1(22)E2 12.1(22)E2
    2 00-09-12-58-2d-ce to 00-09-12-58-2d-cf 5.1 7.1(1) 8.3(7)
    00-09-12-58-2d-cc to 00-09-12-58-2d-cd
    00-d0-04-e0-6c-00 to 00-d0-04-e0-6f-ff
    16 00-13-19-34-f6-80 to 00-13-19-34-f6-bf 2.8 12.1(22)E2 12.1(22)E2
    3 00-11-5c-eb-5f-ca to 00-11-5c-eb-5f-d1 1.7 4.1(3)
    4 00-12-80-f1-31-26 to 00-12-80-f1-31-2d 5.0 7.2(1) 4.1(4)S91
    5 00-09-12-60-d4-44 to 00-09-12-60-d4-4b 2.1 5.4(2) 8.3(7)
    6 00-13-7f-4d-ae-c0 to 00-13-7f-4d-ae-ef 10.1 7.2(1) 8.3(7)
    7 00-03-6c-1c-f1-70 to 00-03-6c-1c-f1-9f 1.5 5.4(2) 8.3(7)

  • When recording a Video demo slide in Captivate 8, pressing the [END] key takes more than a minute to stop the recording. Why is there such a lag?

    When recording a Video demo slide in Captivate 8, pressing the [END] key takes more than a minute to stop the recording. Why is there such a lag? Additionally, the software I record experiences terrible lag times. For instance, It may take 15 seconds to display a 2-digit number I typed into a blank field. the same software has no lag issues when I'm not recording it.

    Yes and no. The CPTX file is on my PC. Our software that I'm making the demo of is on the network. but I'm not the "IT Guy" so I can't provide specifics; however, I work at a computer software company and we probably have more servers than employees. The network hardware is kept current. I've been making similar tutorials for 10 years and haven't run into this issue until switching to the subscription Captivate.

  • Every page I load takes more than a minute to load - clicking anywhere gives message that firefox is not responding. I don't like this version, it sucks - tabs are not defined well, can barely see them.

    for instance, if I load www.msnbc.com it will take more than a minute to fully load in that if I click on a link or try to scroll, the entire browser locks up, if I try to scroll, or click on the page, I get the message that the program is not responding.

    If you've updated from a version as ancient as 3.5.4, then you run the risk of encountering problems. You should start with a fresh profile to ensure old preferences, data files and changes made by extensions are not interfering.
    First, create a backup copy of your profile folder, just to be safe.
    * [[Back up and restore information in Firefox profiles]]
    Then use the Reset Firefox feature.
    * [[Reset Firefox – easily fix most problems]]
    If the problem persists, see the following article.
    * [[Firefox hangs or is not responding - How to fix]]
    Do not reinstall old versions of Firefox. They contain security vulnerabilities and shouldn't be used. Very old versions might also be unable to handle data files in your profile folder in their new formats, which can lead to all sorts of problems. And lastly, many websites require a modern browser to work properly.
    * https://www.mozilla.org/security/known-vulnerabilities/firefox.html

  • I am trying to import songs from a CD but it takes more than 15 minutes per song. What should I check?

    I am trying to import songs from a CD but it takes more than 15 minutes per song. What should I check?

    Do you have error correction turned on?  (iTunes preferences - General - Import settings.)  If so, it will take much longer to copy audio CD's.

Maybe you are looking for

  • Can you save an Illustrator file to an Editable PDF format

    I have made a menu for a Restuarant on Illustrator and I want my client to be able to go into the file and edit the text. They do not have illustrator and was wondering if I can save it as an Editable PDF? Thanks in advance for you help.

  • RFC Receiver - Logon information

    Hi When we are configuring RFC Receiver, we provide the Logon details ( User Name). What type of user type it should be. Presently in the development server, i have configured with Dialog user and the same is working fine. Will the same work, if i co

  • N95 8gb Auto Rotate Screen

    Hello, I just downloaded the newest firmware for the n95 8gb. I had the heard that the newest firmware allows for auto rotate screen from portrait to landscape and vice versa. Is this true and if so how do I enable this feature? Thank you....

  • OpenDocument and sViewer=actx

    Post Author: dhays CA Forum: Publishing I'm trying to add the 'sViewer=actx' parameter to my url that uses openDocument. When I do though, it causes the report to prompt for parameters that I am also passing. When I don't include sViewer, it accepts

  • Adobe Reader freezes when attempting to load weblink.api

    Every time Adobe Reader (11.0.04) opens with weblink.api, it freezes up and is unusable. We have completely uninstalled and reinstalled this program and it is having the same issue. Windows 7 x64. If we disable the plugin, it opens fine, but we canno