<?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: NOQUEUE space. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920419#M407724</link>
    <description>The wtmp is the file that the 'last' command works from. &lt;BR /&gt;&lt;BR /&gt;Do not delete this file. If you really want to get rid of it null it out 1st.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; wtmp&lt;BR /&gt;&lt;BR /&gt;This will make the file 0 bytes.&lt;BR /&gt;&lt;BR /&gt;If you remove then inodes will still be occupied because it is an open process.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Aug 2005 14:07:22 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2005-08-23T14:07:22Z</dc:date>
    <item>
      <title>NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920411#M407716</link>
      <description>I received the following error on my computer this morning.  What could cause this error?  Also, I checked my system and /var is at 99%.  What is /var used for and what information can I delete from it without crashing my system?&lt;BR /&gt;&lt;BR /&gt;Here is the error I received this morning:&lt;BR /&gt;&lt;BR /&gt;Aug 23 07:32:35 diomede sendmail[1033]: NOQUEUE: low on space (have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the information concerning my /var:&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvol8    2457600 2441994   14973   99% /var&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I cant find anything to delete from /var then I am going to have to increase it’s size.  Do I need to be single user mode to do that?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 12:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920411#M407716</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-08-23T12:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920412#M407717</link>
      <description>If you have OnlineJFS, and available space, then you can do it online.</description>
      <pubDate>Tue, 23 Aug 2005 12:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920412#M407717</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-08-23T12:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920413#M407718</link>
      <description>You have outgoing emails backed up on your system. Look in '/var/spool/mqueue'&lt;BR /&gt;&lt;BR /&gt;Do the 'mailq' command. How many are there? Will also provide some reason as to why the mails are not going out.&lt;BR /&gt;&lt;BR /&gt;Once you get the emails sending out then the mqueue directory will decrease in space used.&lt;BR /&gt;&lt;BR /&gt;If you have OnLineJFS, you can increase /var on the fly.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 12:43:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920413#M407718</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-08-23T12:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920414#M407719</link>
      <description>Checkand clean/trim:&lt;BR /&gt;/var/tmp&lt;BR /&gt;/var/mail&lt;BR /&gt;/var/adm/cron/log&lt;BR /&gt;&lt;BR /&gt;You can also commit superseded patches:&lt;BR /&gt;cleanup -c 1</description>
      <pubDate>Tue, 23 Aug 2005 12:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920414#M407719</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2005-08-23T12:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920415#M407720</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The error came because there was no spcae in /var for sendmail to put the mail queue (I believe is /var/spool/mqueue)&lt;BR /&gt;&lt;BR /&gt;There are different methods to find out what is the spcae consuming files in a FS.  &lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;find . -size +1000000c&lt;BR /&gt;This will show u the files having size more than 1000000 bytes.&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;quot /var will give u which user is holding the maximum FS space&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;du - sk * |sort -n will give the files sizes in sorted order.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;CS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 12:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920415#M407720</guid>
      <dc:creator>saju_2</dc:creator>
      <dc:date>2005-08-23T12:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920416#M407721</link>
      <description>Hi Jeffrey ,&lt;BR /&gt;&lt;BR /&gt;1. check maillog file.&lt;BR /&gt;&lt;BR /&gt;/var/adm/maillog , sometimes its become too large , u can copy it to some other place and do a null to this.&lt;BR /&gt;# &amp;gt; /var/adm/maillog&lt;BR /&gt;&lt;BR /&gt;2. You can check other big files under /var &lt;BR /&gt;# cd /var&lt;BR /&gt;# ls -lR | sort +4 -5nr | more&lt;BR /&gt;&lt;BR /&gt;This will give biggest files.&lt;BR /&gt;&lt;BR /&gt;3. and as per the error "have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue" in syslog , you need some space in /var.&lt;BR /&gt;&lt;BR /&gt;Cheers ,&lt;BR /&gt;&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 12:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920416#M407721</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-23T12:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920417#M407722</link>
      <description>Hi..&lt;BR /&gt;I missed the last part..&lt;BR /&gt;&lt;BR /&gt;If u r using online JFS then u can extend the /var FS even without unmounting it..&lt;BR /&gt;&lt;BR /&gt;swlist -l roduct|grep -i jfs &lt;BR /&gt;With the above command u can find whether u r using online jfs and if so u can do a lvextend and then fsadm -b &lt;NEW size="" in="" mb=""&gt;M mount point&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;CS&lt;/NEW&gt;</description>
      <pubDate>Tue, 23 Aug 2005 12:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920417#M407722</guid>
      <dc:creator>saju_2</dc:creator>
      <dc:date>2005-08-23T12:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920418#M407723</link>
      <description>I checked the mail and there isnt any mail at this time.  What I did find was a very large file and I dont know where it came from.  Do you know if I can delete this file?&lt;BR /&gt;&lt;BR /&gt;/var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;-rw-rw-r--   1 adm        adm        44732820 Aug 23 10:59 wtmp&lt;BR /&gt;root: /var/adm ==&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Tue, 23 Aug 2005 14:01:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920418#M407723</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-08-23T14:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920419#M407724</link>
      <description>The wtmp is the file that the 'last' command works from. &lt;BR /&gt;&lt;BR /&gt;Do not delete this file. If you really want to get rid of it null it out 1st.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; wtmp&lt;BR /&gt;&lt;BR /&gt;This will make the file 0 bytes.&lt;BR /&gt;&lt;BR /&gt;If you remove then inodes will still be occupied because it is an open process.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 14:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920419#M407724</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-08-23T14:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920420#M407725</link>
      <description>Rick, I tried that but was denied because of permissions. &lt;BR /&gt;&lt;BR /&gt;root: /var/adm ==&amp;gt; wtmp&lt;BR /&gt;sh: wtmp: Execute permission denied.&lt;BR /&gt;root: /var/adm ==&amp;gt; &lt;BR /&gt;&lt;BR /&gt;Do I need to change the owner to root before I can reduce its size?  If I can reduce the files size to 0 then that would free up the space I need.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 14:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920420#M407725</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-08-23T14:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920421#M407726</link>
      <description>Looking back through the posts, this does not explain the "Aug 23 07:32:35 diomede sendmail[1033]: NOQUEUE: low on space (have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue)" message you received.&lt;BR /&gt;&lt;BR /&gt;How big is the /var filesystem?&lt;BR /&gt;&lt;BR /&gt;If there are no emails to go out, what is the space on /var now?&lt;BR /&gt;&lt;BR /&gt;Was a file deleted earlier? Could this deleted file have been for an open process so the inodes are not freed up?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 14:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920421#M407726</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-08-23T14:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920422#M407727</link>
      <description>Hi Jeffrey,&lt;BR /&gt;&lt;BR /&gt;/var/adm/wtmp is the  file keeps logs of all last logins.&lt;BR /&gt;&lt;BR /&gt;You can make it null , if you dont need the logs , or else keep a copy elsewhere.&lt;BR /&gt;&lt;BR /&gt;To make it null :&lt;BR /&gt;# cat /dev/null &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;or simply # &amp;gt; wtmp&lt;BR /&gt;&lt;BR /&gt;Cheers ,&lt;BR /&gt;Raj</description>
      <pubDate>Tue, 23 Aug 2005 14:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920422#M407727</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-23T14:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920423#M407728</link>
      <description>The root user should be able to do anything.&lt;BR /&gt;&lt;BR /&gt;What is the return from the 'id' command? Is UID=0?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 14:12:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920423#M407728</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-08-23T14:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920424#M407729</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Wtmp contains informatin about the user logins, who commmand etc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the man page of wtmp it is clear that it should not be deleted.&lt;BR /&gt;&lt;BR /&gt;" Note that wtmp and btmp tend to grow ithout bound, and should be checked regularly.  Information that is no longer useful should be removed periodically to prevent it from becoming too large.  Also note that wtmp and btmp are not created by the programs that maintain them.Thus, if these files are removed, record-keeping is turned off."&lt;BR /&gt;&lt;BR /&gt;Best was is to trim the file by issuing&lt;BR /&gt;&amp;gt;/var/adm/wtmp.  This will make it into zero byte file with keeping the file permissions properly.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;CS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 14:15:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920424#M407729</guid>
      <dc:creator>saju_2</dc:creator>
      <dc:date>2005-08-23T14:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920425#M407730</link>
      <description>Looking closer at your post. Do this command to get rid of the wtmp file. (Do as the root user)&lt;BR /&gt;&lt;BR /&gt;# cd /var/adm&lt;BR /&gt;# &amp;gt; wtmp&lt;BR /&gt;&lt;BR /&gt;This will make the file 0 bytes. Now you can delete the file.&lt;BR /&gt;&lt;BR /&gt;What it appears you were doing is trying to execute the file. This is not an executable file. It is a log file for the 'last' command.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 14:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920425#M407730</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-08-23T14:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920426#M407731</link>
      <description>The best thing to do:&lt;BR /&gt;&lt;BR /&gt;"cleanup -c 2" or "cleanup -c 1"&lt;BR /&gt;&lt;BR /&gt;Will free up lot of space.&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Tue, 23 Aug 2005 14:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920426#M407731</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-08-23T14:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920427#M407732</link>
      <description>You can use the -p option with  cleanup , &lt;BR /&gt;&lt;BR /&gt; -p  option will preview the cleanup task but do not actually perform the requested action.&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Aug 2005 14:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920427#M407732</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-23T14:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920428#M407733</link>
      <description>My thanks to everyone that helped me out with this problem.  I was able to clean up a lot of space from committing superceded patches and from reducing log files.</description>
      <pubDate>Tue, 23 Aug 2005 15:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920428#M407733</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-08-23T15:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920429#M407734</link>
      <description>I needed to clean out some of the patches on my server by committing the superceded patches.  I also reduced the size of several log files.</description>
      <pubDate>Tue, 23 Aug 2005 15:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920429#M407734</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-08-23T15:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: NOQUEUE space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920430#M407735</link>
      <description>/var is *FULL* of files that need to be trimmed on a regular basis. Unless you write a script to run regularly to do this, mail will be the least of your problems. The reason is that /var is the most critical filesystem for virtually all processes on the system. When /var is full, not only email stops (which you've already seen), but logging from a dozen different sources, spooling stops, SAM will probably hang, and most application programs will crash because they can't get any disk space in /var.&lt;BR /&gt; &lt;BR /&gt;To reduce the size of /var/adm/wtmp, you must be root and you can do this:&lt;BR /&gt; &lt;BR /&gt;cat /dev/null &amp;gt; /var/adm/wtmp&lt;BR /&gt; &lt;BR /&gt;NOTE: This file is a list of all login sessions. When you zero the file, you will have no history of logins/logouts. The command: last will show the contents of the special binary file.&lt;BR /&gt; &lt;BR /&gt;Another big file that probably needs trimming: /var/adm/btmp which is a list of failed login attempts. Use the same technique to zero out the file:&lt;BR /&gt; &lt;BR /&gt;cat /dev/null &amp;gt; /var/adm/btmp&lt;BR /&gt; &lt;BR /&gt;And as before, this log is a history, in this case, all failed login attempts are kept here. Both btmp and wtmp must be trimmed regularly.&lt;BR /&gt; &lt;BR /&gt;But wait, there's more! ;-)&lt;BR /&gt; &lt;BR /&gt;/var/adm is full of logfiles. Another logfile location is /var/adm/syslog where you'll find mail.log and syslog.log. The mail.log file can be zeroed out (the cat /dev/null technique above) but syslog should be examined for errors. You may have a bad disk, bada tape, memory problems, processes crashing, etc, etc which are logged in syslog.log. So look at it with vi and make sure everything is OK. Then you can trim the file.&lt;BR /&gt; &lt;BR /&gt;There are numerous other locations to check but I would start by finding the largest directories first:&lt;BR /&gt; &lt;BR /&gt;du -kx /var | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;Then look in those directories for large files using:&lt;BR /&gt; &lt;BR /&gt;ll | sort -rnk5 | head -20&lt;BR /&gt; &lt;BR /&gt;If you don't know about certain files, post questions here in the forums. This is a regular task for all Unix administrators.</description>
      <pubDate>Tue, 23 Aug 2005 15:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/noqueue-space/m-p/4920430#M407735</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-23T15:53:12Z</dc:date>
    </item>
  </channel>
</rss>

