This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Jul 1, 2014, 2:49 PM
3 Posts

Domino 9.0.0 http error `This database is currently in use` causing http to freeze

  • Category: Domino Server
  • Platform: Windows
  • Release: 9.0
  • Role: Administrator,Developer
  • Tags: http jvm
  • Replies: 3

On a Domino 9.0.0 HF888 webserver the http suddenly stops working with this error on the console:

HTTP Web Server: IBM Notes Exception - This database is currently in use by another person or process, and cannot be accessed at this time. In order to share a Notes database, it must be accessed bia a Domino Server by all users of the database. [/<filepath>] CN=username

 

This happens once or twice a day, causing the user IE to freeze.

The server is a web only server. No mail users and no Notes client users on the server. All databases are on the server.

The problem occurs on 2 seperate servers (not connected, not replicated, in other domains on other ip ranges etc).

 

The same application ran fine on 8.5.3 :-(

 

Any suggestion is appreciated.

Jul 2, 2014, 1:21 PM
46 Posts
Check what has a handle on the db
The error usually indicates that something has a handle on the db and the task in question cannot open it/read it.
When the issue occurs run something like "windows explorer" to check what processes have a handle on it as it could be something outside Domino.  You could also run an nsd.
Jul 3, 2014, 2:44 PM
3 Posts
Database in use error

I have this same problem on rare occassions.  I was able to track it down to the backup software that we use.  It will hang on a specific database.  The database is then locked.  I have to restart Domino to get it to work again.

Jul 9, 2014, 5:00 PM
11 Posts
Windows Process Monitor to determine held DB's
If the application is not known, NSD can be configured to collect information on all processes running on the box (not just Domino processes) when a crash occurs.  The offending application will then be identified.

Notice that a standard NSD will not collect the necessary information to find the offending application, and if configured to do so, will take longer to execute during any crash. To enable NSD to include all processes which are accessing files, use the ALLHANDLES option with NSD.  Locate the NSD.INI file (not the NOTES.INI file) in the DATA directory and add the line:

ALLHANDLES=1

...followed by a carriage return.  Save the file.  (This may be done while Domino is up.)  When NSD next runs, it will now include all applications on the box in the data collection.  

When NSD is used with the ALLHANDLES option, it will take longer to run, due to the additional data collection required.  This could result in NSD timing out if the maximum time set in the Server Document is exceeded.  In the Server Document section labeled,  "Automatic Server Recovery, Cleanup Script/NSD Maximum Execution Time: " the default value is 300 seconds (5 minutes).  While it is impossible to know exactly how long NSD will run, a value of 600 seconds (10 minutes) is unlikely to be reached and would be suggested to be set.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
There is also outside tools that can be used to track what is touching the Domino Files.


Microsoft Process Monitor:

Setup Process Monitor to track the Data directory Example (D:\Notes\Data) & (G:\Notes\Data).  Instructions:

      A.  Download process monitor:        
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

      B.  Click on Filter, then Filter...:




      C.  Remove all pre-existing entries in the filter.


      D.  Setup  the filter like so:




      E.
Setup process monitor to store its data to a file on the disk& not the Page File as this will cause severe performance issues.  To do this, click on File, then Backing Files....  Then select "use file named" and create a file to capture the Process Monitor.  Make sure you are disconnected at this point.  Then restart the program and click on Capture.  The bottom of the program should say backed by "xxxxxxx.plm" rather than page file.

      F. Lastly, select the "Drop Filtered Events" option under the Filter tab, it will configure Process Monitor to delete any data that's excluded by a filter at the time the data is captured.  This should limit the amount of disk space needed for the PLM file.

Some additional things to note :

If you are running Anti-virus and full OS backups and you want to make sure that the Antivirus is not scanning the Data Folder, and excludes the
.txn & lfh file & nsf.  You also want to make sure when completing full OS backups that they exclude the entire Transactional log folder as this has been known to cause this issue as well. If you need assistance with setting your OS Backups to exclude these files from being touched you can open a ticket with backup vendor to discuss exclusions. The only way backups should run on the TXN files is by using the Notes API. Nothing else should touch anything in that folder while Domino is up and running. Most commonly that means your OS level backup and OS level anti-virus programs should exclude the TXN directory.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal