My program crashed with:

DchMakeDigi::BdbApplication.cc(160):Objectivity/DB Error #4301:ooHandle(ooDBObj)::open(): Storage Manager: Cannot open file objyserv7.slac.stanford.edu::/nfs/objyserv7/objy/databases/user2/ggrenier/7620/conditions/dch/con_dch_Index_opr-core.bdb (Can not connect to
Objectivity AMS server on host "ob jyserv7.slac.stanford.edu" - Too many
open files) (100101) DchMakeDigi::BdbApplication.cc(160):Objectivity/DB
Error #4301: ooHandle(ooDBObj)::open(): Storage Manager: Cannot open file objyserv7.slac.stanford.edu::/nfs/objyserv7/objy/databases/user2/ggrenier/7620/conditions/dch/con_dch_Index.bdb (Can not connect to Objectivity AMS
server on host "objyserv7.s lac.stanford.edu" - Too many open files)
(100101) ... DchMakeDigi::BdbApplication.cc(160):Objectivity/DB Error
#4301: ooHandle(ooDBObj)::open(): Storage Manager: Cannot open file objyserv7.slac.stanford.edu::/nfs/objyserv7/objy/databases/user2/ggrenier/7620/conditions/dch/con_dch_Index.bdb (Can not connect to Objectivity AMS
server on host "objyserv7.s lac.stanford.edu" - Too many open files)
(100101) Assertion failed: _detector != 0, file
/u1/steinke/bfdist/packages/DchProxy/V00-02-11/DchDetectorPro xy.cc,
line 379


This problem is due to the file descriptor limit on the client side being too low. Check your user
descriptor limit using:

limit

You can set the limit by issuing the command, eg:

limit descriptors 1024  (you need to check the exact command for your platform)

You may also have hit the database file descriptor limit which you can increase by issuing
the command:

setenv OO_FD_LIMIT 64

A limit of 64 should be adequate for most applications (if that still fails, try 1024).