- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring File Locks
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
04-03-2003 05:17 AM
04-03-2003 05:17 AM
Monitoring File Locks
We had a problem with sendmail this morning. The mail.log showed multiple message - 'Failed to lock /var/spool/mqueue (mail header number) with unexpected error. No locks available'.
I have increased nflocks from 200 to 800 and increased nfile from 3000 to 12000, and rebuilt the kernel.
The problem seems to have been caused by us receiving around 2000 junk messages this morning. This caused sendmail to fail and hpux problems. I'm now trying to strengthen the machine against this happening again. So how can I now check file lock usage.
thanks in advance,
Jim Adamson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 05:21 AM
04-03-2003 05:21 AM
Re: Monitoring File Locks
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 05:34 AM
04-03-2003 05:34 AM
Re: Monitoring File Locks
Regards,
RZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 05:37 AM
04-03-2003 05:37 AM
Re: Monitoring File Locks
Any non-Glace methods available?
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 05:38 AM
04-03-2003 05:38 AM
Re: Monitoring File Locks
$echo "print tbl_file_lock_util " >> file
$glance -j 1 -i 1 -adviser_only -syntax test
You can what percent of the file lock table is in use with Kernel Resource Monitoring (KRM) which is available on the Support Plus CD.
"...sysdef..." will report nflock kernel parameters.
sysdef | grep -i nflock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 07:49 AM
04-03-2003 07:49 AM
Re: Monitoring File Locks
# resls -s /system/kernel_resource/file_system/nflocks
Contacting Registrar on hprtdd32
NAME: /system/kernel_resource/file_system/nflocks
DESCRIPTION: Percentage of file lock table consumption.
TYPE: /system/kernel_resource/file_system/nflocks is a Resource Instance
whose values are 64-bit floating point values.
There are no active monitor requests reported for this resource.
The current value of the resource is 2.343750
2) Use Q4, see Doc KBRC00008493
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062909254
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 07:57 AM
04-03-2003 07:57 AM
Re: Monitoring File Locks
just correcting a typo -
$echo "print tbl_file_lock_util " >> file
$glance -j 1 -i 1 -adviser_only -syntax file
your post mentioned this -
$glance -j 1 -i 1 -adviser_only -syntax test
- ramd.
'cosmetic change...'