- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem editing a 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
06-25-2003 02:26 AM
06-25-2003 02:26 AM
I have a NASTRAN output file which is 210Mb in size, this contains 3505011 lines and 220468195 characters, I am running HP-UX11.00 on an HP C3700 with 4Gb RAM and 5.5Gb of swap.
If I use dtpad in either server or standalone mode I cannot save the file once additions have been made, I get the TT_ERROR_PROCID error.
If I use vi I get the out of memory error and it suggest using ed
If I use ex I get the same error as I got using vi.
I have not tried to use ed as I do not fully understand the use of ed, and the file will be being edited by one of our engineers who would require training even to use vi.
Is there any chance that dtpad has some variable that could be set to handle large files or is there any other X editors that could be used.
Hope some one can help
Kev
"I'd rather be flying"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 02:46 AM
06-25-2003 02:46 AM
Re: Problem editing a file
The vi editor might be choking because of a lack of space in either /tmp or /var/tmp. If your /tmp is only 200MB it might complain.
You could try using the 'split' command to split the large file into several smaller files, edit those files, and then combine them back into one file again.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 02:51 AM
06-25-2003 02:51 AM
Re: Problem editing a file
depending on what shell you are using
look at the man page (sh tcsh bash ...)
for limit or ulimit and adjust your user limits to unlimited
kernel limits ?
maxdsize, check/set with SAM, needs root/reboot
maxdsize is for 32bit apps
maxdsiz_64bit is for 64bit apps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 02:52 AM
06-25-2003 02:52 AM
Re: Problem editing a file
If you really need to edit a such file I think the easiest solution is to use split (see man pages for split) and then concatenate the pices again with cat.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 03:13 AM
06-25-2003 03:13 AM
Re: Problem editing a file
The /tmp area on the machine in question has over 1Gb available.
The current shell is csh, just checked the man page and this does not mention the exact figure for ulimit.
I was trying to avoid the use of split/cat etc as the user is not technical, I was looking for a simplistic way of doing things.
Cheers,
Kev
"I'd rather be flying"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 03:19 AM
06-25-2003 03:19 AM
Solution4. dtpad fails to open large (>~30Mb) files.
As I understand things dtpad now doesn't have an upper limit it's dependant upon swap and physical memory .... if this were a problem I'd expect it would fail with warning "insufficient memory" and as you say you can open the file ... just not save the changes.
Qu if you start dtpad normally (no standAlone) and prior to saving the file you kill the associated dtpad -server process does this make a difference ?
Other than than I'm unsure what could be causing this ..... CDE patch level ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 04:13 AM
06-25-2003 04:13 AM
Re: Problem editing a file
Just tried to do the save after killing the dtpad -server process and I get the following:
Error: Cannot perform realloc
I am now in the process of downloading the patch along with all the dependencies, I will let you know what happens
Kev
"I'd rather be flying"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 05:00 AM
06-25-2003 05:00 AM
Re: Problem editing a file
Thanks for all the responses, tried them all but to no avail.
Just spoken to one of our Engineers who used to use NASTRAN and they used nedit, I have just installed nedit from the portal and this works a treat.
Thanks again for the support.
Kev
"I'd rather be flying"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 05:36 AM
06-25-2003 05:36 AM
Re: Problem editing a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 06:22 AM
06-25-2003 06:22 AM
Re: Problem editing a file
Still saving for PPL course, I will do it one day, may even take a trip statesside to do it as it is cheaper than in the UK
Kev
"I'd rather be flying"