- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: msgbuf file
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
07-17-2000 09:28 PM
07-17-2000 09:28 PM
msgbuf file
I'm facing a problem concerning /var/adm/msgbuf file. Everyday I trim this file to 10% but in a caple of seconds becomes the same size. The soze that have now is:
Percent Full Current size Recommended size
400 4100 1024
Other thing is, how can I see the number of files opened by all proccess and if I increase the nfile it's needed to increase the nproc?
Thanks,
A Cossa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2000 10:27 PM
07-17-2000 10:27 PM
Re: msgbuf file
sar -v 2 9
second last column of the output should be what you're looking for.
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2000 11:06 PM
07-17-2000 11:06 PM
Re: msgbuf file
If you increase MAXUSERS it will increase NFILE and NPROC parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2000 11:13 PM
07-17-2000 11:13 PM
Re: msgbuf file
To add to the above, the msgbuf is generated from dmesg output. Use dmesg to check if there are errors reported in your system.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 05:33 AM
07-18-2000 05:33 AM
Re: msgbuf file
I have chacked the dmesg and the output is as followed:
strings /sbin/dmesg
$Revision: 92453-07 linker linker crt0.o A.10.44 951205 $
/usr/lib/dld.sl
ERROR: mmap failed for dld
@(#) $Revision: 72.1 $
msgbuf
/var/adm/msgbuf
Can't open /var/adm/msgbuf
/stand/vmunix
Can't get kernel namelist
/dev/kmem
Can't read kernel memory
What have I to do?
Your help will be appreciated,
Thanks
A Cossa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 05:55 AM
07-18-2000 05:55 AM
Re: msgbuf file
have you created a new kernel since last boot and placed it at /stand/vmunix ?
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 06:02 AM
07-18-2000 06:02 AM
Re: msgbuf file
Then retune the kernel by increasing MAXUSERS by 50. This is just too increase NFILE and NPROC for you as per 1st questn. Relink the kernel and system will be rebooted.
These steps will help you clear the last dmesg error messages and stabilize your system.
Find time to do this!
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 06:26 AM
07-18-2000 06:26 AM
Re: msgbuf file
What Chris was refering to about running dmes is that you should actually type the command dmesg at the prompt:
#dmesg
you can also check your /var/adm/syslog/syslog.log for any errors that are causing your msgbuf to grow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 12:05 PM
07-20-2000 12:05 PM
Re: msgbuf file
The effect of this is to only append messages that it hasn't reported before, rather than the same messages over and over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 09:11 AM
07-21-2000 09:11 AM
Re: msgbuf file
1. Change the name of the file to dmesg.log so it makes sense. msgbuf or messages simply doesn't tell you how the log file is being created.
2. Run the cron job every 10 minutes but be absolutely sure tha the command looks like:
10,20,30,40,50 * * * * /usr/sbin/dmesg - >> /var/adm/dmesg.log
Notice the - sign which keeps dmesg output limited to only that which has changed since the last invocation.
And of course, look at the end of the log file to see if there is an important series of messages like: / filesystem is full
Bill Hassell, sysadmin