- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Porting from HP-UX PA-RISC (LP64) to IA 64
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
Discussions
Discussions
Forums
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
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
тАО08-18-2008 02:36 PM
тАО08-18-2008 02:36 PM
Solution> Also, the "df -k ." command
errno 12 is ENOMEM, and is related to
(something like) virtual memory, not disk
space.
"man system":
[...]
ERRORS
If errors are encountered, system() sets errno values as described by
fork(2).
[...]
"man fork":
[...]
[ENOMEM] There is insufficient swap space and/or physical
memory available in which to create the new
process.
[...]
So, is the system (or just this process)
running out of memory (swap space)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2008 04:34 PM
тАО08-18-2008 04:34 PM
Re: Porting from HP-UX PA-RISC (LP64) to IA 64
You haven't followed the quoting rules for C and for the shell. This is the correct form:
"tr -d '\\012' < %s > %s"
You toss the double quotes, so you don't have to quote them. And so you don't need 4 \. Then you need an extra \ so C compiler doesn't replace it by a newline.
- Tags:
- quoting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 07:34 AM
тАО08-19-2008 07:34 AM
Re: Porting from HP-UX PA-RISC (LP64) to IA 64
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 3485 611 85% 0 - 1 /dev/vg00/lvol2
reserve - 597 -597
memory 18425 14554 3871 79%
total 22521 18636 3885 83% - 0 -
My development machine where "tr" always works has the following "swapinfo -tam" stats:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvol11
dev 8192 0 8192 0% 0 - 1 /dev/vg01/lvol12
dev 16384 0 16384 0% 0 - 2 /dev/vg01/lvol17
reserve - 22044 -22044
memory 28019 6768 21251 24%
total 60787 28812 31975 47% - 0 -
I dont know how to read the swapinfo output.
Regards,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 09:17 AM
тАО08-19-2008 09:17 AM
Re: Porting from HP-UX PA-RISC (LP64) to IA 64
You need to add more physical memory and/or more swap space on the machine where your 'tr' is failing. An ENOMEM condition or a "can't fork' points to insufficient swap space and/or insufficient data space as bounded by the kernel 'maxdsiz' parameters (32 and 64-bit fences). Your swap and memory utilization are quite high.
As an immediate aid, I would add a generous secondary device swap of 4-8 GB.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 01:41 PM
тАО08-19-2008 01:41 PM
Re: Porting from HP-UX PA-RISC (LP64) to IA 64
I asked my Unix admin guys to add additional swap space of 10 GB. Now the "tr" command is working fine.
Thank's everybody for helping me out on this problem.
Regards,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2008 01:43 PM
тАО08-19-2008 01:43 PM
Re: Porting from HP-UX PA-RISC (LP64) to IA 64
- « Previous
-
- 1
- 2
- Next »