- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba locking database errors
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
12-09-2003 04:12 AM
12-09-2003 04:12 AM
I have checked our smb.conf file with the testparm utility and this looks ok, and checked the parameters (including the defaults) against the smb.conf man page at samba.org in an attempt to identify any bad config. I have also verified the obvious - that the lock directory exists and the permissions are correct (if they didn't I guess it would fall over straight away).
I have attached a dump of our global definitions for inspection.
Has anybody any ideas what may be causing this ? I have checked the Samba web pages without success.
Is there a bad locking option here - or some other samba / kernel threshold we are hitting ?
If I can't resolve this the filestore is going to NT !
Any help very gratefully recieved.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 04:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 04:21 AM
12-09-2003 04:21 AM
Re: Samba locking database errors
Parameter: nflocks
Current: 200
Planned: 200
Default: 200
Hmmm - not too high. I guess if there are other file locks on the system in addition to those instigated by Samba this will come to a grinding halt pretty quickly ? ?
Is there a way to check the current number of system wide file locks ?
I must admit I trusted that the kernel had been tuned to at least match the system we are decommissioning.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 04:26 AM
12-09-2003 04:26 AM
Re: Samba locking database errors
Increase it to 15000. I think this dynamic parameter, so you wont require a reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2003 05:54 AM
12-09-2003 05:54 AM
Re: Samba locking database errors
keepalive (G)
The value of the parameter (an integer) represents the number of seconds between keepalive packets. If this parameter is zero, no keepalive packets will be sent. Keepalive packets, if sent, allow the server to tell whether a client is still present and responding.
Keepalives should, in general, not be needed if the socket being used has the SO_KEEPALIVE attribute set on it (see socket options). Basically you should only use this option if you strike difficulties.
As others have said, I would increase nflocks....mine is at 1200 - but I also run Oracle....
Also, did you compile Samba yourself or did you use the HP Depot?
I'm using 2.28a without any issues at all.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2003 03:06 AM
12-10-2003 03:06 AM
Re: Samba locking database errors
I am 95% confident the problem is down to nflocks. We are running an Oracle DB on this system too, believe it or not !
I'm just waiting for an outage to change the parameter.
It is not dynamically configurable according to the output from kmtune.
Thanks again.