- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- msqtql tracking the size of the queue in this kern...
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
05-10-2004 06:23 PM
05-10-2004 06:23 PM
1. See how full this queue is to see if it needs bumped up in the kernel settings.
2. Flush the queue when a program does bad cleanup.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 06:51 PM
05-10-2004 06:51 PM
Re: msqtql tracking the size of the queue in this kernel variable and clearing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 02:32 AM
05-11-2004 02:32 AM
Re: msqtql tracking the size of the queue in this kernel variable and clearing it.
I am attempting to answer your question here.
Are you discussing about msgtql here, which is a kernel parameter/tunable?
You can use the "Kernel Configuration" area in SAM to configure this kernel tunable.
You can also use the HP-UX Kernel Configuration tool (kcweb) that is available from SAM to view the current and next boot values. You can use the same on HP-UX 11i v2 system. kcweb is a Web-based kernel configuration tool. You can also set alarms for this tunable. In case, this tunable crosses the max. threshold value, a notification will be sent via console, email, opcmsg and other notification mechanisms.
HTH.
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 07:56 AM
05-11-2004 07:56 AM
Re: msqtql tracking the size of the queue in this kernel variable and clearing it.
My first problem is that I would like to see with a tool that shows how much of the value is actually being utilized on the system.
My second problem is that I am looking for a tool that would clear out this queue if the app is being messy so I do not have to reboot the system and having the issue resurface multiple outages. I would imagine there is some C fuction that could be used in a short program to do this, but I do not know for sure. None the less it would be handy in my situation.
Thanks for your reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 07:57 AM
05-11-2004 07:57 AM
Re: msqtql tracking the size of the queue in this kernel variable and clearing it.
My first problem is that I would like to see with a tool that shows how much of the value is actually being utilized on the system. I do know what the current kernel settings are and how to change them.
My second problem is that I am looking for a tool that would clear out this queue if the app is being messy so I do not have to reboot the system and having the issue resurface multiple outages. I would imagine there is some C fuction that could be used in a short program to do this, but I do not know for sure. None the less it would be handy in my situation.
Thanks for your reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2004 08:27 AM
05-11-2004 08:27 AM
SolutionYou can clear out a given message queue rather easily. Use ipcs -qa to get the desired message queue id (as well as other data) and then use ipcrm -q msgid to remove the queue.
You really need to ask your developers what errno is set to after a msgsnd() call fails and what arguments they were using. You also need to ask them what sort of signal handlers they have in place to clean up the message queues when the last process that uses them terminates. They also just might be right that you do need to bump up this limit.