HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Berkeley DB 4.2.52 on HP-UX 11.11
Operating System - HP-UX
1833771
Members
2151
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 12:47 AM
03-01-2005 12:47 AM
Berkeley DB 4.2.52 on HP-UX 11.11
Hello.
We've been running into regular resource starvation problems with programs using the Berkeley DB libraries, and I suspect we're missing a config tweak when building the libraries from source. The last 'n' times I've built the db package (using HP ANSI C) I've just let configure work it out for itself. Sendmail and Postfix behave themselves (he said, confidently) but I can blow OpenLDAP up merely by adding a few hundred records, and Amavis will run for a few hours before expiring with a "BDB no dbS: Lock table is out of available locker entries" error.
As a test, I tried the HP-built version of OpenLDAP, but that expired as quickly as our locally compiled version. (Not entirely surprising if the problem's with the db libraries)
So, the question is - What should we be looking at to get a reliable db build?
We've been running into regular resource starvation problems with programs using the Berkeley DB libraries, and I suspect we're missing a config tweak when building the libraries from source. The last 'n' times I've built the db package (using HP ANSI C) I've just let configure work it out for itself. Sendmail and Postfix behave themselves (he said, confidently) but I can blow OpenLDAP up merely by adding a few hundred records, and Amavis will run for a few hours before expiring with a "BDB no dbS: Lock table is out of available locker entries" error.
As a test, I tried the HP-built version of OpenLDAP, but that expired as quickly as our locally compiled version. (Not entirely surprising if the problem's with the db libraries)
So, the question is - What should we be looking at to get a reliable db build?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 12:59 AM
03-01-2005 12:59 AM
Re: Berkeley DB 4.2.52 on HP-UX 11.11
Lock table is out of available locker entries" error.
makes me think that you may be running out of no. of file system locks -i.e. kernel tunable nflocks. What is your setting?? kmtune -lq nflocks. Also see the real time usage of it by following commands.
sar -v 5 5
glance -t
You will have to increase it, if that is what is causing the problem.
Anil
makes me think that you may be running out of no. of file system locks -i.e. kernel tunable nflocks. What is your setting?? kmtune -lq nflocks. Also see the real time usage of it by following commands.
sar -v 5 5
glance -t
You will have to increase it, if that is what is causing the problem.
Anil
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2005 02:01 AM
03-01-2005 02:01 AM
Re: Berkeley DB 4.2.52 on HP-UX 11.11
Does it use semaphores (sysV IPC locking mechanism) ?
If so, you may need to bump up your kernel parameters like this example for my 500 user system:
semmni 4096
semmns 4096
semmnu 2048
semume 512
If so, you may need to bump up your kernel parameters like this example for my 500 user system:
semmni 4096
semmns 4096
semmnu 2048
semume 512
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2005 02:22 AM
03-02-2005 02:22 AM
Re: Berkeley DB 4.2.52 on HP-UX 11.11
(Some fiddling later while I rebuild a test rig I can break things on)nflocks is 200. According to Glance, it never gets above 8 in use.As regards semaphores, the numbers are thus:semmni 64semmns 128semmnu 30semume 10... Which are, um, different. Admittedly, it's not a multi-user box, it just has to run postfix, openldap and amavis. I'll tweak them and see what happens.(And the formatting of this has gone dismal. Apologies.)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP