- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tmp file too large
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
06-05-2005 10:08 PM - last edited on 08-20-2014 06:35 PM by Lisa198503
06-05-2005 10:08 PM - last edited on 08-20-2014 06:35 PM by Lisa198503
Tmp file too large
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
I must extent /tmp ????
thanks
P.S. This thread has been moved from HP-UX Technical Documentation to HP-UX > sysadmin. -HP Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 10:14 PM
06-05-2005 10:14 PM
Re: Tmp file too large
"Maximum File Size
The maximum file length of 234,239 lines is silently enforced."
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.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 10:20 PM
06-05-2005 10:20 PM
Re: Tmp file too large
This happens when the temporary editor file exceeds 268369920 bytes
(255Mbytes)
Either you can extend /tmp fils system or you can split the file to be viewed.
Cheers
eknath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 10:26 PM
06-05-2005 10:26 PM
Re: Tmp file too large
the problem persist.
Thank!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 10:33 PM
06-05-2005 10:33 PM
Re: Tmp file too large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 10:39 PM
06-05-2005 10:39 PM
Re: Tmp file too large
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.
if u must read it, maybe u should ftp the file and use wordpad to open it.
also, u may like to do something about your assignment of points.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 10:46 PM
06-05-2005 10:46 PM
Re: Tmp file too large
alertlog of DB ORACLE.
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 10:50 PM
06-05-2005 10:50 PM
Re: Tmp file too large
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)
You could use more to page through the output, but that will take a while with a 650MByte file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2005 10:59 PM
06-05-2005 10:59 PM
Re: Tmp file too large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 09:37 PM
06-06-2005 09:37 PM
Re: Tmp file too large
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`.
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.
Then there is `vim` (http://hpux.its.tudelft.nl/hppd/hpux/Editors/vim-6.3/ ) that's a vi-implementation with many more options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 10:08 PM
06-06-2005 10:08 PM
Re: Tmp file too large
# wc -l alert.log
10000
# ed alert.log <
w
q
EOF
# wc -l alert.log
9000
eg above the alert log is 10000 lines long. The "ed" script will delete the 1st 1000 lines and save the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 10:11 PM
06-06-2005 10:11 PM
Re: Tmp file too large
The following size limitations apply: 256 characters per global command list, 64 characters per file name, and 32 MB characters in the buffer.
32MB file size limit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 10:18 PM
06-06-2005 10:18 PM
Re: Tmp file too large
cp alert.log alert.log.tmp
awk 'NR>1000' alert.log.tmp > alert.log
rm alert.log.tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 11:52 PM
06-06-2005 11:52 PM
Re: Tmp file too large
Then remove the original name and mv the new_name to original name.
If you want view before you trim use split.
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.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 12:42 AM
06-07-2005 12:42 AM
Re: Tmp file too large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 04:24 AM
06-07-2005 04:24 AM
Re: Tmp file too large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 03:07 PM
06-08-2005 03:07 PM
Re: Tmp file too large
The way I liked best of doing this was by using this
command: "split -b 20m target"