<?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: Tmp file too large in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558280#M487545</link>
    <description>You can split in file in manageable chunks by using the split command.</description>
    <pubDate>Mon, 06 Jun 2005 05:59:25 GMT</pubDate>
    <dc:creator>Vibhor Kumar Agarwal</dc:creator>
    <dc:date>2005-06-06T05:59:25Z</dc:date>
    <item>
      <title>Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558272#M487537</link>
      <description>&lt;P&gt;I've got a problem vi. I get an error of "Tmp file too large" and I just can't seem to get around it. The file is around 650 meg in size. File System /tmp 450 meg&lt;BR /&gt;I must extent /tmp ????&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;P.S. This thread has been moved from HP-UX Technical Documentation to HP-UX &amp;gt; sysadmin. -HP Forum Moderator&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2014 01:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558272#M487537</guid>
      <dc:creator>luigi coco</dc:creator>
      <dc:date>2014-08-21T01:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558273#M487538</link>
      <description>According to the man page for vi, the max file size is:&lt;BR /&gt;&lt;BR /&gt;"Maximum File Size&lt;BR /&gt;The maximum file length of 234,239 lines is silently enforced."&lt;BR /&gt;&lt;BR /&gt;But it says it would be "silently enforced", so I don't think you've run into that limitation.  Increasing /tmp seems like a reasonable next step.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 05:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558273#M487538</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-06-06T05:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558274#M487539</link>
      <description>Hi luigi&lt;BR /&gt;&lt;BR /&gt;This happens when the temporary editor file exceeds 268369920 bytes&lt;BR /&gt;(255Mbytes)&lt;BR /&gt;&lt;BR /&gt;Either you can extend /tmp fils system or you can split the file to be viewed.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;eknath&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 05:20:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558274#M487539</guid>
      <dc:creator>Eknath</dc:creator>
      <dc:date>2005-06-06T05:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558275#M487540</link>
      <description>I resize File System /tmp  800 Mb,&lt;BR /&gt;the problem persist.&lt;BR /&gt;&lt;BR /&gt;Thank!!</description>
      <pubDate>Mon, 06 Jun 2005 05:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558275#M487540</guid>
      <dc:creator>luigi coco</dc:creator>
      <dc:date>2005-06-06T05:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558276#M487541</link>
      <description>Does rather beg the question as to WHY you'd want to vi a 650 MByte file?</description>
      <pubDate>Mon, 06 Jun 2005 05:33:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558276#M487541</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-06-06T05:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558277#M487542</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;do u really need to read that file? if not u may like to remove the file cause extending /tmp unnecessary may only create future problem.&lt;BR /&gt;&lt;BR /&gt;if u must read it, maybe u should ftp the file and use wordpad to open it.&lt;BR /&gt;&lt;BR /&gt;also, u may like to do something about your assignment of points.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 05:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558277#M487542</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-06-06T05:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558278#M487543</link>
      <description>I want decreasing the dimension of the file &lt;BR /&gt;alertlog of DB ORACLE.&lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 05:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558278#M487543</guid>
      <dc:creator>luigi coco</dc:creator>
      <dc:date>2005-06-06T05:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558279#M487544</link>
      <description>Is there anything in particular in the file that you are looking for, or just a general 'is there anything wrong' scan?&lt;BR /&gt;&lt;BR /&gt;You can grep for lines of interest (if you know what you are looking for) or you can grep out lines of no interest (repeated, boring messages)&lt;BR /&gt;&lt;BR /&gt;You could use more to page through the output, but that will take a while with a 650MByte file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 05:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558279#M487544</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-06-06T05:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558280#M487545</link>
      <description>You can split in file in manageable chunks by using the split command.</description>
      <pubDate>Mon, 06 Jun 2005 05:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558280#M487545</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-06-06T05:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558281#M487546</link>
      <description>You can also have VI put its tmp file somewhere else: set ${TMP} (or was it ${TEMP}) to a directory with suficient space.&lt;BR /&gt;&lt;BR /&gt;An (old, O'Reilly) book about vi tells me the option "directory" (or short: "dir") in ~/.exrc defines the storage for temporary documents. You can set this in a running vi using `: set directory /path/to/tmpdir`.&lt;BR /&gt;&lt;BR /&gt;btw, it is also possible that VI uses the current directory (or the directory of the file) for temporary space, I could not find details in the HP-UX vi manpage.&lt;BR /&gt;&lt;BR /&gt;Then there is `vim` (&lt;A href="http://hpux.its.tudelft.nl/hppd/hpux/Editors/vim-6.3/" target="_blank"&gt;http://hpux.its.tudelft.nl/hppd/hpux/Editors/vim-6.3/&lt;/A&gt; ) that's a vi-implementation with many more options.</description>
      <pubDate>Tue, 07 Jun 2005 04:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558281#M487546</guid>
      <dc:creator>C. Beerse_1</dc:creator>
      <dc:date>2005-06-07T04:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558282#M487547</link>
      <description>If you want to shrink the alert log, then use ed: -&lt;BR /&gt;&lt;BR /&gt;# wc -l alert.log&lt;BR /&gt;10000&lt;BR /&gt;# ed alert.log &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;1,1000d&lt;BR /&gt;w&lt;BR /&gt;q&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;# wc -l alert.log&lt;BR /&gt;9000&lt;BR /&gt;&lt;BR /&gt;eg above the alert log is 10000 lines long.  The "ed" script will delete the 1st 1000 lines and save the file.</description>
      <pubDate>Tue, 07 Jun 2005 05:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558282#M487547</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-06-07T05:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558283#M487548</link>
      <description>Sorry just noticed, ed will not work.  From the man page: -&lt;BR /&gt;&lt;BR /&gt;The following size limitations apply: 256 characters per global command list, 64 characters per file name, and 32 MB characters in the buffer.&lt;BR /&gt;&lt;BR /&gt;32MB file size limit.</description>
      <pubDate>Tue, 07 Jun 2005 05:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558283#M487548</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-06-07T05:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558284#M487549</link>
      <description>Try this, to delete the 1st 1000 lines: -&lt;BR /&gt;&lt;BR /&gt;cp alert.log alert.log.tmp&lt;BR /&gt;awk 'NR&amp;gt;1000' alert.log.tmp &amp;gt; alert.log&lt;BR /&gt;rm alert.log.tmp</description>
      <pubDate>Tue, 07 Jun 2005 05:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558284#M487549</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-06-07T05:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558285#M487550</link>
      <description>Do a "tail -xxxx  &lt;FILENAME&gt; &amp;gt; new_name"&lt;BR /&gt;Then remove the original name and mv the new_name to original name.&lt;BR /&gt;&lt;BR /&gt;If you want view before you trim use split.&lt;BR /&gt;&lt;BR /&gt;I think you can also do the same in SAM. open routine tasks and logs files. Add your file to list with recommended size. Then you should be able to trim from sam.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;TT&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 07 Jun 2005 06:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558285#M487550</guid>
      <dc:creator>Thayanidhi</dc:creator>
      <dc:date>2005-06-07T06:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558286#M487551</link>
      <description>The problem with tail is it's limited to how many lines it can process, a few thousand if I recall.</description>
      <pubDate>Tue, 07 Jun 2005 07:42:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558286#M487551</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-06-07T07:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558287#M487552</link>
      <description>tail uses a 20k buffer, anything over that and you are out of luck.</description>
      <pubDate>Tue, 07 Jun 2005 11:24:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558287#M487552</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-06-07T11:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tmp file too large</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558288#M487553</link>
      <description>If you really need to vi the file, here is a good way to do it&lt;BR /&gt;The way I liked best of doing this was by using this &lt;BR /&gt;command: "split -b 20m target"&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jun 2005 22:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-file-too-large/m-p/3558288#M487553</guid>
      <dc:creator>Devesh Pant_1</dc:creator>
      <dc:date>2005-06-08T22:07:05Z</dc:date>
    </item>
  </channel>
</rss>

