<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: msgbuf file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431252#M3131</link>
    <description>First the perms on the file should be 644, owned by root, group sys.&lt;BR /&gt;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. &lt;BR /&gt;These steps will help you clear the last dmesg error messages and stabilize your system.&lt;BR /&gt;&lt;BR /&gt;Find time to do this!&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
    <pubDate>Tue, 18 Jul 2000 13:02:09 GMT</pubDate>
    <dc:creator>CHRIS_ANORUO</dc:creator>
    <dc:date>2000-07-18T13:02:09Z</dc:date>
    <item>
      <title>msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431246#M3125</link>
      <description>Good Day,&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;Percent Full  Current size  Recommended size&lt;BR /&gt;  400             4100        1024&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;A Cossa&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 04:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431246#M3125</guid>
      <dc:creator>augusto cossa</dc:creator>
      <dc:date>2000-07-18T04:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431247#M3126</link>
      <description>For number of open files try&lt;BR /&gt;&lt;BR /&gt;sar -v 2 9&lt;BR /&gt;&lt;BR /&gt;second last column of the output should be what you're looking for.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Philip</description>
      <pubDate>Tue, 18 Jul 2000 05:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431247#M3126</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2000-07-18T05:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431248#M3127</link>
      <description>You can download and install lsof from the hp software porting site with this link:&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.48/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.48/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you increase MAXUSERS it will increase NFILE and NPROC parameters.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 06:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431248#M3127</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-07-18T06:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431249#M3128</link>
      <description>Augusto,&lt;BR /&gt;&lt;BR /&gt;To add to the above, the msgbuf is generated from dmesg output. Use dmesg to check if there are errors reported in your system.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 06:13:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431249#M3128</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-07-18T06:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431250#M3129</link>
      <description>Hi Chris,&lt;BR /&gt;&lt;BR /&gt;I have chacked the dmesg and the output is as followed:&lt;BR /&gt; strings /sbin/dmesg  &lt;BR /&gt;$Revision: 92453-07 linker linker crt0.o A.10.44 951205 $&lt;BR /&gt;/usr/lib/dld.sl&lt;BR /&gt;ERROR: mmap failed for dld&lt;BR /&gt;@(#) $Revision: 72.1 $&lt;BR /&gt;msgbuf&lt;BR /&gt;/var/adm/msgbuf&lt;BR /&gt;Can't open /var/adm/msgbuf&lt;BR /&gt;/stand/vmunix&lt;BR /&gt;Can't get kernel namelist&lt;BR /&gt;/dev/kmem&lt;BR /&gt;Can't read kernel memory&lt;BR /&gt;&lt;BR /&gt;What have I to do?&lt;BR /&gt;&lt;BR /&gt;Your help will be appreciated,&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;A Cossa</description>
      <pubDate>Tue, 18 Jul 2000 12:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431250#M3129</guid>
      <dc:creator>augusto cossa</dc:creator>
      <dc:date>2000-07-18T12:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431251#M3130</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;have you created a new kernel since last boot and placed it at /stand/vmunix ?&lt;BR /&gt;&lt;BR /&gt;Ruediger &lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 12:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431251#M3130</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2000-07-18T12:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431252#M3131</link>
      <description>First the perms on the file should be 644, owned by root, group sys.&lt;BR /&gt;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. &lt;BR /&gt;These steps will help you clear the last dmesg error messages and stabilize your system.&lt;BR /&gt;&lt;BR /&gt;Find time to do this!&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 13:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431252#M3131</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-07-18T13:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431253#M3132</link>
      <description>Hi Augusto:&lt;BR /&gt;&lt;BR /&gt;What Chris was refering to about running dmes is that you should actually type the command dmesg at the prompt:&lt;BR /&gt;&lt;BR /&gt;#dmesg&lt;BR /&gt;&lt;BR /&gt;you can also check your /var/adm/syslog/syslog.log for any errors that are causing your  msgbuf to grow&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 13:26:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431253#M3132</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-07-18T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431254#M3133</link>
      <description>Add the "-" option on the /usr/sbin/dmesg command in the cron job that appends to your /var/adm/dmesg file.  See man page for dmesg.&lt;BR /&gt;&lt;BR /&gt;The effect of this is to only append messages that it hasn't reported before, rather than the same messages over and over.</description>
      <pubDate>Thu, 20 Jul 2000 19:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431254#M3133</guid>
      <dc:creator>Gail MacDonald</dc:creator>
      <dc:date>2000-07-20T19:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: msgbuf file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431255#M3134</link>
      <description>Check root's crontab entry (crontab -l) and see if you are running dmesg into this file. If so, here are two recommendations:&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;2. Run the cron job every 10 minutes but be absolutely sure tha the command looks like:&lt;BR /&gt;&lt;BR /&gt;10,20,30,40,50 * * * * /usr/sbin/dmesg - &amp;gt;&amp;gt; /var/adm/dmesg.log&lt;BR /&gt;&lt;BR /&gt;Notice the - sign which keeps dmesg output limited to only that which has changed since the last invocation.&lt;BR /&gt;&lt;BR /&gt;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</description>
      <pubDate>Fri, 21 Jul 2000 16:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/msgbuf-file/m-p/2431255#M3134</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-07-21T16:11:26Z</dc:date>
    </item>
  </channel>
</rss>

